python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4302 -v ' -s datou_current_4302 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] Namespace(auto=False, cert_args='/home/fotonower/https/cert.pem', contextDataFile='', custom_size=0, database='', datou_id='4302', datou_id_excluded='', fifo=False, host='', is_cpu_mode=False, job='batch_current', json_args='', key_args='/home/fotonower/https/vision.fotonower.com.key', limit=1000, list_photo_ids='', local='', mtr_current_id=0, mtr_portfolio_ids='', nb_thread=1, no_current=False, offset=0, only_client=False, output_file='', password='', port=5100, rand=0, save=2, use_client=False, user_id=440, username='', verbose=True) process id : 4185286 load datou : 4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type seems boolean for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current 4302 [] TODO datou_current to load to do maybe to take outside batchDatouExec SELECT * from MTRPhoto.mtr_datou_current where state = 0 AND mtr_portfolio_id is not NULL AND mtd_id = 4302 order by created_at desc LIMIT 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2862949) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2862949) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22920719 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2862949'] with mtr_portfolio_ids : ['22920719'] and first list_photo_ids : [] new path : /proc/4185286/ Name: python3 Umask: 0002 State: R (running) Tgid: 4185286 Ngid: 0 Pid: 4185286 PPid: 4185285 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 4185286 NSpid: 4185286 NSpgid: 4182615 NSsid: 4182615 VmPeak: 1107228 kB VmSize: 1107228 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98696 kB VmRSS: 98696 kB RssAnon: 60196 kB RssFile: 38500 kB RssShmem: 0 kB VmData: 865976 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 596 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 59 nonvoluntary_ctxt_switches: 224 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '4185286', 'Ngid': '0', 'Pid': '4185286', 'PPid': '4185285', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '4185286', 'NSpid': '4185286', 'NSpgid': '4182615', 'NSsid': '4182615', 'VmPeak': '1107228 kB', 'VmSize': '1107228 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98696 kB', 'VmRSS': '98696 kB', 'RssAnon': '60196 kB', 'RssFile': '38500 kB', 'RssShmem': '0 kB', 'VmData': '865976 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '596 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '59', 'nonvoluntary_ctxt_switches': '224'} ('datou_batch_current', '4185286', '1107228', '0', '1107228', '865976', '98696', b'', 'marlene', '2862949') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (22920719) and hide_status = 0 ) AND ph.photo_id not in (SELECT mtr_photo_id from MTRPhoto.mtr_datou_result_search where mtr_current_id in (2862949 ) ) ORDER BY ph.photo_id DESC LIMIT 0, 200 We have 1 , {} SELECT mtr_photo_id, mtr_portfolio_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (22920719) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1357849841, 'portfolio_id': 22920719}, {'photo_id': 1357849775, 'portfolio_id': 22920719}, {'photo_id': 1357849766, 'portfolio_id': 22920719}, {'photo_id': 1357849758, 'portfolio_id': 22920719}, {'photo_id': 1357849750, 'portfolio_id': 22920719}, {'photo_id': 1357849742, 'portfolio_id': 22920719}, {'photo_id': 1357849735, 'portfolio_id': 22920719}, {'photo_id': 1357849689, 'portfolio_id': 22920719}, {'photo_id': 1357849688, 'portfolio_id': 22920719}, {'photo_id': 1357849684, 'portfolio_id': 22920719}, {'photo_id': 1357849682, 'portfolio_id': 22920719}, {'photo_id': 1357849603, 'portfolio_id': 22920719}, {'photo_id': 1357849568, 'portfolio_id': 22920719}, {'photo_id': 1357849564, 'portfolio_id': 22920719}, {'photo_id': 1357849560, 'portfolio_id': 22920719}, {'photo_id': 1357849525, 'portfolio_id': 22920719}, {'photo_id': 1357849521, 'portfolio_id': 22920719}, {'photo_id': 1357849518, 'portfolio_id': 22920719}, {'photo_id': 1357849444, 'portfolio_id': 22920719}, {'photo_id': 1357849431, 'portfolio_id': 22920719}, {'photo_id': 1357849407, 'portfolio_id': 22920719}, {'photo_id': 1357849384, 'portfolio_id': 22920719}, {'photo_id': 1357849375, 'portfolio_id': 22920719}, {'photo_id': 1357849359, 'portfolio_id': 22920719}, {'photo_id': 1357849105, 'portfolio_id': 22920719}, {'photo_id': 1357849092, 'portfolio_id': 22920719}, {'photo_id': 1357849073, 'portfolio_id': 22920719}, {'photo_id': 1357849016, 'portfolio_id': 22920719}, {'photo_id': 1357848594, 'portfolio_id': 22920719}, {'photo_id': 1357848552, 'portfolio_id': 22920719}, {'photo_id': 1357848472, 'portfolio_id': 22920719}, {'photo_id': 1357848003, 'portfolio_id': 22920719}, {'photo_id': 1357847985, 'portfolio_id': 22920719}, {'photo_id': 1357847981, 'portfolio_id': 22920719}, {'photo_id': 1357847921, 'portfolio_id': 22920719}, {'photo_id': 1357847893, 'portfolio_id': 22920719}, {'photo_id': 1357847867, 'portfolio_id': 22920719}, {'photo_id': 1357847834, 'portfolio_id': 22920719}, {'photo_id': 1357847805, 'portfolio_id': 22920719}, {'photo_id': 1357847776, 'portfolio_id': 22920719}, {'photo_id': 1357847436, 'portfolio_id': 22920719}, {'photo_id': 1357847432, 'portfolio_id': 22920719}, {'photo_id': 1357847425, 'portfolio_id': 22920719}] map_portfolio_id_photo_id: {22920719: [1357849841, 1357849775, 1357849766, 1357849758, 1357849750, 1357849742, 1357849735, 1357849689, 1357849688, 1357849684, 1357849682, 1357849603, 1357849568, 1357849564, 1357849560, 1357849525, 1357849521, 1357849518, 1357849444, 1357849431, 1357849407, 1357849384, 1357849375, 1357849359, 1357849105, 1357849092, 1357849073, 1357849016, 1357848594, 1357848552, 1357848472, 1357848003, 1357847985, 1357847981, 1357847921, 1357847893, 1357847867, 1357847834, 1357847805, 1357847776, 1357847436, 1357847432, 1357847425]} ##### Call download_photos : nb_thread : 1 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos ##### After load_data_input time to download the photos : 0.04155254364013672 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu May 15 16:31:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22920719) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} beginning of datou step ventilate_hashtags_in_portfolio : To implement ! To do loadFromThcl(), then load ParamDescType : thcl2725 get_desc_type_from_thcl : type of cat SELECT id, mtr_user_id, name, pb_hashtag_id, hashtag_id_list, button_legend_list, portfolio_id_lists, photo_hashtag_type, photo_desc_type, svm_limit, limit_tagging, is_public, live, created_at, updated_at, type_classification FROM MTRDatou.classification_theme WHERE `id` IN (2725) thcls : [{'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5186 remove imagettes from duplicated photo Iterating over portfolio : 22920719 get user id for portfolio 22920719 get sub ptf for main ptf 22920719, type 3726 and hashtags ['metal', 'Teint_Dans_La_Masse', 'mal_croppe', 'Carton_brun', 'autre_refus', 'kraft', 'environnement', 'Carton_gris', 'cartonnette', 'flou', 'papier', 'plastique'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22920719 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Teint_Dans_La_Masse','mal_croppe','Carton_brun','autre_refus','kraft','environnement','Carton_gris','cartonnette','flou','papier','plastique')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22920719 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Teint_Dans_La_Masse','mal_croppe','Carton_brun','autre_refus','kraft','environnement','Carton_gris','cartonnette','flou','papier','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 22920719, 'sub_port_id': 22920738, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298937, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 58)}, 'mal_croppe': {'main_port_id': 22920719, 'sub_port_id': 22920739, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298938, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 58)}, 'Carton_gris': {'main_port_id': 22920719, 'sub_port_id': 22920740, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298939, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 58)}, 'Carton_brun': {'main_port_id': 22920719, 'sub_port_id': 22920741, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298940, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 58)}, 'cartonnette': {'main_port_id': 22920719, 'sub_port_id': 22920742, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298941, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 22920719, 'sub_port_id': 22920743, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298942, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 58)}, 'kraft': {'main_port_id': 22920719, 'sub_port_id': 22920744, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298943, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 58)}, 'environnement': {'main_port_id': 22920719, 'sub_port_id': 22920745, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298944, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 58)}, 'metal': {'main_port_id': 22920719, 'sub_port_id': 22920746, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298945, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 58)}, 'papier': {'main_port_id': 22920719, 'sub_port_id': 22920747, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298946, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 58)}, 'flou': {'main_port_id': 22920719, 'sub_port_id': 22920748, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298947, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 58)}, 'autre_refus': {'main_port_id': 22920719, 'sub_port_id': 22920749, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298948, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22920738 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=22920719 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='plastique' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920738) result : ((1358187897,), (1358187898,), (1358187899,), (1358187901,), (1358187902,), (1358187903,), (1358258853,), (1358258854,), (1358258855,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920719) result : ((1357847425,), (1357847432,), (1357847436,), (1357847776,), (1357847805,), (1357847834,), (1357847867,), (1357847893,), (1357847921,), (1357847981,), (1357847985,), (1357848003,), (1357848472,), (1357848552,), (1357848594,), (1357849016,), (1357849073,), (1357849092,), (1357849105,), (1357849359,), (1357849375,), (1357849384,), (1357849407,), (1357849431,), (1357849444,), (1357849518,), (1357849521,), (1357849525,), (1357849560,), (1357849564,), (1357849568,), (1357849603,), (1357849682,), (1357849684,), (1357849688,), (1357849689,), (1357849735,), (1357849742,), (1357849750,), (1357849758,), (1357849766,), (1357849775,), (1357849841,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22920739 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=22920719 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='mal_croppe' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920739) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920719) result : ((1357847425,), (1357847432,), (1357847436,), (1357847776,), (1357847805,), (1357847834,), (1357847867,), (1357847893,), (1357847921,), (1357847981,), (1357847985,), (1357848003,), (1357848472,), (1357848552,), (1357848594,), (1357849016,), (1357849073,), (1357849092,), (1357849105,), (1357849359,), (1357849375,), (1357849384,), (1357849407,), (1357849431,), (1357849444,), (1357849518,), (1357849521,), (1357849525,), (1357849560,), (1357849564,), (1357849568,), (1357849603,), (1357849682,), (1357849684,), (1357849688,), (1357849689,), (1357849735,), (1357849742,), (1357849750,), (1357849758,), (1357849766,), (1357849775,), (1357849841,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22920740 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=22920719 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Carton_gris' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920740) result : ((1358187797,), (1358258836,), (1358258837,), (1358258838,), (1358258839,), (1358258840,), (1358258841,), (1358338117,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920719) result : ((1357847425,), (1357847432,), (1357847436,), (1357847776,), (1357847805,), (1357847834,), (1357847867,), (1357847893,), (1357847921,), (1357847981,), (1357847985,), (1357848003,), (1357848472,), (1357848552,), (1357848594,), (1357849016,), (1357849073,), (1357849092,), (1357849105,), (1357849359,), (1357849375,), (1357849384,), (1357849407,), (1357849431,), (1357849444,), (1357849518,), (1357849521,), (1357849525,), (1357849560,), (1357849564,), (1357849568,), (1357849603,), (1357849682,), (1357849684,), (1357849688,), (1357849689,), (1357849735,), (1357849742,), (1357849750,), (1357849758,), (1357849766,), (1357849775,), (1357849841,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22920741 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=22920719 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Carton_brun' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920741) result : ((1358187854,), (1358187856,), (1358187857,), (1358187859,), (1358187861,), (1358187862,), (1358187865,), (1358258847,), (1358258848,), (1358258849,), (1358258850,), (1358258851,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920719) result : ((1357847425,), (1357847432,), (1357847436,), (1357847776,), (1357847805,), (1357847834,), (1357847867,), (1357847893,), (1357847921,), (1357847981,), (1357847985,), (1357848003,), (1357848472,), (1357848552,), (1357848594,), (1357849016,), (1357849073,), (1357849092,), (1357849105,), (1357849359,), (1357849375,), (1357849384,), (1357849407,), (1357849431,), (1357849444,), (1357849518,), (1357849521,), (1357849525,), (1357849560,), (1357849564,), (1357849568,), (1357849603,), (1357849682,), (1357849684,), (1357849688,), (1357849689,), (1357849735,), (1357849742,), (1357849750,), (1357849758,), (1357849766,), (1357849775,), (1357849841,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22920742 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=22920719 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='cartonnette' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920742) result : ((1358187820,), (1358187822,), (1358187824,), (1358258844,), (1358258845,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920719) result : ((1357847425,), (1357847432,), (1357847436,), (1357847776,), (1357847805,), (1357847834,), (1357847867,), (1357847893,), (1357847921,), (1357847981,), (1357847985,), (1357848003,), (1357848472,), (1357848552,), (1357848594,), (1357849016,), (1357849073,), (1357849092,), (1357849105,), (1357849359,), (1357849375,), (1357849384,), (1357849407,), (1357849431,), (1357849444,), (1357849518,), (1357849521,), (1357849525,), (1357849560,), (1357849564,), (1357849568,), (1357849603,), (1357849682,), (1357849684,), (1357849688,), (1357849689,), (1357849735,), (1357849742,), (1357849750,), (1357849758,), (1357849766,), (1357849775,), (1357849841,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22920743 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=22920719 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Teint_Dans_La_Masse' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920743) result : ((1358187756,), (1358187758,), (1358187759,), (1358187762,), (1358187764,), (1358187765,), (1358187767,), (1358258826,), (1358258827,), (1358258828,), (1358258829,), (1358258830,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920719) result : ((1357847425,), (1357847432,), (1357847436,), (1357847776,), (1357847805,), (1357847834,), (1357847867,), (1357847893,), (1357847921,), (1357847981,), (1357847985,), (1357848003,), (1357848472,), (1357848552,), (1357848594,), (1357849016,), (1357849073,), (1357849092,), (1357849105,), (1357849359,), (1357849375,), (1357849384,), (1357849407,), (1357849431,), (1357849444,), (1357849518,), (1357849521,), (1357849525,), (1357849560,), (1357849564,), (1357849568,), (1357849603,), (1357849682,), (1357849684,), (1357849688,), (1357849689,), (1357849735,), (1357849742,), (1357849750,), (1357849758,), (1357849766,), (1357849775,), (1357849841,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22920744 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=22920719 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='kraft' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920744) result : ((1358187913,), (1358187915,), (1358258857,), (1358258858,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920719) result : ((1357847425,), (1357847432,), (1357847436,), (1357847776,), (1357847805,), (1357847834,), (1357847867,), (1357847893,), (1357847921,), (1357847981,), (1357847985,), (1357848003,), (1357848472,), (1357848552,), (1357848594,), (1357849016,), (1357849073,), (1357849092,), (1357849105,), (1357849359,), (1357849375,), (1357849384,), (1357849407,), (1357849431,), (1357849444,), (1357849518,), (1357849521,), (1357849525,), (1357849560,), (1357849564,), (1357849568,), (1357849603,), (1357849682,), (1357849684,), (1357849688,), (1357849689,), (1357849735,), (1357849742,), (1357849750,), (1357849758,), (1357849766,), (1357849775,), (1357849841,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22920745 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=22920719 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='environnement' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920745) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920719) result : ((1357847425,), (1357847432,), (1357847436,), (1357847776,), (1357847805,), (1357847834,), (1357847867,), (1357847893,), (1357847921,), (1357847981,), (1357847985,), (1357848003,), (1357848472,), (1357848552,), (1357848594,), (1357849016,), (1357849073,), (1357849092,), (1357849105,), (1357849359,), (1357849375,), (1357849384,), (1357849407,), (1357849431,), (1357849444,), (1357849518,), (1357849521,), (1357849525,), (1357849560,), (1357849564,), (1357849568,), (1357849603,), (1357849682,), (1357849684,), (1357849688,), (1357849689,), (1357849735,), (1357849742,), (1357849750,), (1357849758,), (1357849766,), (1357849775,), (1357849841,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22920746 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=22920719 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='metal' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920746) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920719) result : ((1357847425,), (1357847432,), (1357847436,), (1357847776,), (1357847805,), (1357847834,), (1357847867,), (1357847893,), (1357847921,), (1357847981,), (1357847985,), (1357848003,), (1357848472,), (1357848552,), (1357848594,), (1357849016,), (1357849073,), (1357849092,), (1357849105,), (1357849359,), (1357849375,), (1357849384,), (1357849407,), (1357849431,), (1357849444,), (1357849518,), (1357849521,), (1357849525,), (1357849560,), (1357849564,), (1357849568,), (1357849603,), (1357849682,), (1357849684,), (1357849688,), (1357849689,), (1357849735,), (1357849742,), (1357849750,), (1357849758,), (1357849766,), (1357849775,), (1357849841,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22920747 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=22920719 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='papier' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920747) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920719) result : ((1357847425,), (1357847432,), (1357847436,), (1357847776,), (1357847805,), (1357847834,), (1357847867,), (1357847893,), (1357847921,), (1357847981,), (1357847985,), (1357848003,), (1357848472,), (1357848552,), (1357848594,), (1357849016,), (1357849073,), (1357849092,), (1357849105,), (1357849359,), (1357849375,), (1357849384,), (1357849407,), (1357849431,), (1357849444,), (1357849518,), (1357849521,), (1357849525,), (1357849560,), (1357849564,), (1357849568,), (1357849603,), (1357849682,), (1357849684,), (1357849688,), (1357849689,), (1357849735,), (1357849742,), (1357849750,), (1357849758,), (1357849766,), (1357849775,), (1357849841,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22920748 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=22920719 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='flou' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920748) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920719) result : ((1357847425,), (1357847432,), (1357847436,), (1357847776,), (1357847805,), (1357847834,), (1357847867,), (1357847893,), (1357847921,), (1357847981,), (1357847985,), (1357848003,), (1357848472,), (1357848552,), (1357848594,), (1357849016,), (1357849073,), (1357849092,), (1357849105,), (1357849359,), (1357849375,), (1357849384,), (1357849407,), (1357849431,), (1357849444,), (1357849518,), (1357849521,), (1357849525,), (1357849560,), (1357849564,), (1357849568,), (1357849603,), (1357849682,), (1357849684,), (1357849688,), (1357849689,), (1357849735,), (1357849742,), (1357849750,), (1357849758,), (1357849766,), (1357849775,), (1357849841,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22920749 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=22920719 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='autre_refus' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920749) result : ((1358187779,), (1358187781,), (1358258832,), (1358258833,), (1358258834,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22920719) result : ((1357847425,), (1357847432,), (1357847436,), (1357847776,), (1357847805,), (1357847834,), (1357847867,), (1357847893,), (1357847921,), (1357847981,), (1357847985,), (1357848003,), (1357848472,), (1357848552,), (1357848594,), (1357849016,), (1357849073,), (1357849092,), (1357849105,), (1357849359,), (1357849375,), (1357849384,), (1357849407,), (1357849431,), (1357849444,), (1357849518,), (1357849521,), (1357849525,), (1357849560,), (1357849564,), (1357849568,), (1357849603,), (1357849682,), (1357849684,), (1357849688,), (1357849689,), (1357849735,), (1357849742,), (1357849750,), (1357849758,), (1357849766,), (1357849775,), (1357849841,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22920719 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Teint_Dans_La_Masse','mal_croppe','Carton_brun','autre_refus','kraft','environnement','Carton_gris','cartonnette','flou','papier','plastique')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22920719 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','Teint_Dans_La_Masse','mal_croppe','Carton_brun','autre_refus','kraft','environnement','Carton_gris','cartonnette','flou','papier','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 22920719, 'sub_port_id': 22920751, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298949, 'last_updated_at': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 59)}, 'mal_croppe': {'main_port_id': 22920719, 'sub_port_id': 22920752, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298950, 'last_updated_at': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 59)}, 'Carton_gris': {'main_port_id': 22920719, 'sub_port_id': 22920753, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298951, 'last_updated_at': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 59)}, 'Carton_brun': {'main_port_id': 22920719, 'sub_port_id': 22920755, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298952, 'last_updated_at': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 59)}, 'cartonnette': {'main_port_id': 22920719, 'sub_port_id': 22920756, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298953, 'last_updated_at': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 22920719, 'sub_port_id': 22920757, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298954, 'last_updated_at': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 59)}, 'kraft': {'main_port_id': 22920719, 'sub_port_id': 22920758, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298955, 'last_updated_at': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 59)}, 'environnement': {'main_port_id': 22920719, 'sub_port_id': 22920760, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298956, 'last_updated_at': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 59)}, 'metal': {'main_port_id': 22920719, 'sub_port_id': 22920761, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298957, 'last_updated_at': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 59)}, 'papier': {'main_port_id': 22920719, 'sub_port_id': 22920762, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298958, 'last_updated_at': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 59)}, 'flou': {'main_port_id': 22920719, 'sub_port_id': 22920763, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298959, 'last_updated_at': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 13, 14, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 59)}, 'autre_refus': {'main_port_id': 22920719, 'sub_port_id': 22920765, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15298960, 'last_updated_at': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 22, 16, 19), 'last_updated_at_asc': datetime.datetime(2025, 5, 13, 14, 48, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22920751,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22920738 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22920752,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22920739 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22920753,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22920740 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22920755,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22920741 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22920756,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22920742 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22920757,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22920743 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22920758,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22920744 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22920760,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22920745 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22920761,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22920746 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22920762,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22920747 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22920763,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22920748 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22920765,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22920749 lien utilise dans velours : https://www.fotonower.com/velours/22920751,22920752,22920753,22920755,22920756,22920757,22920758,22920760,22920761,22920762,22920763,22920765?tags=plastique,mal_croppe,Carton_gris,Carton_brun,cartonnette,Teint_Dans_La_Masse,kraft,environnement,metal,papier,flou,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22920719]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1357849841, 1357849775, 1357849766, 1357849758, 1357849750, 1357849742, 1357849735, 1357849689, 1357849688, 1357849684, 1357849682, 1357849603, 1357849568, 1357849564, 1357849560, 1357849525, 1357849521, 1357849518, 1357849444, 1357849431, 1357849407, 1357849384, 1357849375, 1357849359, 1357849105, 1357849092, 1357849073, 1357849016, 1357848594, 1357848552, 1357848472, 1357848003, 1357847985, 1357847981, 1357847921, 1357847893, 1357847867, 1357847834, 1357847805, 1357847776, 1357847436, 1357847432, 1357847425] map_info['map_portfolio_photo'] : {22920719: [1357849841, 1357849775, 1357849766, 1357849758, 1357849750, 1357849742, 1357849735, 1357849689, 1357849688, 1357849684, 1357849682, 1357849603, 1357849568, 1357849564, 1357849560, 1357849525, 1357849521, 1357849518, 1357849444, 1357849431, 1357849407, 1357849384, 1357849375, 1357849359, 1357849105, 1357849092, 1357849073, 1357849016, 1357848594, 1357848552, 1357848472, 1357848003, 1357847985, 1357847981, 1357847921, 1357847893, 1357847867, 1357847834, 1357847805, 1357847776, 1357847436, 1357847432, 1357847425]} final : False mtd_id 4302 list_pids : [1357849841, 1357849775, 1357849766, 1357849758, 1357849750, 1357849742, 1357849735, 1357849689, 1357849688, 1357849684, 1357849682, 1357849603, 1357849568, 1357849564, 1357849560, 1357849525, 1357849521, 1357849518, 1357849444, 1357849431, 1357849407, 1357849384, 1357849375, 1357849359, 1357849105, 1357849092, 1357849073, 1357849016, 1357848594, 1357848552, 1357848472, 1357848003, 1357847985, 1357847981, 1357847921, 1357847893, 1357847867, 1357847834, 1357847805, 1357847776, 1357847436, 1357847432, 1357847425] Looping around the photos to save general results len do output : 1 /22920719. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849841', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849775', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849766', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849758', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849750', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849742', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849735', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849689', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849688', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849684', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849682', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849603', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849568', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849564', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849560', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849525', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849521', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849518', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849444', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849431', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849407', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849384', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849375', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849359', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849105', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849092', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849073', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849016', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357848594', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357848552', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357848472', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357848003', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847985', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847981', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847921', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847893', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847867', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847834', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847805', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847776', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847436', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847432', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847425', None, None, None, None, None, '2862949') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 44 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22920719', "{'plastique': 22920738, 'mal_croppe': 22920739, 'Carton_gris': 22920740, 'Carton_brun': 22920741, 'cartonnette': 22920742, 'Teint_Dans_La_Masse': 22920743, 'kraft': 22920744, 'environnement': 22920745, 'metal': 22920746, 'papier': 22920747, 'flou': 22920748, 'autre_refus': 22920749}", None, None, None, None, '2862949'), ('4302', '22920719', '1357849841', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849775', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849766', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849758', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849750', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849742', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849735', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849689', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849688', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849684', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849682', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849603', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849568', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849564', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849560', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849525', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849521', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849518', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849444', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849431', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849407', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849384', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849375', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849359', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849105', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849092', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849073', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849016', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357848594', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357848552', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357848472', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357848003', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847985', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847981', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847921', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847893', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847867', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847834', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847805', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847776', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847436', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847432', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847425', None, None, None, None, None, '2862949')] time used for this insertion : 0.023452043533325195 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4607279300689697 time spend to save output : 0.024113178253173828 total time spend for step 1 : 1.4848411083221436 step2:final Thu May 15 16:31:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22920719) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} Beginning of datou step final ! query to retrieve results for portfolio 22920719 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1357847436,1357847432,1357847425,1357847921,1357847893,1357847867,1357847834,1357847805,1357847776,1357848003,1357847985,1357847981,1357848594,1357848552,1357848472,1357849105,1357849092,1357849073,1357849016,1357849444,1357849431,1357849407,1357849384,1357849375,1357849359,1357849525,1357849521,1357849518,1357849568,1357849564,1357849560,1357849603,1357849689,1357849688,1357849684,1357849682,1357849775,1357849766,1357849758,1357849750,1357849742,1357849735,1357849841); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22920719]) Inside saveOutput : final : False verbose : True original output for save of step final : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} new output for save of step final : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} [1357849841, 1357849775, 1357849766, 1357849758, 1357849750, 1357849742, 1357849735, 1357849689, 1357849688, 1357849684, 1357849682, 1357849603, 1357849568, 1357849564, 1357849560, 1357849525, 1357849521, 1357849518, 1357849444, 1357849431, 1357849407, 1357849384, 1357849375, 1357849359, 1357849105, 1357849092, 1357849073, 1357849016, 1357848594, 1357848552, 1357848472, 1357848003, 1357847985, 1357847981, 1357847921, 1357847893, 1357847867, 1357847834, 1357847805, 1357847776, 1357847436, 1357847432, 1357847425] map_info['map_portfolio_photo'] : {22920719: [1357849841, 1357849775, 1357849766, 1357849758, 1357849750, 1357849742, 1357849735, 1357849689, 1357849688, 1357849684, 1357849682, 1357849603, 1357849568, 1357849564, 1357849560, 1357849525, 1357849521, 1357849518, 1357849444, 1357849431, 1357849407, 1357849384, 1357849375, 1357849359, 1357849105, 1357849092, 1357849073, 1357849016, 1357848594, 1357848552, 1357848472, 1357848003, 1357847985, 1357847981, 1357847921, 1357847893, 1357847867, 1357847834, 1357847805, 1357847776, 1357847436, 1357847432, 1357847425]} final : False mtd_id 4302 list_pids : [1357849841, 1357849775, 1357849766, 1357849758, 1357849750, 1357849742, 1357849735, 1357849689, 1357849688, 1357849684, 1357849682, 1357849603, 1357849568, 1357849564, 1357849560, 1357849525, 1357849521, 1357849518, 1357849444, 1357849431, 1357849407, 1357849384, 1357849375, 1357849359, 1357849105, 1357849092, 1357849073, 1357849016, 1357848594, 1357848552, 1357848472, 1357848003, 1357847985, 1357847981, 1357847921, 1357847893, 1357847867, 1357847834, 1357847805, 1357847776, 1357847436, 1357847432, 1357847425] Looping around the photos to save general results len do output : 43 /1357849841.Didn't retrieve data . /1357849775.Didn't retrieve data . /1357849766.Didn't retrieve data . /1357849758.Didn't retrieve data . /1357849750.Didn't retrieve data . /1357849742.Didn't retrieve data . /1357849735.Didn't retrieve data . /1357849689.Didn't retrieve data . /1357849688.Didn't retrieve data . /1357849684.Didn't retrieve data . /1357849682.Didn't retrieve data . /1357849603.Didn't retrieve data . /1357849568.Didn't retrieve data . /1357849564.Didn't retrieve data . /1357849560.Didn't retrieve data . /1357849525.Didn't retrieve data . /1357849521.Didn't retrieve data . /1357849518.Didn't retrieve data . /1357849444.Didn't retrieve data . /1357849431.Didn't retrieve data . /1357849407.Didn't retrieve data . /1357849384.Didn't retrieve data . /1357849375.Didn't retrieve data . /1357849359.Didn't retrieve data . /1357849105.Didn't retrieve data . /1357849092.Didn't retrieve data . /1357849073.Didn't retrieve data . /1357849016.Didn't retrieve data . /1357848594.Didn't retrieve data . /1357848552.Didn't retrieve data . /1357848472.Didn't retrieve data . /1357848003.Didn't retrieve data . /1357847985.Didn't retrieve data . /1357847981.Didn't retrieve data . /1357847921.Didn't retrieve data . /1357847893.Didn't retrieve data . /1357847867.Didn't retrieve data . /1357847834.Didn't retrieve data . /1357847805.Didn't retrieve data . /1357847776.Didn't retrieve data . /1357847436.Didn't retrieve data . /1357847432.Didn't retrieve data . /1357847425.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849841', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849775', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849766', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849758', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849750', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849742', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849735', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849689', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849688', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849684', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849682', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849603', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849568', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849564', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849560', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849525', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849521', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849518', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849444', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849431', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849407', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849384', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849375', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849359', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849105', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849092', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849073', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849016', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357848594', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357848552', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357848472', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357848003', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847985', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847981', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847921', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847893', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847867', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847834', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847805', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847776', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847436', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847432', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847425', None, None, None, None, None, '2862949') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 129 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22920719', '1357849841', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849775', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849766', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849758', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849750', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849742', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849735', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849689', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849688', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849684', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849682', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849603', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849568', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849564', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849560', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849525', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849521', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849518', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849444', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849431', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849407', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849384', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849375', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849359', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849105', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849092', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849073', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357849016', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357848594', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357848552', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357848472', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357848003', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357847985', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357847981', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357847921', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357847893', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357847867', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357847834', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357847805', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357847776', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357847436', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357847432', '0.03942796567532359', None, None, None, None, '2862949'), ('4302', '22920719', '1357847425', '0.03942796567532359', None, None, None, None, '2862949')] time used for this insertion : 0.01963210105895996 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08191180229187012 time spend to save output : 0.021962881088256836 total time spend for step 2 : 0.10387468338012695 step3:velours_tree Thu May 15 16:31:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {22920719: [{'plastique': 22920738, 'mal_croppe': 22920739, 'Carton_gris': 22920740, 'Carton_brun': 22920741, 'cartonnette': 22920742, 'Teint_Dans_La_Masse': 22920743, 'kraft': 22920744, 'environnement': 22920745, 'metal': 22920746, 'papier': 22920747, 'flou': 22920748, 'autre_refus': 22920749}]} input_args_next_step : {22920719: ()} output_args : {22920719: [{'plastique': 22920738, 'mal_croppe': 22920739, 'Carton_gris': 22920740, 'Carton_brun': 22920741, 'cartonnette': 22920742, 'Teint_Dans_La_Masse': 22920743, 'kraft': 22920744, 'environnement': 22920745, 'metal': 22920746, 'papier': 22920747, 'flou': 22920748, 'autre_refus': 22920749}]} args : 22920719 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'plastique': 22920738, 'mal_croppe': 22920739, 'Carton_gris': 22920740, 'Carton_brun': 22920741, 'cartonnette': 22920742, 'Teint_Dans_La_Masse': 22920743, 'kraft': 22920744, 'environnement': 22920745, 'metal': 22920746, 'papier': 22920747, 'flou': 22920748, 'autre_refus': 22920749},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22920719) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} can't find the photo_desc_type After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22920719]) Inside saveOutput : final : False verbose : True ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.37494516372680664 time spend to save output : 8.082389831542969e-05 total time spend for step 3 : 0.37502598762512207 step4:send_mail_cod Thu May 15 16:31:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} input_args_next_step : {1357849841: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849841 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849775 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849766 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849758 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849750 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849742 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849735 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849689 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849688 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849684 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849682 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849603 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849568 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849564 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849560 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849525 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849521 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849518 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849444 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849431 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849407 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849384 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849375 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849359 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849105 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849092 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849073 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357849016 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357848594 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357848552 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357848472 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357848003 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357847985 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357847981 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357847921 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357847893 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357847867 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357847834 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357847805 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357847776 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357847436 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357847432 depend.output_id : 0 input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ()} output_args : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',)} args : 1357847425 depend.output_id : 0 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 : {22920719: [{'plastique': 22920738, 'mal_croppe': 22920739, 'Carton_gris': 22920740, 'Carton_brun': 22920741, 'cartonnette': 22920742, 'Teint_Dans_La_Masse': 22920743, 'kraft': 22920744, 'environnement': 22920745, 'metal': 22920746, 'papier': 22920747, 'flou': 22920748, 'autre_refus': 22920749}]} input_args_next_step : {1357849841: ('0.03942796567532359',), 1357849775: ('0.03942796567532359',), 1357849766: ('0.03942796567532359',), 1357849758: ('0.03942796567532359',), 1357849750: ('0.03942796567532359',), 1357849742: ('0.03942796567532359',), 1357849735: ('0.03942796567532359',), 1357849689: ('0.03942796567532359',), 1357849688: ('0.03942796567532359',), 1357849684: ('0.03942796567532359',), 1357849682: ('0.03942796567532359',), 1357849603: ('0.03942796567532359',), 1357849568: ('0.03942796567532359',), 1357849564: ('0.03942796567532359',), 1357849560: ('0.03942796567532359',), 1357849525: ('0.03942796567532359',), 1357849521: ('0.03942796567532359',), 1357849518: ('0.03942796567532359',), 1357849444: ('0.03942796567532359',), 1357849431: ('0.03942796567532359',), 1357849407: ('0.03942796567532359',), 1357849384: ('0.03942796567532359',), 1357849375: ('0.03942796567532359',), 1357849359: ('0.03942796567532359',), 1357849105: ('0.03942796567532359',), 1357849092: ('0.03942796567532359',), 1357849073: ('0.03942796567532359',), 1357849016: ('0.03942796567532359',), 1357848594: ('0.03942796567532359',), 1357848552: ('0.03942796567532359',), 1357848472: ('0.03942796567532359',), 1357848003: ('0.03942796567532359',), 1357847985: ('0.03942796567532359',), 1357847981: ('0.03942796567532359',), 1357847921: ('0.03942796567532359',), 1357847893: ('0.03942796567532359',), 1357847867: ('0.03942796567532359',), 1357847834: ('0.03942796567532359',), 1357847805: ('0.03942796567532359',), 1357847776: ('0.03942796567532359',), 1357847436: ('0.03942796567532359',), 1357847432: ('0.03942796567532359',), 1357847425: ('0.03942796567532359',), 22920719: ()} output_args : {22920719: [{'plastique': 22920738, 'mal_croppe': 22920739, 'Carton_gris': 22920740, 'Carton_brun': 22920741, 'cartonnette': 22920742, 'Teint_Dans_La_Masse': 22920743, 'kraft': 22920744, 'environnement': 22920745, 'metal': 22920746, 'papier': 22920747, 'flou': 22920748, 'autre_refus': 22920749}]} args : 22920719 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :44, first value : ('0.03942796567532359',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22920719) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1357849841,1357849775,1357849766,1357849758,1357849750,1357849742,1357849735,1357849689,1357849688,1357849684,1357849682,1357849603,1357849568,1357849564,1357849560,1357849525,1357849521,1357849518,1357849444,1357849431,1357849407,1357849384,1357849375,1357849359,1357849105,1357849092,1357849073,1357849016,1357848594,1357848552,1357848472,1357848003,1357847985,1357847981,1357847921,1357847893,1357847867,1357847834,1357847805,1357847776,1357847436,1357847432,1357847425) Found this number of photos: 43 ##### Call download_photos : nb_thread : 5 begin to download photo : 1357847425 begin to download photo : 1357847981 begin to download photo : 1357849105 begin to download photo : 1357849525 begin to download photo : 1357849735 download finish for photo 1357849525 begin to download photo : 1357849560 download finish for photo 1357847981 begin to download photo : 1357847985 download finish for photo 1357849735 begin to download photo : 1357849742 download finish for photo 1357849105 begin to download photo : 1357849359 download finish for photo 1357847425 begin to download photo : 1357847432 download finish for photo 1357847985 begin to download photo : 1357848003 download finish for photo 1357849560 begin to download photo : 1357849564 download finish for photo 1357847432 begin to download photo : 1357847436 download finish for photo 1357849359 begin to download photo : 1357849375 download finish for photo 1357848003 begin to download photo : 1357848472 download finish for photo 1357847436 begin to download photo : 1357847776 download finish for photo 1357849564 begin to download photo : 1357849568 download finish for photo 1357849375 begin to download photo : 1357849384 download finish for photo 1357847776 begin to download photo : 1357847805 download finish for photo 1357848472 begin to download photo : 1357848552 download finish for photo 1357849568 begin to download photo : 1357849603 download finish for photo 1357849384 begin to download photo : 1357849407 download finish for photo 1357848552 begin to download photo : 1357848594 download finish for photo 1357849603 begin to download photo : 1357849682 download finish for photo 1357849407 begin to download photo : 1357849431 download finish for photo 1357848594 begin to download photo : 1357849016 download finish for photo 1357849682 begin to download photo : 1357849684 download finish for photo 1357849431 begin to download photo : 1357849444 download finish for photo 1357849016 begin to download photo : 1357849073 download finish for photo 1357849684 begin to download photo : 1357849688 download finish for photo 1357849444 begin to download photo : 1357849518 download finish for photo 1357849073 begin to download photo : 1357849092 download finish for photo 1357849688 begin to download photo : 1357849689 download finish for photo 1357849092 download finish for photo 1357849689 download finish for photo 1357849742 begin to download photo : 1357849750 download finish for photo 1357849518 begin to download photo : 1357849521 download finish for photo 1357849521 download finish for photo 1357849750 begin to download photo : 1357849758 download finish for photo 1357849758 begin to download photo : 1357849766 download finish for photo 1357849766 begin to download photo : 1357849775 download finish for photo 1357849775 begin to download photo : 1357849841 download finish for photo 1357849841 download finish for photo 1357847805 begin to download photo : 1357847834 download finish for photo 1357847834 begin to download photo : 1357847867 download finish for photo 1357847867 begin to download photo : 1357847893 download finish for photo 1357847893 begin to download photo : 1357847921 download finish for photo 1357847921 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 43 ; length of list_pids : 43 ; length of list_args : 43 results_Auto_P22920719_15-05-2025_16_31_33.pdf 22920738 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22920738 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358187897: '1747221040_2719770_1357849568_abb0a2c4cb9b682717516a31d5c1e22b_rle_crop_3797092626_0.png', 1358187898: '1747221040_2719770_1357849568_abb0a2c4cb9b682717516a31d5c1e22b_rle_crop_3797092623_0.png', 1358187899: '1747221040_2719770_1357849525_a3e8961f2b1ec617cc4ea83008d32f40_rle_crop_3797092666_0.png', 1358187901: '1747221040_2719770_1357849525_a3e8961f2b1ec617cc4ea83008d32f40_rle_crop_3797092671_0.png', 1358187902: '1747221040_2719770_1357849521_df487b30e541825436c592db917e2b6f_rle_crop_3797092681_0.png', 1358187903: '1747221040_2719770_1357849444_50060867320b23dd1bd3e70a40b19d99_rle_crop_3797092696_0.png', 1358258853: '1747235138_3594591_1357847985_0dbef46afc1823d35a8fe9c187b105a5_rle_crop_3797488423_0.png', 1358258854: '1747235138_3594591_1357847981_b6d1a25bc9f74baa8ebe70b59cdae10e_rle_crop_3797488440_0.png', 1358258855: '1747235138_3594591_1357847893_535edd81e1c15a89585eeae459faafd7_rle_crop_3797488465_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/99f689f6c61bf5e8b2db208262ab21f5_56845229.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/344711e0d5e5afdcd878333ad9e90440_56918233.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/4f25e4acecaa988a3dcce5ec00f4feda_58088706.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/d620f288aa6edd2f39b8e2b7f9cdbb84_49927045.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/058a2bb752335f6793eac40355a44a55_55202709.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/b60839089fcea54575156dcd25e0be91_55011076.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/d0e7024c3695a8ebee39f7d8cb7008aa_63790167.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/24a900b7e5aeef164efbde6294f303e5_34356821.png change filename to text .imagette229207381747319493/ imagette229207381747319493/1747221040_2719770_1357849444_50060867320b23dd1bd3e70a40b19d99_rle_crop_3797092696_0.png.png imagette229207381747319493/1747221040_2719770_1357849525_a3e8961f2b1ec617cc4ea83008d32f40_rle_crop_3797092666_0.png.png imagette229207381747319493/1747235138_3594591_1357847985_0dbef46afc1823d35a8fe9c187b105a5_rle_crop_3797488423_0.png.png imagette229207381747319493/1747221040_2719770_1357849568_abb0a2c4cb9b682717516a31d5c1e22b_rle_crop_3797092623_0.png.png imagette229207381747319493/1747221040_2719770_1357849521_df487b30e541825436c592db917e2b6f_rle_crop_3797092681_0.png.png imagette229207381747319493/1747221040_2719770_1357849568_abb0a2c4cb9b682717516a31d5c1e22b_rle_crop_3797092626_0.png.png imagette229207381747319493/1747235138_3594591_1357847981_b6d1a25bc9f74baa8ebe70b59cdae10e_rle_crop_3797488440_0.png.png imagette229207381747319493/1747235138_3594591_1357847893_535edd81e1c15a89585eeae459faafd7_rle_crop_3797488465_0.png.png imagette229207381747319493/1747221040_2719770_1357849525_a3e8961f2b1ec617cc4ea83008d32f40_rle_crop_3797092671_0.png.png imagette229207391747319494/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/5dd67a8cb7931b8ea95b88027d2eac4d_73895693.png imagette229207381747319493 22920739 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22920739 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette229207391747319494 22920742 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22920742 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358187820: '1747221040_2719770_1357849689_725659a3696a68f404a39978b611cf78_rle_crop_3797092556_0.png', 1358187822: '1747221040_2719770_1357849603_29fa725c9a55551f86e75457f62064d6_rle_crop_3797092611_0.png', 1358187824: '1747221040_2719770_1357849603_29fa725c9a55551f86e75457f62064d6_rle_crop_3797092614_0.png', 1358258844: '1747235138_3594591_1357848003_f8f61d8b29b589b846874898f7b484f3_rle_crop_3797488402_0.png', 1358258845: '1747235138_3594591_1357847985_0dbef46afc1823d35a8fe9c187b105a5_rle_crop_3797488418_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/09853c3b945f0a375e5c669e60dd68b3_34013169.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/6f47e4a006aae85b605505ce6f6f9188_30427950.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/1ccc151959c667251b28487dc3df7c3d_21059537.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/c01e36afd5cfc731440cf9e778417ec3_80416562.png change filename to text .imagette229207421747319494/ imagette229207421747319494/1747221040_2719770_1357849689_725659a3696a68f404a39978b611cf78_rle_crop_3797092556_0.png.png imagette229207421747319494/1747235138_3594591_1357848003_f8f61d8b29b589b846874898f7b484f3_rle_crop_3797488402_0.png.png imagette229207421747319494/1747221040_2719770_1357849603_29fa725c9a55551f86e75457f62064d6_rle_crop_3797092611_0.png.png imagette229207421747319494/1747221040_2719770_1357849603_29fa725c9a55551f86e75457f62064d6_rle_crop_3797092614_0.png.png imagette229207421747319494/1747235138_3594591_1357847985_0dbef46afc1823d35a8fe9c187b105a5_rle_crop_3797488418_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/d54d7176e52005635f6df7beafcdcadb_394172.png imagette229207421747319494 22920744 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22920744 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358187913: '1747221040_2719770_1357849841_4760555b1e2e2f896bb9301259c1f4a3_rle_crop_3797092485_0.png', 1358187915: '1747221040_2719770_1357849525_a3e8961f2b1ec617cc4ea83008d32f40_rle_crop_3797092668_0.png', 1358258857: '1747235138_3594591_1357847834_59b0d9db49b32500fe3c0950992d1614_rle_crop_3797488484_0.png', 1358258858: '1747235138_3594591_1357847805_3a9bec7fbc1e4e9a49615b08e2c01d4f_rle_crop_3797488494_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/4d08ed948e433b5c3b1eade70968d5f1_66887328.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/a7e47f3b88e937da1d1baa740782dcb3_20142068.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/058d2fbf5a961b638009194868b4a71c_16585519.png change filename to text .imagette229207441747319494/ imagette229207441747319494/1747235138_3594591_1357847805_3a9bec7fbc1e4e9a49615b08e2c01d4f_rle_crop_3797488494_0.png.png imagette229207441747319494/1747221040_2719770_1357849841_4760555b1e2e2f896bb9301259c1f4a3_rle_crop_3797092485_0.png.png imagette229207441747319494/1747235138_3594591_1357847834_59b0d9db49b32500fe3c0950992d1614_rle_crop_3797488484_0.png.png imagette229207441747319494/1747221040_2719770_1357849525_a3e8961f2b1ec617cc4ea83008d32f40_rle_crop_3797092668_0.png.png imagette229207461747319495/ imagette229207481747319495/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/894019b9985d0ce82d1915544d653a1b_99975926.png imagette229207441747319494 22920746 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22920746 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette229207461747319495 22920748 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22920748 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette229207481747319495 22920749 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22920749 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358187779: '1747221040_2719770_1357849560_70cdfb5a3f196781e0e140a59fbf3f39_rle_crop_3797092646_0.png', 1358187781: '1747221040_2719770_1357849521_df487b30e541825436c592db917e2b6f_rle_crop_3797092679_0.png', 1358258832: '1747235138_3594591_1357848003_f8f61d8b29b589b846874898f7b484f3_rle_crop_3797488406_0.png', 1358258833: '1747235138_3594591_1357847921_87d68feafebf998d8699b2cc7e72da5d_rle_crop_3797488449_0.png', 1358258834: '1747235138_3594591_1357847776_d6e6030274bcef4c071014054376ec4a_rle_crop_3797488511_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/d4ced231d8729e6d05575f61ec8a2172_76337820.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/c2e881b137f35e6e7771819315423f29_2435381.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/afcf86c33acf355512a1544911dbb20b_94877426.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/08c212bf41ef74509a5d93e193531561_89964986.png change filename to text .imagette229207491747319495/ imagette229207491747319495/1747235138_3594591_1357847921_87d68feafebf998d8699b2cc7e72da5d_rle_crop_3797488449_0.png.png imagette229207491747319495/1747235138_3594591_1357847776_d6e6030274bcef4c071014054376ec4a_rle_crop_3797488511_0.png.png imagette229207491747319495/1747235138_3594591_1357848003_f8f61d8b29b589b846874898f7b484f3_rle_crop_3797488406_0.png.png imagette229207491747319495/1747221040_2719770_1357849521_df487b30e541825436c592db917e2b6f_rle_crop_3797092679_0.png.png imagette229207491747319495/1747221040_2719770_1357849560_70cdfb5a3f196781e0e140a59fbf3f39_rle_crop_3797092646_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/001598db316c0e15ac030c56d40dab7a_46375455.png imagette229207491747319495 22920740 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22920740 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358187797: '1747221040_2719770_1357849766_719e19cf733bd15b3af77c6ab890c30f_rle_crop_3797092503_0.png', 1358258836: '1747235138_3594591_1357849407_f827dffe154d7fc801547a3c33b76a93_rle_crop_3797484765_0.png', 1358258837: '1747235138_3594591_1357849384_1a440eeec65cb514a8672d7437cc5244_rle_crop_3797484771_0.png', 1358258838: '1747235138_3594591_1357848594_3a2a15e2a4d0607373c7060baad199ff_rle_crop_3797488363_0.png', 1358258839: '1747235138_3594591_1357848552_db86a7b272ea54ae2e9bb039f4ebef40_rle_crop_3797488375_0.png', 1358258840: '1747235138_3594591_1357847867_7a79f4ab38a37f7eb383da1bca41a372_rle_crop_3797488469_0.png', 1358258841: '1747235138_3594591_1357847776_d6e6030274bcef4c071014054376ec4a_rle_crop_3797488505_0.png', 1358338117: '1747253737_574610_1357847436_a991ab80a2d4ef4818d8394d13966a09_rle_crop_3797982241_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/993a8cfb1e333b627019be4b42601ae3_93468203.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/8ed1aa918cb545531f7289a1004461ee_95296983.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/4a0278aad20a75d00430e20d5fc34d14_96222614.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/d6994717a46990cab08b66e31190c3ca_89447540.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/4e240fcd43eeeeadf785b7196f506a72_95748043.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/e6f333ad7af231682cbd9680abab83e4_72054207.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/00d4e3c94871228fcc62cd2c5eedb980_79725680.png change filename to text .imagette229207401747319495/ imagette229207401747319495/1747235138_3594591_1357848594_3a2a15e2a4d0607373c7060baad199ff_rle_crop_3797488363_0.png.png imagette229207401747319495/1747235138_3594591_1357847776_d6e6030274bcef4c071014054376ec4a_rle_crop_3797488505_0.png.png imagette229207401747319495/1747221040_2719770_1357849766_719e19cf733bd15b3af77c6ab890c30f_rle_crop_3797092503_0.png.png imagette229207401747319495/1747235138_3594591_1357847867_7a79f4ab38a37f7eb383da1bca41a372_rle_crop_3797488469_0.png.png imagette229207401747319495/1747235138_3594591_1357849407_f827dffe154d7fc801547a3c33b76a93_rle_crop_3797484765_0.png.png imagette229207401747319495/1747235138_3594591_1357848552_db86a7b272ea54ae2e9bb039f4ebef40_rle_crop_3797488375_0.png.png imagette229207401747319495/1747235138_3594591_1357849384_1a440eeec65cb514a8672d7437cc5244_rle_crop_3797484771_0.png.png imagette229207401747319495/1747253737_574610_1357847436_a991ab80a2d4ef4818d8394d13966a09_rle_crop_3797982241_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/09c918b1247373ab43122027995dfa85_88003166.png imagette229207401747319495 22920741 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22920741 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358187854: '1747221040_2719770_1357849841_4760555b1e2e2f896bb9301259c1f4a3_rle_crop_3797092484_0.png', 1358187856: '1747221040_2719770_1357849766_719e19cf733bd15b3af77c6ab890c30f_rle_crop_3797092502_0.png', 1358187857: '1747221040_2719770_1357849688_e673e41283b3e4bd4d86fb45e12bac42_rle_crop_3797092571_0.png', 1358187859: '1747221040_2719770_1357849684_e292787e77faedd5c6d56881e2de2575_rle_crop_3797092587_0.png', 1358187861: '1747221040_2719770_1357849568_abb0a2c4cb9b682717516a31d5c1e22b_rle_crop_3797092627_0.png', 1358187862: '1747221040_2719770_1357849564_6cf034f888f6489ae6910d794e21b968_rle_crop_3797092635_0.png', 1358187865: '1747221040_2719770_1357849564_6cf034f888f6489ae6910d794e21b968_rle_crop_3797092638_0.png', 1358258847: '1747235138_3594591_1357849384_1a440eeec65cb514a8672d7437cc5244_rle_crop_3797484775_0.png', 1358258848: '1747235138_3594591_1357849384_1a440eeec65cb514a8672d7437cc5244_rle_crop_3797484773_0.png', 1358258849: '1747235138_3594591_1357848472_9493538f706772b78c2b65658435250a_rle_crop_3797488389_0.png', 1358258850: '1747235138_3594591_1357848003_f8f61d8b29b589b846874898f7b484f3_rle_crop_3797488405_0.png', 1358258851: '1747235138_3594591_1357847867_7a79f4ab38a37f7eb383da1bca41a372_rle_crop_3797488471_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/e33fe54e3d9c7ba23745d9f22d76f502_60035574.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/8068dcae8b894fbdfb7ef882b8dbaff3_18354914.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/c8e5cc03f07cecb7f5ca6a9d96c9562a_95231802.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/257e4adbb54bbe276b6ab8c173ba0084_63003550.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/b746bc41b28ae22e8b5d0add27c831e6_26233997.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/4205dab2ef75f19c345e821e9ab0b1e5_48464116.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/ec4e9b329f0da4ba8aa39e0ec5938d93_92449704.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/e2526f12b4b0180c6a7d6b6ea6b03036_92747403.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/4f6ecf7e87cba25fa2d495ca0faa7fcc_10829930.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/9fb1600f8c4e4a9ef6410d98e189026c_11916596.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/1e3a3ee3b3905417e97f7f34a8b76e8a_40515387.png change filename to text .imagette229207411747319496/ imagette229207411747319496/1747221040_2719770_1357849841_4760555b1e2e2f896bb9301259c1f4a3_rle_crop_3797092484_0.png.png imagette229207411747319496/1747221040_2719770_1357849688_e673e41283b3e4bd4d86fb45e12bac42_rle_crop_3797092571_0.png.png imagette229207411747319496/1747221040_2719770_1357849564_6cf034f888f6489ae6910d794e21b968_rle_crop_3797092638_0.png.png imagette229207411747319496/1747221040_2719770_1357849684_e292787e77faedd5c6d56881e2de2575_rle_crop_3797092587_0.png.png imagette229207411747319496/1747235138_3594591_1357847867_7a79f4ab38a37f7eb383da1bca41a372_rle_crop_3797488471_0.png.png imagette229207411747319496/1747235138_3594591_1357849384_1a440eeec65cb514a8672d7437cc5244_rle_crop_3797484775_0.png.png imagette229207411747319496/1747221040_2719770_1357849766_719e19cf733bd15b3af77c6ab890c30f_rle_crop_3797092502_0.png.png imagette229207411747319496/1747235138_3594591_1357849384_1a440eeec65cb514a8672d7437cc5244_rle_crop_3797484773_0.png.png imagette229207411747319496/1747235138_3594591_1357848003_f8f61d8b29b589b846874898f7b484f3_rle_crop_3797488405_0.png.png imagette229207411747319496/1747235138_3594591_1357848472_9493538f706772b78c2b65658435250a_rle_crop_3797488389_0.png.png imagette229207411747319496/1747221040_2719770_1357849564_6cf034f888f6489ae6910d794e21b968_rle_crop_3797092635_0.png.png imagette229207411747319496/1747221040_2719770_1357849568_abb0a2c4cb9b682717516a31d5c1e22b_rle_crop_3797092627_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/1cdff3ade70ed2b7494b8c3dbaa18920_92415396.png imagette229207411747319496 22920743 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22920743 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358187756: '1747221040_2719770_1357849841_4760555b1e2e2f896bb9301259c1f4a3_rle_crop_3797092482_0.png', 1358187758: '1747221040_2719770_1357849775_7fe0212d414d520245315d08babe79b2_rle_crop_3797092498_0.png', 1358187759: '1747221040_2719770_1357849735_2f5a6e4a2e06a07c755826e0376ad9a3_rle_crop_3797092544_0.png', 1358187762: '1747221040_2719770_1357849688_e673e41283b3e4bd4d86fb45e12bac42_rle_crop_3797092573_0.png', 1358187764: '1747221040_2719770_1357849560_70cdfb5a3f196781e0e140a59fbf3f39_rle_crop_3797092647_0.png', 1358187765: '1747221040_2719770_1357849560_70cdfb5a3f196781e0e140a59fbf3f39_rle_crop_3797092649_0.png', 1358187767: '1747221040_2719770_1357849521_df487b30e541825436c592db917e2b6f_rle_crop_3797092680_0.png', 1358258826: '1747235138_3594591_1357849407_f827dffe154d7fc801547a3c33b76a93_rle_crop_3797484769_0.png', 1358258827: '1747235138_3594591_1357848472_9493538f706772b78c2b65658435250a_rle_crop_3797488384_0.png', 1358258828: '1747235138_3594591_1357848003_f8f61d8b29b589b846874898f7b484f3_rle_crop_3797488408_0.png', 1358258829: '1747235138_3594591_1357847985_0dbef46afc1823d35a8fe9c187b105a5_rle_crop_3797488420_0.png', 1358258830: '1747235138_3594591_1357847921_87d68feafebf998d8699b2cc7e72da5d_rle_crop_3797488448_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/14b7c73fa81fb87baa5ccb6ec40ed0e9_7118123.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/30aece6d959fa43c95a29598db12b28c_33247824.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/d99065731b40aa0de66ec4feb26e81b6_83254145.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/cadc0cc40c78085fd8a7104b8fac5f84_20243989.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/acecb2ce9684bf03c4d2d9671dc954cb_52810139.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/76aa465d4c557d0aefeb99405db6a230_94857933.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/eeec8650a590e7011e2b38b94567d8d1_8513160.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/39ba71c4d1b28e133b7ed6dda5a95fc6_73289515.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/b8620350991d120832086181e980064e_84363862.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/44cf590e8aa79027207205ca4feb2fc0_59671344.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/9b2647d5217814c91c78e613e0ed43fa_16336862.png change filename to text .imagette229207431747319497/ imagette229207431747319497/1747221040_2719770_1357849560_70cdfb5a3f196781e0e140a59fbf3f39_rle_crop_3797092647_0.png.png imagette229207431747319497/1747221040_2719770_1357849841_4760555b1e2e2f896bb9301259c1f4a3_rle_crop_3797092482_0.png.png imagette229207431747319497/1747235138_3594591_1357848472_9493538f706772b78c2b65658435250a_rle_crop_3797488384_0.png.png imagette229207431747319497/1747235138_3594591_1357849407_f827dffe154d7fc801547a3c33b76a93_rle_crop_3797484769_0.png.png imagette229207431747319497/1747221040_2719770_1357849735_2f5a6e4a2e06a07c755826e0376ad9a3_rle_crop_3797092544_0.png.png imagette229207431747319497/1747221040_2719770_1357849775_7fe0212d414d520245315d08babe79b2_rle_crop_3797092498_0.png.png imagette229207431747319497/1747221040_2719770_1357849688_e673e41283b3e4bd4d86fb45e12bac42_rle_crop_3797092573_0.png.png imagette229207431747319497/1747221040_2719770_1357849521_df487b30e541825436c592db917e2b6f_rle_crop_3797092680_0.png.png imagette229207431747319497/1747221040_2719770_1357849560_70cdfb5a3f196781e0e140a59fbf3f39_rle_crop_3797092649_0.png.png imagette229207431747319497/1747235138_3594591_1357848003_f8f61d8b29b589b846874898f7b484f3_rle_crop_3797488408_0.png.png imagette229207431747319497/1747235138_3594591_1357847921_87d68feafebf998d8699b2cc7e72da5d_rle_crop_3797488448_0.png.png imagette229207431747319497/1747235138_3594591_1357847985_0dbef46afc1823d35a8fe9c187b105a5_rle_crop_3797488420_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/4cfa92d42b9434abbe19e96d97b3aec5_12151740.png imagette229207431747319497 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22920719 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22920751,22920752,22920753,22920755,22920756,22920757,22920758,22920760,22920761,22920762,22920763,22920765?tags=plastique,mal_croppe,Carton_gris,Carton_brun,cartonnette,Teint_Dans_La_Masse,kraft,environnement,metal,papier,flou,autre_refus your option no_mail is active, we will not send the real mail to your client args[1357849841] : ('0.03942796567532359',) no score found for photo 1357849841 We are sending mail with results at report@fotonower.com args[1357849775] : ('0.03942796567532359',) no score found for photo 1357849775 We are sending mail with results at report@fotonower.com args[1357849766] : ('0.03942796567532359',) no score found for photo 1357849766 We are sending mail with results at report@fotonower.com args[1357849758] : ('0.03942796567532359',) no score found for photo 1357849758 We are sending mail with results at report@fotonower.com args[1357849750] : ('0.03942796567532359',) no score found for photo 1357849750 We are sending mail with results at report@fotonower.com args[1357849742] : ('0.03942796567532359',) no score found for photo 1357849742 We are sending mail with results at report@fotonower.com args[1357849735] : ('0.03942796567532359',) no score found for photo 1357849735 We are sending mail with results at report@fotonower.com args[1357849689] : ('0.03942796567532359',) no score found for photo 1357849689 We are sending mail with results at report@fotonower.com args[1357849688] : ('0.03942796567532359',) no score found for photo 1357849688 We are sending mail with results at report@fotonower.com args[1357849684] : ('0.03942796567532359',) no score found for photo 1357849684 We are sending mail with results at report@fotonower.com args[1357849682] : ('0.03942796567532359',) no score found for photo 1357849682 We are sending mail with results at report@fotonower.com args[1357849603] : ('0.03942796567532359',) no score found for photo 1357849603 We are sending mail with results at report@fotonower.com args[1357849568] : ('0.03942796567532359',) no score found for photo 1357849568 We are sending mail with results at report@fotonower.com args[1357849564] : ('0.03942796567532359',) no score found for photo 1357849564 We are sending mail with results at report@fotonower.com args[1357849560] : ('0.03942796567532359',) no score found for photo 1357849560 We are sending mail with results at report@fotonower.com args[1357849525] : ('0.03942796567532359',) no score found for photo 1357849525 We are sending mail with results at report@fotonower.com args[1357849521] : ('0.03942796567532359',) no score found for photo 1357849521 We are sending mail with results at report@fotonower.com args[1357849518] : ('0.03942796567532359',) no score found for photo 1357849518 We are sending mail with results at report@fotonower.com args[1357849444] : ('0.03942796567532359',) no score found for photo 1357849444 We are sending mail with results at report@fotonower.com args[1357849431] : ('0.03942796567532359',) no score found for photo 1357849431 We are sending mail with results at report@fotonower.com args[1357849407] : ('0.03942796567532359',) no score found for photo 1357849407 We are sending mail with results at report@fotonower.com args[1357849384] : ('0.03942796567532359',) no score found for photo 1357849384 We are sending mail with results at report@fotonower.com args[1357849375] : ('0.03942796567532359',) no score found for photo 1357849375 We are sending mail with results at report@fotonower.com args[1357849359] : ('0.03942796567532359',) no score found for photo 1357849359 We are sending mail with results at report@fotonower.com args[1357849105] : ('0.03942796567532359',) no score found for photo 1357849105 We are sending mail with results at report@fotonower.com args[1357849092] : ('0.03942796567532359',) no score found for photo 1357849092 We are sending mail with results at report@fotonower.com args[1357849073] : ('0.03942796567532359',) no score found for photo 1357849073 We are sending mail with results at report@fotonower.com args[1357849016] : ('0.03942796567532359',) no score found for photo 1357849016 We are sending mail with results at report@fotonower.com args[1357848594] : ('0.03942796567532359',) no score found for photo 1357848594 We are sending mail with results at report@fotonower.com args[1357848552] : ('0.03942796567532359',) no score found for photo 1357848552 We are sending mail with results at report@fotonower.com args[1357848472] : ('0.03942796567532359',) no score found for photo 1357848472 We are sending mail with results at report@fotonower.com args[1357848003] : ('0.03942796567532359',) no score found for photo 1357848003 We are sending mail with results at report@fotonower.com args[1357847985] : ('0.03942796567532359',) no score found for photo 1357847985 We are sending mail with results at report@fotonower.com args[1357847981] : ('0.03942796567532359',) no score found for photo 1357847981 We are sending mail with results at report@fotonower.com args[1357847921] : ('0.03942796567532359',) no score found for photo 1357847921 We are sending mail with results at report@fotonower.com args[1357847893] : ('0.03942796567532359',) no score found for photo 1357847893 We are sending mail with results at report@fotonower.com args[1357847867] : ('0.03942796567532359',) no score found for photo 1357847867 We are sending mail with results at report@fotonower.com args[1357847834] : ('0.03942796567532359',) no score found for photo 1357847834 We are sending mail with results at report@fotonower.com args[1357847805] : ('0.03942796567532359',) no score found for photo 1357847805 We are sending mail with results at report@fotonower.com args[1357847776] : ('0.03942796567532359',) no score found for photo 1357847776 We are sending mail with results at report@fotonower.com args[1357847436] : ('0.03942796567532359',) no score found for photo 1357847436 We are sending mail with results at report@fotonower.com args[1357847432] : ('0.03942796567532359',) no score found for photo 1357847432 We are sending mail with results at report@fotonower.com args[1357847425] : ('0.03942796567532359',) no score found for photo 1357847425 We are sending mail with results at report@fotonower.com refus_total : 0.03942796567532359 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22920719 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22920719_15-05-2025_16_31_33.pdf results_Auto_P22920719_15-05-2025_16_31_33.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22920719_15-05-2025_16_31_33.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','22920719','results_Auto_P22920719_15-05-2025_16_31_33.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22920719_15-05-2025_16_31_33.pdf','pdf','','0.46','0.03942796567532359') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22920719]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1357849841, 1357849775, 1357849766, 1357849758, 1357849750, 1357849742, 1357849735, 1357849689, 1357849688, 1357849684, 1357849682, 1357849603, 1357849568, 1357849564, 1357849560, 1357849525, 1357849521, 1357849518, 1357849444, 1357849431, 1357849407, 1357849384, 1357849375, 1357849359, 1357849105, 1357849092, 1357849073, 1357849016, 1357848594, 1357848552, 1357848472, 1357848003, 1357847985, 1357847981, 1357847921, 1357847893, 1357847867, 1357847834, 1357847805, 1357847776, 1357847436, 1357847432, 1357847425] map_info['map_portfolio_photo'] : {22920719: [1357849841, 1357849775, 1357849766, 1357849758, 1357849750, 1357849742, 1357849735, 1357849689, 1357849688, 1357849684, 1357849682, 1357849603, 1357849568, 1357849564, 1357849560, 1357849525, 1357849521, 1357849518, 1357849444, 1357849431, 1357849407, 1357849384, 1357849375, 1357849359, 1357849105, 1357849092, 1357849073, 1357849016, 1357848594, 1357848552, 1357848472, 1357848003, 1357847985, 1357847981, 1357847921, 1357847893, 1357847867, 1357847834, 1357847805, 1357847776, 1357847436, 1357847432, 1357847425]} final : False mtd_id 4302 list_pids : [1357849841, 1357849775, 1357849766, 1357849758, 1357849750, 1357849742, 1357849735, 1357849689, 1357849688, 1357849684, 1357849682, 1357849603, 1357849568, 1357849564, 1357849560, 1357849525, 1357849521, 1357849518, 1357849444, 1357849431, 1357849407, 1357849384, 1357849375, 1357849359, 1357849105, 1357849092, 1357849073, 1357849016, 1357848594, 1357848552, 1357848472, 1357848003, 1357847985, 1357847981, 1357847921, 1357847893, 1357847867, 1357847834, 1357847805, 1357847776, 1357847436, 1357847432, 1357847425] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849841', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849775', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849766', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849758', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849750', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849742', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849735', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849689', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849688', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849684', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849682', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849603', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849568', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849564', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849560', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849525', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849521', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849518', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849444', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849431', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849407', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849384', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849375', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849359', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849105', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849092', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849073', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849016', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357848594', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357848552', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357848472', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357848003', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847985', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847981', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847921', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847893', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847867', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847834', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847805', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847776', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847436', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847432', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847425', None, None, None, None, None, '2862949') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 43 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22920719', '1357849841', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849775', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849766', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849758', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849750', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849742', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849735', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849689', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849688', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849684', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849682', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849603', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849568', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849564', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849560', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849525', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849521', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849518', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849444', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849431', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849407', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849384', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849375', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849359', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849105', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849092', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849073', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849016', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357848594', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357848552', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357848472', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357848003', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847985', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847981', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847921', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847893', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847867', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847834', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847805', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847776', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847436', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847432', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847425', None, None, None, None, None, '2862949')] time used for this insertion : 0.018701553344726562 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.495408535003662 time spend to save output : 0.019085168838500977 total time spend for step 4 : 11.514493703842163 step5:split_time_score Thu May 15 16:31:41 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['22920719'] We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 : VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : [('22920719',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22920719) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1357847981: {'path': 'temp/1747319490_4185286_1357847981_b6d1a25bc9f74baa8ebe70b59cdae10e.jpg', 'extension': 'jpg'}, 1357847985: {'path': 'temp/1747319490_4185286_1357847985_0dbef46afc1823d35a8fe9c187b105a5.jpg', 'extension': 'jpg'}, 1357848003: {'path': 'temp/1747319490_4185286_1357848003_f8f61d8b29b589b846874898f7b484f3.jpg', 'extension': 'jpg'}, 1357848472: {'path': 'temp/1747319490_4185286_1357848472_9493538f706772b78c2b65658435250a.jpg', 'extension': 'jpg'}, 1357848552: {'path': 'temp/1747319490_4185286_1357848552_db86a7b272ea54ae2e9bb039f4ebef40.jpg', 'extension': 'jpg'}, 1357848594: {'path': 'temp/1747319490_4185286_1357848594_3a2a15e2a4d0607373c7060baad199ff.jpg', 'extension': 'jpg'}, 1357849016: {'path': 'temp/1747319490_4185286_1357849016_a588a7f2be4815eb88f717a64d443fec.jpg', 'extension': 'jpg'}, 1357849073: {'path': 'temp/1747319490_4185286_1357849073_55ff44f2ac404b4d1177f04b662390c2.jpg', 'extension': 'jpg'}, 1357849092: {'path': 'temp/1747319490_4185286_1357849092_e9bca485141502081c9c1462860e1a36.jpg', 'extension': 'jpg'}, 1357849525: {'path': 'temp/1747319490_4185286_1357849525_a3e8961f2b1ec617cc4ea83008d32f40.jpg', 'extension': 'jpg'}, 1357849560: {'path': 'temp/1747319490_4185286_1357849560_70cdfb5a3f196781e0e140a59fbf3f39.jpg', 'extension': 'jpg'}, 1357849564: {'path': 'temp/1747319490_4185286_1357849564_6cf034f888f6489ae6910d794e21b968.jpg', 'extension': 'jpg'}, 1357849568: {'path': 'temp/1747319490_4185286_1357849568_abb0a2c4cb9b682717516a31d5c1e22b.jpg', 'extension': 'jpg'}, 1357849603: {'path': 'temp/1747319490_4185286_1357849603_29fa725c9a55551f86e75457f62064d6.jpg', 'extension': 'jpg'}, 1357849682: {'path': 'temp/1747319490_4185286_1357849682_c22bfbdfd457c79f96feebf2624bf8aa.jpg', 'extension': 'jpg'}, 1357849684: {'path': 'temp/1747319490_4185286_1357849684_e292787e77faedd5c6d56881e2de2575.jpg', 'extension': 'jpg'}, 1357849688: {'path': 'temp/1747319490_4185286_1357849688_e673e41283b3e4bd4d86fb45e12bac42.jpg', 'extension': 'jpg'}, 1357849689: {'path': 'temp/1747319490_4185286_1357849689_725659a3696a68f404a39978b611cf78.jpg', 'extension': 'jpg'}, 1357849105: {'path': 'temp/1747319490_4185286_1357849105_7da414d9543ef1404d19849490134165.jpg', 'extension': 'jpg'}, 1357849359: {'path': 'temp/1747319490_4185286_1357849359_bb2fa39be5a34c82df100eab1e92aa52.jpg', 'extension': 'jpg'}, 1357849375: {'path': 'temp/1747319490_4185286_1357849375_0a4553647a7b7e325ad7314de704ff10.jpg', 'extension': 'jpg'}, 1357849384: {'path': 'temp/1747319490_4185286_1357849384_1a440eeec65cb514a8672d7437cc5244.jpg', 'extension': 'jpg'}, 1357849407: {'path': 'temp/1747319490_4185286_1357849407_f827dffe154d7fc801547a3c33b76a93.jpg', 'extension': 'jpg'}, 1357849431: {'path': 'temp/1747319490_4185286_1357849431_95e3848d37aa767b8a2751559889533f.jpg', 'extension': 'jpg'}, 1357849444: {'path': 'temp/1747319490_4185286_1357849444_50060867320b23dd1bd3e70a40b19d99.jpg', 'extension': 'jpg'}, 1357849518: {'path': 'temp/1747319490_4185286_1357849518_a1cf5da34e5a54dbf770a669aee693ce.jpg', 'extension': 'jpg'}, 1357849521: {'path': 'temp/1747319490_4185286_1357849521_df487b30e541825436c592db917e2b6f.jpg', 'extension': 'jpg'}, 1357849735: {'path': 'temp/1747319490_4185286_1357849735_2f5a6e4a2e06a07c755826e0376ad9a3.jpg', 'extension': 'jpg'}, 1357849742: {'path': 'temp/1747319490_4185286_1357849742_f12b40c290f4c45f9f032ca32fc5257e.jpg', 'extension': 'jpg'}, 1357849750: {'path': 'temp/1747319490_4185286_1357849750_4e5e0a47fd76afc99adc2ee392d70dd0.jpg', 'extension': 'jpg'}, 1357849758: {'path': 'temp/1747319490_4185286_1357849758_e975506740ee49291f210b572aee5146.jpg', 'extension': 'jpg'}, 1357849766: {'path': 'temp/1747319490_4185286_1357849766_719e19cf733bd15b3af77c6ab890c30f.jpg', 'extension': 'jpg'}, 1357849775: {'path': 'temp/1747319490_4185286_1357849775_7fe0212d414d520245315d08babe79b2.jpg', 'extension': 'jpg'}, 1357849841: {'path': 'temp/1747319490_4185286_1357849841_4760555b1e2e2f896bb9301259c1f4a3.jpg', 'extension': 'jpg'}, 1357847425: {'path': 'temp/1747319490_4185286_1357847425_26487acf6cd936fa6c2a9b1998103f95.jpg', 'extension': 'jpg'}, 1357847432: {'path': 'temp/1747319490_4185286_1357847432_f7124f1177a446e2c05b8b2831246d86.jpg', 'extension': 'jpg'}, 1357847436: {'path': 'temp/1747319490_4185286_1357847436_a991ab80a2d4ef4818d8394d13966a09.jpg', 'extension': 'jpg'}, 1357847776: {'path': 'temp/1747319490_4185286_1357847776_d6e6030274bcef4c071014054376ec4a.jpg', 'extension': 'jpg'}, 1357847805: {'path': 'temp/1747319490_4185286_1357847805_3a9bec7fbc1e4e9a49615b08e2c01d4f.jpg', 'extension': 'jpg'}, 1357847834: {'path': 'temp/1747319490_4185286_1357847834_59b0d9db49b32500fe3c0950992d1614.jpg', 'extension': 'jpg'}, 1357847867: {'path': 'temp/1747319490_4185286_1357847867_7a79f4ab38a37f7eb383da1bca41a372.jpg', 'extension': 'jpg'}, 1357847893: {'path': 'temp/1747319490_4185286_1357847893_535edd81e1c15a89585eeae459faafd7.jpg', 'extension': 'jpg'}, 1357847921: {'path': 'temp/1747319490_4185286_1357847921_87d68feafebf998d8699b2cc7e72da5d.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} begin split time score SELECT app_name, token FROM MTRUser.mtr_app_api_token WHERE mtr_user_id=979 AND app_name="token_split_time_score" AND expire_at > NOW() select distinct dp.name from MTRPhoto.dashboard_entry_day ded, MTRPhoto.dashboard_places dp, MTRPhoto.dashboard_results dr where ded.dashboard_place_id = dp.id and ded.last_run_id = dr.dashboard_run_id and dp.id = ded.dashboard_place_id and dr.mtr_portfolio_id = 22920719; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 22920719 group by h (('14', 43),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=22920719 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (22920719) AND cps.thcl in (861) order by cps.score desc LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (22920719) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13052025 22920719 Nombre de photos uploadées : 43 / 23040 (0%) 13052025 22920719 Nombre de photos taguées (types de déchets): 0 / 43 (0%) 13052025 22920719 Nombre de photos taguées (volume) : 0 / 43 (0%) [{'photo_id': 1357847436, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/13/a991ab80a2d4ef4818d8394d13966a09.jpg', 'username': None, 'uploaded_at': 1747140487, 'text': 'image_13052025_14_45_14_10139.jpg'}, {'photo_id': 1357847432, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/13/f7124f1177a446e2c05b8b2831246d86.jpg', 'username': None, 'uploaded_at': 1747140487, 'text': 'image_13052025_14_47_04_10167.jpg'}, {'photo_id': 1357847425, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/13/26487acf6cd936fa6c2a9b1998103f95.jpg', 'username': None, 'uploaded_at': 1747140487, 'text': 'image_13052025_14_47_14_10141.jpg'}, {'photo_id': 1357847921, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/13/87d68feafebf998d8699b2cc7e72da5d.jpg', 'username': None, 'uploaded_at': 1747140547, 'text': 'image_13052025_14_47_54_10136.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 1.1205673217773438e-05 ??????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0021271705627441406 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22920719, '2025-05-13' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1799954,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.024176836013793945 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 1799954 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22899562, 'dashboard_result_id': 10544919, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22899562_14-05-2025_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22899565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22899566, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22899567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22899568, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22899569, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22899570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22899571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22899572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22899573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22899574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22899575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22899576, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22900104, 'dashboard_result_id': 10544920, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22900104_14-05-2025_05_34_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22900111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22900112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22900113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22900114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22900115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22900116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22900117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22900118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22900119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22900120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22900121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22900122, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22900286, 'dashboard_result_id': 10544921, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22900286_14-05-2025_05_35_44.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22900312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22900313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22900314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22900315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22900316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22900317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22900318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22900319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22900320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22900321, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22900322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22900323, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22900644, 'dashboard_result_id': 10544922, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22900644_14-05-2025_05_36_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22900645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22900646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22900647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22900648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22900649, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22900650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22900651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22900652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22900653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22900654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22900655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22900656, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22901957, 'dashboard_result_id': 10544923, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22901957_14-05-2025_05_36_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22901965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22901966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22901967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22901968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22901969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22901970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22901971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22901972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22901973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22901974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22901975, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22901976, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22902217, 'dashboard_result_id': 10544924, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22902217_14-05-2025_05_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22902218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22902219, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22902221, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22902222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22902223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22902225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22902226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22902227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22902229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22902230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22902231, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22902233, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22902591, 'dashboard_result_id': 10544925, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22902591_14-05-2025_05_37_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22902592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22902593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22902594, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22902595, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22902596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22902597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22902598, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22902599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22902600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22902601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22902602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22902603, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22903139, 'dashboard_result_id': 10544926, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22903139_14-05-2025_05_38_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22903152, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22903153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22903154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22903155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22903156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22903158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22903159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22903160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22903161, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22903162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22903163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22903164, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22903622, 'dashboard_result_id': 10544927, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22903622_14-05-2025_05_39_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22903624, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22903625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22903626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22903627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22903628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22903629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22903630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22903631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22903632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22903633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22903634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22903635, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22904132, 'dashboard_result_id': 10544928, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22904132_14-05-2025_05_39_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22904172, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22904173, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22904174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22904175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22904176, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22904177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22904178, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22904179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22904180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22904181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22904182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22904183, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22904418, 'dashboard_result_id': 10544929, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22904418_14-05-2025_05_40_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22904463, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22904464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22904465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22904467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22904468, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22904469, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22904470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22904471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22904472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22904474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22904475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22904476, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22904914, 'dashboard_result_id': 10544930, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22904914_14-05-2025_05_41_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22904915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22904916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22904917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22904918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22904919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22904920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22904921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22904922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22904923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22904924, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22904925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22904926, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22905334, 'dashboard_result_id': 10544931, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22905334_14-05-2025_05_41_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22905349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22905350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22905351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22905352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22905353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22905354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22905355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22905356, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22905357, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22905358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22905359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22905360, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22905715, 'dashboard_result_id': 10544932, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22905715_14-05-2025_05_42_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22905716, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22905717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22905718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22905719, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22905720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22905721, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22905722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22905723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22905724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22905725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22905726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22905727, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22906057, 'dashboard_result_id': 10544933, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22906057_14-05-2025_05_42_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22906098, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22906099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22906100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22906101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22906102, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22906103, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22906104, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22906105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22906106, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22906107, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22906108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22906109, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22907468, 'dashboard_result_id': 10544934, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22907468_14-05-2025_05_43_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22907469, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22907470, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22907471, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22907472, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22907473, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22907474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22907475, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22907476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22907477, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22907478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22907479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22907480, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22907619, 'dashboard_result_id': 10544935, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22907619_14-05-2025_05_44_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22907627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22907628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22907629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22907630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22907631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22907632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22907633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22907634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22907635, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22907636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22907637, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22907638, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22907915, 'dashboard_result_id': 10544936, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22907915_14-05-2025_05_44_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22907931, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22907932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22907933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22907934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22907935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22907936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22907937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22907938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22907939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22907940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22907941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22907942, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22908211, 'dashboard_result_id': 10544937, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22908211_14-05-2025_05_45_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22908212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22908213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22908214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22908215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22908216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22908217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22908218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22908219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22908220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22908221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22908222, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22908223, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22908544, 'dashboard_result_id': 10544938, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22908544_14-05-2025_05_45_44.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22908551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22908552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22908553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22908554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22908555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22908556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22908557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22908558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22908559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22908560, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22908561, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22908562, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22908961, 'dashboard_result_id': 10544939, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22908961_14-05-2025_05_46_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22908969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22908970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22908971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22908972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22908973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22908974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22908975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22908976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22908977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22908978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22908979, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22908980, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22909154, 'dashboard_result_id': 10544940, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22909154_14-05-2025_05_47_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22909158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22909159, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22909160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22909161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22909162, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22909163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22909164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22909165, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22909166, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22909167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22909168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22909169, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22909538, 'dashboard_result_id': 10544941, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22909538_14-05-2025_05_47_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22909540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22909541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22909542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22909543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22909544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22909545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22909546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22909547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22909548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22909549, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22909550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22909551, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22909923, 'dashboard_result_id': 10544942, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22909923_14-05-2025_05_48_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22909937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22909938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22909939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22909940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22909941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22909942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22909943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22909944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22909945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22909946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22909947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22909948, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22910220, 'dashboard_result_id': 10544943, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22910220_14-05-2025_05_48_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22910236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22910237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22910238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22910239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22910240, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22910241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22910242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22910243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22910244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22910245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22910246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22910247, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22910646, 'dashboard_result_id': 10544944, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22910646_14-05-2025_05_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22910666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22910667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22910668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22910669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22910670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22910671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22910672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22910673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22910674, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22910675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22910676, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22910677, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22910854, 'dashboard_result_id': 10544945, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22910854_14-05-2025_05_49_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22910866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22910867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22910868, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22910869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22910870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22910871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22910872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22910873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22910874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22910875, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22910876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22910877, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22911248, 'dashboard_result_id': 10544946, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22911248_14-05-2025_05_50_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22911268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22911269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22911270, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22911271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22911272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22911273, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22911274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22911275, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22911276, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22911277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22911278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22911279, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22911742, 'dashboard_result_id': 10544947, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22911742_14-05-2025_05_50_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22911762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22911763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22911764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22911765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22911766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22911767, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22911768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22911769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22911770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22911771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22911772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22911773, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22912158, 'dashboard_result_id': 10544948, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22912158_14-05-2025_05_50_43.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22912215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22912216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22912217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22912218, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22912219, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22912220, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22912221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22912222, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22912223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22912224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22912225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22912226, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22913169, 'dashboard_result_id': 10544949, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22913169_14-05-2025_05_51_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22913196, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22913197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22913198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22913199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22913200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22913201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22913202, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22913203, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22913204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22913205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22913206, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22913207, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22918939, 'dashboard_result_id': 10544950, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22918939_14-05-2025_05_52_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22918940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22918941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22918942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22918943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22918944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22918945, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22918946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22918947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22918948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22918949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22918950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22918951, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22919106, 'dashboard_result_id': 10544951, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22919106_14-05-2025_05_52_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22919108, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22919109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22919110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22919111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22919112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22919113, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22919114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22919115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22919116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22919117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22919118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22919119, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22919523, 'dashboard_result_id': 10544952, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22919523_14-05-2025_05_53_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22919572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22919573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22919574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22919575, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22919576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22919577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22919578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22919579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22919580, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22919581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22919582, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22919583, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22920074, 'dashboard_result_id': 10544953, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22920074_14-05-2025_05_54_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22920088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22920089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22920090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22920091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22920092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22920093, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22920094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22920095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22920096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22920097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22920098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22920099, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22920719, 'dashboard_result_id': 10544954, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22920719_14-05-2025_05_55_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22920738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22920739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22920740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22920741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22920742, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22920743, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22920744, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22920745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22920746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22920747, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22920748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22920749, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22921327, 'dashboard_result_id': 10544955, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22921327_14-05-2025_05_55_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22921351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22921352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22921353, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22921354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22921355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22921356, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22921357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22921358, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22921359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22921360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22921361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22921362, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22921743, 'dashboard_result_id': 10544956, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22921743_14-05-2025_05_55_44.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22921768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22921769, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22921770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22921771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22921772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22921773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22921774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22921775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22921776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22921777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22921778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22921779, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22922370, 'dashboard_result_id': 10544957, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22922370_14-05-2025_05_56_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22922421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22922422, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22922423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22922424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22922425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22922426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22922427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22922428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22922429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22922430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22922431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22922432, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22922836, 'dashboard_result_id': 10544958, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22922836_14-05-2025_05_56_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22922875, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22922876, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22922877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22922878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22922879, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22922880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22922881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22922882, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22922883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22922884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22922885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22922886, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22923246, 'dashboard_result_id': 10544959, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22923246_14-05-2025_05_57_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22923271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22923272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22923273, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22923274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22923275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22923276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22923277, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22923278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22923279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22923280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22923281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22923282, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22923787, 'dashboard_result_id': 10544960, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22923787_14-05-2025_05_57_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22923802, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22923803, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22923804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22923805, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22923806, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22923807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22923808, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22923809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22923810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22923811, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22923812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22923813, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22924281, 'dashboard_result_id': 10544961, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22924281_14-05-2025_05_58_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22924344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22924345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22924346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22924347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22924348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22924349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22924350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22924351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22924352, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22924353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22924354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22924355, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22924635, 'dashboard_result_id': 10544962, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22924635_14-05-2025_05_58_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22924638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22924639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22924640, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22924641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22924642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22924643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22924644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22924645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22924646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22924647, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22924648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22924649, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22924927, 'dashboard_result_id': 10544963, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22924927_14-05-2025_05_59_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22925050, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22925051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22925052, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22925053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22925054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22925055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22925056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22925057, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22925058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22925059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22925060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22925061, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22925564, 'dashboard_result_id': 10544964, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22925564_14-05-2025_06_00_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22925608, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22925609, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22925610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22925611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22925612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22925613, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22925614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22925615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22925616, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22925617, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22925618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22925619, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22926788, 'dashboard_result_id': 10544965, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22926788_14-05-2025_06_00_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22926793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22926794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22926795, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22926796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22926797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22926798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22926799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22926800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22926801, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22926802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22926803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22926804, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22927199, 'dashboard_result_id': 10544966, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22927199_14-05-2025_06_00_42.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22927213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22927214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22927215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22927216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22927217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22927218, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22927219, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22927220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22927221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22927222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22927223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22927224, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22927484, 'dashboard_result_id': 10544967, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22927484_14-05-2025_06_01_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22927499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22927500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22927501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22927502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22927503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22927504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22927505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22927506, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22927507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22927508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22927509, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22927510, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22928019, 'dashboard_result_id': 10544968, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22928019_14-05-2025_06_02_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22928046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22928047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22928048, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22928049, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22928050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22928051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22928052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22928053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22928054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22928055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22928056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22928057, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22928848, 'dashboard_result_id': 10544969, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22928848_14-05-2025_06_02_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22928968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22928969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22928970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22928971, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22928972, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22928973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22928974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22928975, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22928976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22928977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22928978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22928979, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22929426, 'dashboard_result_id': 10544970, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22929426_14-05-2025_06_03_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22929445, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22929446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22929447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22929448, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22929449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22929450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22929451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22929452, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22929453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22929454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22929455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22929456, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22930305, 'dashboard_result_id': 10544971, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22930305_14-05-2025_06_04_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22930311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22930312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22930313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22930314, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22930315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22930316, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22930317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22930318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22930319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22930320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22930321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22930322, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22931273, 'dashboard_result_id': 10544972, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22931273_14-05-2025_06_04_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22931298, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22931299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22931300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22931301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22931302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22931303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22931304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22931305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22931306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22931307, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22931308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22931309, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22931913, 'dashboard_result_id': 10544973, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22931913_14-05-2025_06_05_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22931964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22931965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22931966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22931967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22931968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22931969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22931970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22931971, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22931972, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22931973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22931974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22931975, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22932946, 'dashboard_result_id': 10544974, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22932946_14-05-2025_06_05_43.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22933022, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22933023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22933024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22933025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22933026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22933027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22933028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22933029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22933031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22933032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22933033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22933034, 'pht': 3726}}"}, {'dashboat_entry_day': 1799954, 'dashboard_run_id': 1812096, 'mtr_portfolio_id': 22934532, 'dashboard_result_id': 10544975, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22934532_14-05-2025_06_05_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22934571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22934572, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22934573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22934574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22934575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22934576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22934577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22934578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22934579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22934580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22934581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22934582, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22899562 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844654, 'mtr_portfolio_id': 22899562, 'created_at': datetime.datetime(2025, 5, 14, 5, 34, 28), 'result': '0.04106883006785619', 'result_long': None, 'result_double': None}] Qualite : 0.04106883006785619 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22899562 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22899562_14-05-2025_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22899562 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22899562_14-05-2025_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22899565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22899566, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22899567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22899568, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22899569, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22899570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22899571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22899572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22899573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22899574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22899575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22899576, 'pht': 3726}}" where mtr_portfolio_id = 22899562 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22899562 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544919, 0.04106883006785619, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22899562_14-05-2025_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22899565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22899566, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22899567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22899568, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22899569, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22899570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22899571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22899572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22899573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22899574, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22899575, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22899576, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22900104 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844655, 'mtr_portfolio_id': 22900104, 'created_at': datetime.datetime(2025, 5, 14, 5, 34, 33), 'result': '0.03937042182963135', 'result_long': None, 'result_double': None}] Qualite : 0.03937042182963135 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22900104 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22900104_14-05-2025_05_34_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22900104 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22900104_14-05-2025_05_34_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22900111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22900112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22900113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22900114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22900115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22900116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22900117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22900118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22900119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22900120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22900121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22900122, 'pht': 3726}}" where mtr_portfolio_id = 22900104 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22900104 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544920, 0.03937042182963135, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22900104_14-05-2025_05_34_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22900111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22900112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22900113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22900114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22900115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22900116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22900117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22900118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22900119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22900120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22900121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22900122, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22900286 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844656, 'mtr_portfolio_id': 22900286, 'created_at': datetime.datetime(2025, 5, 14, 5, 35, 32), 'result': '0.036326921830582705', 'result_long': None, 'result_double': None}] Qualite : 0.036326921830582705 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22900286 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22900286_14-05-2025_05_35_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22900286 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22900286_14-05-2025_05_35_44.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22900312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22900313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22900314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22900315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22900316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22900317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22900318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22900319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22900320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22900321, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22900322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22900323, 'pht': 3726}}" where mtr_portfolio_id = 22900286 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22900286 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544921, 0.036326921830582705, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22900286_14-05-2025_05_35_44.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22900312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22900313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22900314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22900315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22900316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22900317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22900318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22900319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22900320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22900321, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22900322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22900323, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22900644 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844657, 'mtr_portfolio_id': 22900644, 'created_at': datetime.datetime(2025, 5, 14, 5, 35, 59), 'result': '0.04967171572715601', 'result_long': None, 'result_double': None}] Qualite : 0.04967171572715601 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22900644 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22900644_14-05-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22900644 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22900644_14-05-2025_05_36_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22900645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22900646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22900647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22900648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22900649, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22900650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22900651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22900652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22900653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22900654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22900655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22900656, 'pht': 3726}}" where mtr_portfolio_id = 22900644 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22900644 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544922, 0.04967171572715601, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22900644_14-05-2025_05_36_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22900645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22900646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22900647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22900648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22900649, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22900650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22900651, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22900652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22900653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22900654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22900655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22900656, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22901957 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844658, 'mtr_portfolio_id': 22901957, 'created_at': datetime.datetime(2025, 5, 14, 5, 36, 30), 'result': '0.05946221633144105', 'result_long': None, 'result_double': None}] Qualite : 0.05946221633144105 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22901957 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22901957_14-05-2025_05_36_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22901957 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22901957_14-05-2025_05_36_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22901965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22901966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22901967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22901968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22901969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22901970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22901971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22901972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22901973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22901974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22901975, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22901976, 'pht': 3726}}" where mtr_portfolio_id = 22901957 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22901957 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544923, 0.05946221633144105, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22901957_14-05-2025_05_36_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22901965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22901966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22901967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22901968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22901969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22901970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22901971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22901972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22901973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22901974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22901975, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22901976, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22902217 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844659, 'mtr_portfolio_id': 22902217, 'created_at': datetime.datetime(2025, 5, 14, 5, 36, 57), 'result': '0.0194297586093065', 'result_long': None, 'result_double': None}] Qualite : 0.0194297586093065 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22902217 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22902217_14-05-2025_05_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22902217 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22902217_14-05-2025_05_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22902218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22902219, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22902221, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22902222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22902223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22902225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22902226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22902227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22902229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22902230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22902231, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22902233, 'pht': 3726}}" where mtr_portfolio_id = 22902217 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22902217 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544924, 0.0194297586093065, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22902217_14-05-2025_05_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22902218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22902219, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22902221, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22902222, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22902223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22902225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22902226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22902227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22902229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22902230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22902231, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22902233, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22902591 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844660, 'mtr_portfolio_id': 22902591, 'created_at': datetime.datetime(2025, 5, 14, 5, 37, 31), 'result': '0.05081724338502262', 'result_long': None, 'result_double': None}] Qualite : 0.05081724338502262 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22902591 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22902591_14-05-2025_05_37_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22902591 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22902591_14-05-2025_05_37_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22902592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22902593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22902594, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22902595, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22902596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22902597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22902598, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22902599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22902600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22902601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22902602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22902603, 'pht': 3726}}" where mtr_portfolio_id = 22902591 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22902591 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544925, 0.05081724338502262, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22902591_14-05-2025_05_37_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22902592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22902593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22902594, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22902595, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22902596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22902597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22902598, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22902599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22902600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22902601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22902602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22902603, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22903139 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844661, 'mtr_portfolio_id': 22903139, 'created_at': datetime.datetime(2025, 5, 14, 5, 37, 58), 'result': '0.07933848652220292', 'result_long': None, 'result_double': None}] Qualite : 0.07933848652220292 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22903139 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22903139_14-05-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22903139 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22903139_14-05-2025_05_38_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22903152, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22903153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22903154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22903155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22903156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22903158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22903159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22903160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22903161, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22903162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22903163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22903164, 'pht': 3726}}" where mtr_portfolio_id = 22903139 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22903139 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544926, 0.07933848652220292, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22903139_14-05-2025_05_38_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22903152, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22903153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22903154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22903155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22903156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22903158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22903159, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22903160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22903161, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22903162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22903163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22903164, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22903622 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844662, 'mtr_portfolio_id': 22903622, 'created_at': datetime.datetime(2025, 5, 14, 5, 39), 'result': '0.046814487136736235', 'result_long': None, 'result_double': None}] Qualite : 0.046814487136736235 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22903622 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22903622_14-05-2025_05_39_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22903622 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22903622_14-05-2025_05_39_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22903624, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22903625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22903626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22903627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22903628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22903629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22903630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22903631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22903632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22903633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22903634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22903635, 'pht': 3726}}" where mtr_portfolio_id = 22903622 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22903622 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544927, 0.046814487136736235, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22903622_14-05-2025_05_39_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22903624, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22903625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22903626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22903627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22903628, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22903629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22903630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22903631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22903632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22903633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22903634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22903635, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22904132 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844663, 'mtr_portfolio_id': 22904132, 'created_at': datetime.datetime(2025, 5, 14, 5, 39, 31), 'result': '0.04456606341402101', 'result_long': None, 'result_double': None}] Qualite : 0.04456606341402101 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22904132 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22904132_14-05-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22904132 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22904132_14-05-2025_05_39_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22904172, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22904173, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22904174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22904175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22904176, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22904177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22904178, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22904179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22904180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22904181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22904182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22904183, 'pht': 3726}}" where mtr_portfolio_id = 22904132 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22904132 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544928, 0.04456606341402101, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22904132_14-05-2025_05_39_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22904172, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22904173, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22904174, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22904175, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22904176, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22904177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22904178, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22904179, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22904180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22904181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22904182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22904183, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22904418 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844664, 'mtr_portfolio_id': 22904418, 'created_at': datetime.datetime(2025, 5, 14, 5, 40, 2), 'result': '0.062948743904017', 'result_long': None, 'result_double': None}] Qualite : 0.062948743904017 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22904418 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22904418_14-05-2025_05_40_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22904418 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22904418_14-05-2025_05_40_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22904463, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22904464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22904465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22904467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22904468, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22904469, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22904470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22904471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22904472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22904474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22904475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22904476, 'pht': 3726}}" where mtr_portfolio_id = 22904418 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22904418 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544929, 0.062948743904017, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22904418_14-05-2025_05_40_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22904463, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22904464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22904465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22904467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22904468, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22904469, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22904470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22904471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22904472, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22904474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22904475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22904476, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22904914 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844665, 'mtr_portfolio_id': 22904914, 'created_at': datetime.datetime(2025, 5, 14, 5, 40, 58), 'result': '0.049181531733973105', 'result_long': None, 'result_double': None}] Qualite : 0.049181531733973105 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22904914 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22904914_14-05-2025_05_41_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22904914 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22904914_14-05-2025_05_41_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22904915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22904916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22904917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22904918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22904919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22904920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22904921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22904922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22904923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22904924, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22904925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22904926, 'pht': 3726}}" where mtr_portfolio_id = 22904914 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22904914 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544930, 0.049181531733973105, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22904914_14-05-2025_05_41_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22904915, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22904916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22904917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22904918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22904919, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22904920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22904921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22904922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22904923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22904924, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22904925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22904926, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22905334 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844666, 'mtr_portfolio_id': 22905334, 'created_at': datetime.datetime(2025, 5, 14, 5, 41, 32), 'result': '0.04810133892420996', 'result_long': None, 'result_double': None}] Qualite : 0.04810133892420996 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22905334 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22905334_14-05-2025_05_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22905334 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22905334_14-05-2025_05_41_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22905349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22905350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22905351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22905352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22905353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22905354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22905355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22905356, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22905357, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22905358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22905359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22905360, 'pht': 3726}}" where mtr_portfolio_id = 22905334 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22905334 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544931, 0.04810133892420996, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22905334_14-05-2025_05_41_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22905349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22905350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22905351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22905352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22905353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22905354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22905355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22905356, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22905357, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22905358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22905359, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22905360, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22905715 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844667, 'mtr_portfolio_id': 22905715, 'created_at': datetime.datetime(2025, 5, 14, 5, 41, 59), 'result': '0.04346570671290592', 'result_long': None, 'result_double': None}] Qualite : 0.04346570671290592 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22905715 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22905715_14-05-2025_05_42_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22905715 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22905715_14-05-2025_05_42_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22905716, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22905717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22905718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22905719, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22905720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22905721, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22905722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22905723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22905724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22905725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22905726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22905727, 'pht': 3726}}" where mtr_portfolio_id = 22905715 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22905715 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544932, 0.04346570671290592, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22905715_14-05-2025_05_42_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22905716, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22905717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22905718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22905719, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22905720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22905721, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22905722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22905723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22905724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22905725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22905726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22905727, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22906057 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844668, 'mtr_portfolio_id': 22906057, 'created_at': datetime.datetime(2025, 5, 14, 5, 42, 27), 'result': '0.042477822230897196', 'result_long': None, 'result_double': None}] Qualite : 0.042477822230897196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22906057 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22906057_14-05-2025_05_42_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22906057 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22906057_14-05-2025_05_42_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22906098, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22906099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22906100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22906101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22906102, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22906103, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22906104, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22906105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22906106, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22906107, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22906108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22906109, 'pht': 3726}}" where mtr_portfolio_id = 22906057 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22906057 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544933, 0.042477822230897196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22906057_14-05-2025_05_42_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22906098, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22906099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22906100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22906101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22906102, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22906103, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22906104, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22906105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22906106, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22906107, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22906108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22906109, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22907468 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844669, 'mtr_portfolio_id': 22907468, 'created_at': datetime.datetime(2025, 5, 14, 5, 43, 29), 'result': '0.04623084546508824', 'result_long': None, 'result_double': None}] Qualite : 0.04623084546508824 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22907468 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22907468_14-05-2025_05_43_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22907468 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22907468_14-05-2025_05_43_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22907469, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22907470, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22907471, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22907472, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22907473, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22907474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22907475, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22907476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22907477, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22907478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22907479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22907480, 'pht': 3726}}" where mtr_portfolio_id = 22907468 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22907468 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544934, 0.04623084546508824, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22907468_14-05-2025_05_43_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22907469, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22907470, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22907471, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22907472, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22907473, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22907474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22907475, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22907476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22907477, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22907478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22907479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22907480, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22907619 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844670, 'mtr_portfolio_id': 22907619, 'created_at': datetime.datetime(2025, 5, 14, 5, 44), 'result': '0.036366873924237965', 'result_long': None, 'result_double': None}] Qualite : 0.036366873924237965 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22907619 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22907619_14-05-2025_05_44_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22907619 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22907619_14-05-2025_05_44_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22907627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22907628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22907629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22907630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22907631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22907632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22907633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22907634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22907635, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22907636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22907637, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22907638, 'pht': 3726}}" where mtr_portfolio_id = 22907619 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22907619 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544935, 0.036366873924237965, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22907619_14-05-2025_05_44_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22907627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22907628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22907629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22907630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22907631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22907632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22907633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22907634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22907635, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22907636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22907637, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22907638, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22907915 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844671, 'mtr_portfolio_id': 22907915, 'created_at': datetime.datetime(2025, 5, 14, 5, 44, 30), 'result': '0.03743170238871679', 'result_long': None, 'result_double': None}] Qualite : 0.03743170238871679 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22907915 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22907915_14-05-2025_05_44_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22907915 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22907915_14-05-2025_05_44_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22907931, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22907932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22907933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22907934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22907935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22907936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22907937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22907938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22907939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22907940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22907941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22907942, 'pht': 3726}}" where mtr_portfolio_id = 22907915 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22907915 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544936, 0.03743170238871679, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22907915_14-05-2025_05_44_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22907931, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22907932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22907933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22907934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22907935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22907936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22907937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22907938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22907939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22907940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22907941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22907942, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22908211 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844672, 'mtr_portfolio_id': 22908211, 'created_at': datetime.datetime(2025, 5, 14, 5, 45, 29), 'result': '0.04931756889555769', 'result_long': None, 'result_double': None}] Qualite : 0.04931756889555769 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22908211 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22908211_14-05-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22908211 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22908211_14-05-2025_05_45_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22908212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22908213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22908214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22908215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22908216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22908217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22908218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22908219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22908220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22908221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22908222, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22908223, 'pht': 3726}}" where mtr_portfolio_id = 22908211 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22908211 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544937, 0.04931756889555769, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22908211_14-05-2025_05_45_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22908212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22908213, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22908214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22908215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22908216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22908217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22908218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22908219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22908220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22908221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22908222, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22908223, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22908544 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844673, 'mtr_portfolio_id': 22908544, 'created_at': datetime.datetime(2025, 5, 14, 5, 45, 41), 'result': '0.04717335506263136', 'result_long': None, 'result_double': None}] Qualite : 0.04717335506263136 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22908544 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22908544_14-05-2025_05_45_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22908544 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22908544_14-05-2025_05_45_44.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22908551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22908552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22908553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22908554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22908555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22908556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22908557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22908558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22908559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22908560, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22908561, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22908562, 'pht': 3726}}" where mtr_portfolio_id = 22908544 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22908544 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544938, 0.04717335506263136, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22908544_14-05-2025_05_45_44.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22908551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22908552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22908553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22908554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22908555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22908556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22908557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22908558, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22908559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22908560, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22908561, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22908562, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22908961 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844674, 'mtr_portfolio_id': 22908961, 'created_at': datetime.datetime(2025, 5, 14, 5, 45, 59), 'result': '0.04932665721306211', 'result_long': None, 'result_double': None}] Qualite : 0.04932665721306211 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22908961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22908961_14-05-2025_05_46_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22908961 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22908961_14-05-2025_05_46_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22908969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22908970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22908971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22908972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22908973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22908974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22908975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22908976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22908977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22908978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22908979, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22908980, 'pht': 3726}}" where mtr_portfolio_id = 22908961 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22908961 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544939, 0.04932665721306211, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22908961_14-05-2025_05_46_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22908969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22908970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22908971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22908972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22908973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22908974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22908975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22908976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22908977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22908978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22908979, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22908980, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22909154 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844675, 'mtr_portfolio_id': 22909154, 'created_at': datetime.datetime(2025, 5, 14, 5, 46, 58), 'result': '0.03702318690834992', 'result_long': None, 'result_double': None}] Qualite : 0.03702318690834992 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22909154 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22909154_14-05-2025_05_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22909154 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22909154_14-05-2025_05_47_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22909158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22909159, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22909160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22909161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22909162, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22909163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22909164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22909165, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22909166, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22909167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22909168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22909169, 'pht': 3726}}" where mtr_portfolio_id = 22909154 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22909154 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544940, 0.03702318690834992, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22909154_14-05-2025_05_47_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22909158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22909159, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22909160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22909161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22909162, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22909163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22909164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22909165, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22909166, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22909167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22909168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22909169, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22909538 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844676, 'mtr_portfolio_id': 22909538, 'created_at': datetime.datetime(2025, 5, 14, 5, 47, 30), 'result': '0.03239195419738454', 'result_long': None, 'result_double': None}] Qualite : 0.03239195419738454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22909538 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22909538_14-05-2025_05_47_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22909538 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22909538_14-05-2025_05_47_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22909540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22909541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22909542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22909543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22909544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22909545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22909546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22909547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22909548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22909549, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22909550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22909551, 'pht': 3726}}" where mtr_portfolio_id = 22909538 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22909538 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544941, 0.03239195419738454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22909538_14-05-2025_05_47_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22909540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22909541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22909542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22909543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22909544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22909545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22909546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22909547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22909548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22909549, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22909550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22909551, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22909923 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844677, 'mtr_portfolio_id': 22909923, 'created_at': datetime.datetime(2025, 5, 14, 5, 47, 58), 'result': '0.036541115583184944', 'result_long': None, 'result_double': None}] Qualite : 0.036541115583184944 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22909923 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22909923_14-05-2025_05_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22909923 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22909923_14-05-2025_05_48_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22909937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22909938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22909939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22909940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22909941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22909942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22909943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22909944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22909945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22909946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22909947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22909948, 'pht': 3726}}" where mtr_portfolio_id = 22909923 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22909923 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544942, 0.036541115583184944, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22909923_14-05-2025_05_48_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22909937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22909938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22909939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22909940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22909941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22909942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22909943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22909944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22909945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22909946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22909947, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22909948, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22910220 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844678, 'mtr_portfolio_id': 22910220, 'created_at': datetime.datetime(2025, 5, 14, 5, 48, 30), 'result': '0.08646769950050912', 'result_long': None, 'result_double': None}] Qualite : 0.08646769950050912 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22910220 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22910220_14-05-2025_05_48_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22910220 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22910220_14-05-2025_05_48_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22910236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22910237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22910238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22910239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22910240, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22910241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22910242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22910243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22910244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22910245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22910246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22910247, 'pht': 3726}}" where mtr_portfolio_id = 22910220 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22910220 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544943, 0.08646769950050912, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22910220_14-05-2025_05_48_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22910236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22910237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22910238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22910239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22910240, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22910241, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22910242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22910243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22910244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22910245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22910246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22910247, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22910646 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844679, 'mtr_portfolio_id': 22910646, 'created_at': datetime.datetime(2025, 5, 14, 5, 48, 58), 'result': '0.004514655708405667', 'result_long': None, 'result_double': None}] Qualite : 0.004514655708405667 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22910646 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22910646_14-05-2025_05_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22910646 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22910646_14-05-2025_05_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22910666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22910667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22910668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22910669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22910670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22910671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22910672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22910673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22910674, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22910675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22910676, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22910677, 'pht': 3726}}" where mtr_portfolio_id = 22910646 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22910646 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544944, 0.004514655708405667, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22910646_14-05-2025_05_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22910666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22910667, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22910668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22910669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22910670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22910671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22910672, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22910673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22910674, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22910675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22910676, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22910677, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22910854 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844680, 'mtr_portfolio_id': 22910854, 'created_at': datetime.datetime(2025, 5, 14, 5, 49, 27), 'result': '0.1427669261550391', 'result_long': None, 'result_double': None}] Qualite : 0.1427669261550391 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22910854 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22910854_14-05-2025_05_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22910854 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22910854_14-05-2025_05_49_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22910866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22910867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22910868, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22910869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22910870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22910871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22910872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22910873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22910874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22910875, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22910876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22910877, 'pht': 3726}}" where mtr_portfolio_id = 22910854 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22910854 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544945, 0.1427669261550391, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22910854_14-05-2025_05_49_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22910866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22910867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22910868, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22910869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22910870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22910871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22910872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22910873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22910874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22910875, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22910876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22910877, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22911248 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844681, 'mtr_portfolio_id': 22911248, 'created_at': datetime.datetime(2025, 5, 14, 5, 49, 59), 'result': '0.05363221068250745', 'result_long': None, 'result_double': None}] Qualite : 0.05363221068250745 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22911248 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22911248_14-05-2025_05_50_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22911248 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22911248_14-05-2025_05_50_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22911268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22911269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22911270, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22911271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22911272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22911273, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22911274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22911275, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22911276, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22911277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22911278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22911279, 'pht': 3726}}" where mtr_portfolio_id = 22911248 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22911248 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544946, 0.05363221068250745, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22911248_14-05-2025_05_50_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22911268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22911269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22911270, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22911271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22911272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22911273, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22911274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22911275, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22911276, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22911277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22911278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22911279, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22911742 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844682, 'mtr_portfolio_id': 22911742, 'created_at': datetime.datetime(2025, 5, 14, 5, 50, 29), 'result': '0.026141413800474786', 'result_long': None, 'result_double': None}] Qualite : 0.026141413800474786 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22911742 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22911742_14-05-2025_05_50_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22911742 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22911742_14-05-2025_05_50_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22911762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22911763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22911764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22911765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22911766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22911767, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22911768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22911769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22911770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22911771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22911772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22911773, 'pht': 3726}}" where mtr_portfolio_id = 22911742 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22911742 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544947, 0.026141413800474786, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22911742_14-05-2025_05_50_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22911762, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22911763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22911764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22911765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22911766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22911767, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22911768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22911769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22911770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22911771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22911772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22911773, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22912158 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844683, 'mtr_portfolio_id': 22912158, 'created_at': datetime.datetime(2025, 5, 14, 5, 50, 40), 'result': '0.04454957503413968', 'result_long': None, 'result_double': None}] Qualite : 0.04454957503413968 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22912158 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22912158_14-05-2025_05_50_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22912158 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22912158_14-05-2025_05_50_43.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22912215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22912216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22912217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22912218, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22912219, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22912220, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22912221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22912222, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22912223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22912224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22912225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22912226, 'pht': 3726}}" where mtr_portfolio_id = 22912158 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22912158 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544948, 0.04454957503413968, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22912158_14-05-2025_05_50_43.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22912215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22912216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22912217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22912218, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22912219, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22912220, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22912221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22912222, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22912223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22912224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22912225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22912226, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22913169 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844684, 'mtr_portfolio_id': 22913169, 'created_at': datetime.datetime(2025, 5, 14, 5, 51, 30), 'result': '0.0588801791945827', 'result_long': None, 'result_double': None}] Qualite : 0.0588801791945827 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22913169 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22913169_14-05-2025_05_51_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22913169 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22913169_14-05-2025_05_51_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22913196, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22913197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22913198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22913199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22913200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22913201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22913202, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22913203, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22913204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22913205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22913206, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22913207, 'pht': 3726}}" where mtr_portfolio_id = 22913169 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22913169 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544949, 0.0588801791945827, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22913169_14-05-2025_05_51_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22913196, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22913197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22913198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22913199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22913200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22913201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22913202, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22913203, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22913204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22913205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22913206, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22913207, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22918939 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844685, 'mtr_portfolio_id': 22918939, 'created_at': datetime.datetime(2025, 5, 14, 5, 52, 1), 'result': '0.02292468775728902', 'result_long': None, 'result_double': None}] Qualite : 0.02292468775728902 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22918939 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22918939_14-05-2025_05_52_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22918939 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22918939_14-05-2025_05_52_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22918940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22918941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22918942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22918943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22918944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22918945, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22918946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22918947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22918948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22918949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22918950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22918951, 'pht': 3726}}" where mtr_portfolio_id = 22918939 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22918939 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544950, 0.02292468775728902, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22918939_14-05-2025_05_52_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22918940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22918941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22918942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22918943, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22918944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22918945, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22918946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22918947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22918948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22918949, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22918950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22918951, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22919106 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844686, 'mtr_portfolio_id': 22919106, 'created_at': datetime.datetime(2025, 5, 14, 5, 52, 30), 'result': '0.05248187785927012', 'result_long': None, 'result_double': None}] Qualite : 0.05248187785927012 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22919106 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22919106_14-05-2025_05_52_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22919106 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22919106_14-05-2025_05_52_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22919108, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22919109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22919110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22919111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22919112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22919113, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22919114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22919115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22919116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22919117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22919118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22919119, 'pht': 3726}}" where mtr_portfolio_id = 22919106 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22919106 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544951, 0.05248187785927012, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22919106_14-05-2025_05_52_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22919108, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22919109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22919110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22919111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22919112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22919113, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22919114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22919115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22919116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22919117, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22919118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22919119, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22919523 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844687, 'mtr_portfolio_id': 22919523, 'created_at': datetime.datetime(2025, 5, 14, 5, 53, 30), 'result': '0.03714812053936457', 'result_long': None, 'result_double': None}] Qualite : 0.03714812053936457 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22919523 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22919523_14-05-2025_05_53_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22919523 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22919523_14-05-2025_05_53_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22919572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22919573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22919574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22919575, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22919576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22919577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22919578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22919579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22919580, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22919581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22919582, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22919583, 'pht': 3726}}" where mtr_portfolio_id = 22919523 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22919523 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544952, 0.03714812053936457, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22919523_14-05-2025_05_53_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22919572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22919573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22919574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22919575, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22919576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22919577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22919578, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22919579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22919580, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22919581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22919582, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22919583, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22920074 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844688, 'mtr_portfolio_id': 22920074, 'created_at': datetime.datetime(2025, 5, 14, 5, 53, 59), 'result': '0.04664358593632508', 'result_long': None, 'result_double': None}] Qualite : 0.04664358593632508 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22920074 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22920074_14-05-2025_05_54_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22920074 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22920074_14-05-2025_05_54_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22920088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22920089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22920090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22920091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22920092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22920093, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22920094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22920095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22920096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22920097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22920098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22920099, 'pht': 3726}}" where mtr_portfolio_id = 22920074 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22920074 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544953, 0.04664358593632508, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22920074_14-05-2025_05_54_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22920088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22920089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22920090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22920091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22920092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22920093, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22920094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22920095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22920096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22920097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22920098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22920099, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22920719 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2862949, 'mtr_portfolio_id': 22920719, 'created_at': datetime.datetime(2025, 5, 15, 16, 31, 29), 'result': '0.03942796567532359', 'result_long': None, 'result_double': None}] Qualite : 0.03942796567532359 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22920719 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22920719_15-05-2025_16_31_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22920719 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22920719_15-05-2025_16_31_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22920738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22920739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22920740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22920741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22920742, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22920743, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22920744, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22920745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22920746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22920747, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22920748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22920749, 'pht': 3726}}" where mtr_portfolio_id = 22920719 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22920719 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544954, 0.03942796567532359, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22920719_15-05-2025_16_31_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22920738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22920739, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22920740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22920741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22920742, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22920743, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22920744, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22920745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22920746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22920747, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22920748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22920749, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22921327 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844690, 'mtr_portfolio_id': 22921327, 'created_at': datetime.datetime(2025, 5, 14, 5, 55, 30), 'result': '0.03817704215510602', 'result_long': None, 'result_double': None}] Qualite : 0.03817704215510602 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22921327 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22921327_14-05-2025_05_55_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22921327 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22921327_14-05-2025_05_55_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22921351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22921352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22921353, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22921354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22921355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22921356, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22921357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22921358, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22921359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22921360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22921361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22921362, 'pht': 3726}}" where mtr_portfolio_id = 22921327 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22921327 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544955, 0.03817704215510602, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22921327_14-05-2025_05_55_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22921351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22921352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22921353, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22921354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22921355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22921356, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22921357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22921358, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22921359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22921360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22921361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22921362, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22921743 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844691, 'mtr_portfolio_id': 22921743, 'created_at': datetime.datetime(2025, 5, 14, 5, 55, 41), 'result': '0.0674811192347943', 'result_long': None, 'result_double': None}] Qualite : 0.0674811192347943 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22921743 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22921743_14-05-2025_05_55_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22921743 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22921743_14-05-2025_05_55_44.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22921768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22921769, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22921770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22921771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22921772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22921773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22921774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22921775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22921776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22921777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22921778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22921779, 'pht': 3726}}" where mtr_portfolio_id = 22921743 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22921743 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544956, 0.0674811192347943, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22921743_14-05-2025_05_55_44.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22921768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22921769, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22921770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22921771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22921772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22921773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22921774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22921775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22921776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22921777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22921778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22921779, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22922370 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844692, 'mtr_portfolio_id': 22922370, 'created_at': datetime.datetime(2025, 5, 14, 5, 56), 'result': '0.032826409202087965', 'result_long': None, 'result_double': None}] Qualite : 0.032826409202087965 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22922370 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22922370_14-05-2025_05_56_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22922370 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22922370_14-05-2025_05_56_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22922421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22922422, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22922423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22922424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22922425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22922426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22922427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22922428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22922429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22922430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22922431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22922432, 'pht': 3726}}" where mtr_portfolio_id = 22922370 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22922370 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544957, 0.032826409202087965, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22922370_14-05-2025_05_56_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22922421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22922422, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22922423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22922424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22922425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22922426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22922427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22922428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22922429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22922430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22922431, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22922432, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22922836 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844693, 'mtr_portfolio_id': 22922836, 'created_at': datetime.datetime(2025, 5, 14, 5, 56, 28), 'result': '0.0362971827590795', 'result_long': None, 'result_double': None}] Qualite : 0.0362971827590795 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22922836 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22922836_14-05-2025_05_56_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22922836 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22922836_14-05-2025_05_56_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22922875, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22922876, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22922877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22922878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22922879, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22922880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22922881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22922882, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22922883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22922884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22922885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22922886, 'pht': 3726}}" where mtr_portfolio_id = 22922836 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22922836 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544958, 0.0362971827590795, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22922836_14-05-2025_05_56_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22922875, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22922876, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22922877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22922878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22922879, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22922880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22922881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22922882, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22922883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22922884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22922885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22922886, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22923246 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844694, 'mtr_portfolio_id': 22923246, 'created_at': datetime.datetime(2025, 5, 14, 5, 57), 'result': '0.05301842753501337', 'result_long': None, 'result_double': None}] Qualite : 0.05301842753501337 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22923246 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22923246_14-05-2025_05_57_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22923246 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22923246_14-05-2025_05_57_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22923271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22923272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22923273, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22923274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22923275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22923276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22923277, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22923278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22923279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22923280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22923281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22923282, 'pht': 3726}}" where mtr_portfolio_id = 22923246 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22923246 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544959, 0.05301842753501337, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22923246_14-05-2025_05_57_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22923271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22923272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22923273, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22923274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22923275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22923276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22923277, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22923278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22923279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22923280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22923281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22923282, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22923787 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844695, 'mtr_portfolio_id': 22923787, 'created_at': datetime.datetime(2025, 5, 14, 5, 57, 29), 'result': '0.040023813612067666', 'result_long': None, 'result_double': None}] Qualite : 0.040023813612067666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22923787 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22923787_14-05-2025_05_57_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22923787 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22923787_14-05-2025_05_57_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22923802, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22923803, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22923804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22923805, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22923806, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22923807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22923808, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22923809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22923810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22923811, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22923812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22923813, 'pht': 3726}}" where mtr_portfolio_id = 22923787 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22923787 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544960, 0.040023813612067666, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22923787_14-05-2025_05_57_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22923802, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22923803, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22923804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22923805, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22923806, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22923807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22923808, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22923809, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22923810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22923811, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22923812, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22923813, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22924281 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844696, 'mtr_portfolio_id': 22924281, 'created_at': datetime.datetime(2025, 5, 14, 5, 58), 'result': '0.061979745242720895', 'result_long': None, 'result_double': None}] Qualite : 0.061979745242720895 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22924281 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22924281_14-05-2025_05_58_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22924281 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22924281_14-05-2025_05_58_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22924344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22924345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22924346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22924347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22924348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22924349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22924350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22924351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22924352, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22924353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22924354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22924355, 'pht': 3726}}" where mtr_portfolio_id = 22924281 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22924281 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544961, 0.061979745242720895, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22924281_14-05-2025_05_58_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22924344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22924345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22924346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22924347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22924348, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22924349, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22924350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22924351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22924352, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22924353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22924354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22924355, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22924635 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844697, 'mtr_portfolio_id': 22924635, 'created_at': datetime.datetime(2025, 5, 14, 5, 58, 27), 'result': '0.04647790429143834', 'result_long': None, 'result_double': None}] Qualite : 0.04647790429143834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22924635 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22924635_14-05-2025_05_58_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22924635 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22924635_14-05-2025_05_58_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22924638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22924639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22924640, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22924641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22924642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22924643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22924644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22924645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22924646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22924647, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22924648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22924649, 'pht': 3726}}" where mtr_portfolio_id = 22924635 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22924635 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544962, 0.04647790429143834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22924635_14-05-2025_05_58_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22924638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22924639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22924640, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22924641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22924642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22924643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22924644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22924645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22924646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22924647, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22924648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22924649, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22924927 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844698, 'mtr_portfolio_id': 22924927, 'created_at': datetime.datetime(2025, 5, 14, 5, 59, 29), 'result': '0.04560404414022778', 'result_long': None, 'result_double': None}] Qualite : 0.04560404414022778 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22924927 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22924927_14-05-2025_05_59_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22924927 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22924927_14-05-2025_05_59_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22925050, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22925051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22925052, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22925053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22925054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22925055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22925056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22925057, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22925058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22925059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22925060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22925061, 'pht': 3726}}" where mtr_portfolio_id = 22924927 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22924927 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544963, 0.04560404414022778, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22924927_14-05-2025_05_59_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22925050, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22925051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22925052, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22925053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22925054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22925055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22925056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22925057, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22925058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22925059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22925060, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22925061, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22925564 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844699, 'mtr_portfolio_id': 22925564, 'created_at': datetime.datetime(2025, 5, 14, 5, 59, 59), 'result': '0.05480935799133406', 'result_long': None, 'result_double': None}] Qualite : 0.05480935799133406 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22925564 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22925564_14-05-2025_06_00_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22925564 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22925564_14-05-2025_06_00_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22925608, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22925609, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22925610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22925611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22925612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22925613, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22925614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22925615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22925616, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22925617, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22925618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22925619, 'pht': 3726}}" where mtr_portfolio_id = 22925564 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22925564 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544964, 0.05480935799133406, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22925564_14-05-2025_06_00_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22925608, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22925609, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22925610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22925611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22925612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22925613, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22925614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22925615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22925616, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22925617, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22925618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22925619, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22926788 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844700, 'mtr_portfolio_id': 22926788, 'created_at': datetime.datetime(2025, 5, 14, 6, 0, 29), 'result': '0.0426879725086021', 'result_long': None, 'result_double': None}] Qualite : 0.0426879725086021 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22926788 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22926788_14-05-2025_06_00_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22926788 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22926788_14-05-2025_06_00_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22926793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22926794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22926795, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22926796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22926797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22926798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22926799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22926800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22926801, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22926802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22926803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22926804, 'pht': 3726}}" where mtr_portfolio_id = 22926788 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22926788 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544965, 0.0426879725086021, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22926788_14-05-2025_06_00_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22926793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22926794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22926795, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22926796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22926797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22926798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22926799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22926800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22926801, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22926802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22926803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22926804, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22927199 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844701, 'mtr_portfolio_id': 22927199, 'created_at': datetime.datetime(2025, 5, 14, 6, 0, 39), 'result': '0.030299041544641424', 'result_long': None, 'result_double': None}] Qualite : 0.030299041544641424 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22927199 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22927199_14-05-2025_06_00_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22927199 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22927199_14-05-2025_06_00_42.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22927213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22927214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22927215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22927216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22927217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22927218, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22927219, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22927220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22927221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22927222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22927223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22927224, 'pht': 3726}}" where mtr_portfolio_id = 22927199 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22927199 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544966, 0.030299041544641424, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22927199_14-05-2025_06_00_42.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22927213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22927214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22927215, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22927216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22927217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22927218, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22927219, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22927220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22927221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22927222, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22927223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22927224, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22927484 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844702, 'mtr_portfolio_id': 22927484, 'created_at': datetime.datetime(2025, 5, 14, 6, 1, 29), 'result': '0.038249912834967766', 'result_long': None, 'result_double': None}] Qualite : 0.038249912834967766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22927484 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22927484_14-05-2025_06_01_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22927484 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22927484_14-05-2025_06_01_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22927499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22927500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22927501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22927502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22927503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22927504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22927505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22927506, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22927507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22927508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22927509, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22927510, 'pht': 3726}}" where mtr_portfolio_id = 22927484 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22927484 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544967, 0.038249912834967766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22927484_14-05-2025_06_01_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22927499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22927500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22927501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22927502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22927503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22927504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22927505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22927506, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22927507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22927508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22927509, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22927510, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22928019 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844703, 'mtr_portfolio_id': 22928019, 'created_at': datetime.datetime(2025, 5, 14, 6, 1, 58), 'result': '0.05953925383796974', 'result_long': None, 'result_double': None}] Qualite : 0.05953925383796974 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22928019 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22928019_14-05-2025_06_02_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22928019 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22928019_14-05-2025_06_02_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22928046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22928047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22928048, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22928049, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22928050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22928051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22928052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22928053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22928054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22928055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22928056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22928057, 'pht': 3726}}" where mtr_portfolio_id = 22928019 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22928019 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544968, 0.05953925383796974, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22928019_14-05-2025_06_02_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22928046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22928047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22928048, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22928049, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22928050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22928051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22928052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22928053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22928054, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22928055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22928056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22928057, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22928848 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844704, 'mtr_portfolio_id': 22928848, 'created_at': datetime.datetime(2025, 5, 14, 6, 2, 30), 'result': '0.027735158230438133', 'result_long': None, 'result_double': None}] Qualite : 0.027735158230438133 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22928848 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22928848_14-05-2025_06_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22928848 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22928848_14-05-2025_06_02_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22928968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22928969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22928970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22928971, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22928972, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22928973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22928974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22928975, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22928976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22928977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22928978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22928979, 'pht': 3726}}" where mtr_portfolio_id = 22928848 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22928848 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544969, 0.027735158230438133, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22928848_14-05-2025_06_02_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22928968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22928969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22928970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22928971, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22928972, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22928973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22928974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22928975, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22928976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22928977, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22928978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22928979, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22929426 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844705, 'mtr_portfolio_id': 22929426, 'created_at': datetime.datetime(2025, 5, 14, 6, 3, 29), 'result': '0.03815031856444235', 'result_long': None, 'result_double': None}] Qualite : 0.03815031856444235 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22929426 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22929426_14-05-2025_06_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22929426 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22929426_14-05-2025_06_03_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22929445, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22929446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22929447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22929448, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22929449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22929450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22929451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22929452, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22929453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22929454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22929455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22929456, 'pht': 3726}}" where mtr_portfolio_id = 22929426 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22929426 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544970, 0.03815031856444235, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22929426_14-05-2025_06_03_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22929445, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22929446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22929447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22929448, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22929449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22929450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22929451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22929452, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22929453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22929454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22929455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22929456, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22930305 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844706, 'mtr_portfolio_id': 22930305, 'created_at': datetime.datetime(2025, 5, 14, 6, 4), 'result': '0.04889962695132548', 'result_long': None, 'result_double': None}] Qualite : 0.04889962695132548 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22930305 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22930305_14-05-2025_06_04_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22930305 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22930305_14-05-2025_06_04_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22930311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22930312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22930313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22930314, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22930315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22930316, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22930317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22930318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22930319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22930320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22930321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22930322, 'pht': 3726}}" where mtr_portfolio_id = 22930305 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22930305 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544971, 0.04889962695132548, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22930305_14-05-2025_06_04_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22930311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22930312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22930313, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22930314, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22930315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22930316, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22930317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22930318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22930319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22930320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22930321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22930322, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22931273 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844707, 'mtr_portfolio_id': 22931273, 'created_at': datetime.datetime(2025, 5, 14, 6, 4, 28), 'result': '0.04543116149342565', 'result_long': None, 'result_double': None}] Qualite : 0.04543116149342565 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22931273 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22931273_14-05-2025_06_04_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22931273 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22931273_14-05-2025_06_04_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22931298, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22931299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22931300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22931301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22931302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22931303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22931304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22931305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22931306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22931307, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22931308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22931309, 'pht': 3726}}" where mtr_portfolio_id = 22931273 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22931273 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544972, 0.04543116149342565, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22931273_14-05-2025_06_04_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22931298, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22931299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22931300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22931301, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22931302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22931303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22931304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22931305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22931306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22931307, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22931308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22931309, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22931913 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844708, 'mtr_portfolio_id': 22931913, 'created_at': datetime.datetime(2025, 5, 14, 6, 5, 28), 'result': '0.03559104211121122', 'result_long': None, 'result_double': None}] Qualite : 0.03559104211121122 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22931913 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22931913_14-05-2025_06_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22931913 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22931913_14-05-2025_06_05_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22931964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22931965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22931966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22931967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22931968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22931969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22931970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22931971, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22931972, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22931973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22931974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22931975, 'pht': 3726}}" where mtr_portfolio_id = 22931913 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22931913 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544973, 0.03559104211121122, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22931913_14-05-2025_06_05_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22931964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22931965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22931966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22931967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22931968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22931969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22931970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22931971, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22931972, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22931973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22931974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22931975, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22932946 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844709, 'mtr_portfolio_id': 22932946, 'created_at': datetime.datetime(2025, 5, 14, 6, 5, 39), 'result': '0.03471667458775689', 'result_long': None, 'result_double': None}] Qualite : 0.03471667458775689 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22932946 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22932946_14-05-2025_06_05_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22932946 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22932946_14-05-2025_06_05_43.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22933022, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22933023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22933024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22933025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22933026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22933027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22933028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22933029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22933031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22933032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22933033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22933034, 'pht': 3726}}" where mtr_portfolio_id = 22932946 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22932946 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544974, 0.03471667458775689, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22932946_14-05-2025_06_05_43.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22933022, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22933023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22933024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22933025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22933026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22933027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22933028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22933029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22933031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22933032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22933033, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22933034, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22934532 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2844710, 'mtr_portfolio_id': 22934532, 'created_at': datetime.datetime(2025, 5, 14, 6, 5, 58), 'result': '0.04740703826132558', 'result_long': None, 'result_double': None}] Qualite : 0.04740703826132558 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22934532 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22934532_14-05-2025_06_05_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22934532 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22934532_14-05-2025_06_05_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22934571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22934572, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22934573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22934574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22934575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22934576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22934577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22934578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22934579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22934580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22934581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22934582, 'pht': 3726}}" where mtr_portfolio_id = 22934532 and dashboard_run_id = 1812096 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22934532 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10544975, 0.04740703826132558, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22934532_14-05-2025_06_05_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22934571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22934572, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22934573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22934574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22934575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22934576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22934577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22934578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22934579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22934580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22934581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22934582, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22899562,22900104,22900286,22900644,22901957,22902217,22902591,22903139,22903622,22904132,22904418,22904914,22905334,22905715,22906057,22907468,22907619,22907915,22908211,22908544,22908961,22909154,22909538,22909923,22910220,22910646,22910854,22911248,22911742,22912158,22913169,22918939,22919106,22919523,22920074,22920719,22921327,22921743,22922370,22922836,22923246,22923787,22924281,22924635,22924927,22925564,22926788,22927199,22927484,22928019,22928848,22929426,22930305,22931273,22931913,22932946,22934532) result : ((1357748357,), (1357748359,), (1357748383,), (1357748387,), (1357748390,), (1357748393,), (1357748417,), (1357748426,), (1357748456,), (1357748482,), (1357748510,), (1357748537,), (1357748834,), (1357748859,), (1357748884,), (1357749309,), (1357749334,), (1357749358,), (1357749383,), (1357749524,), (1357749529,), (1357749565,), (1357749797,), (1357749799,), (1357749801,), (1357749804,), (1357749808,), (1357749809,), (1357750030,), (1357750033,), (1357750036,), (1357750039,), (1357750042,), (1357750149,), (1357750173,), (1357750332,), (1357750335,), (1357750978,), (1357750983,), (1357750985,), (1357750997,), (1357751002,), (1357751003,), (1357751119,), (1357751122,), (1357751124,), (1357751127,), (1357751129,), (1357751153,), (1357751156,), (1357751158,), (1357751160,), (1357751186,), (1357751188,), (1357751190,), (1357751191,), (1357751193,), (1357751213,), (1357751215,), (1357751217,), (1357751218,), (1357751220,), (1357751271,), (1357751249,), (1357751251,), (1357751253,), (1357751255,), (1357751269,), (1357751293,), (1357751295,), (1357751296,), (1357751348,), (1357751350,), (1357751351,), (1357751352,), (1357751354,), (1357751355,), (1357751387,), (1357751405,), (1357751406,), (1357751407,), (1357751439,), (1357751441,), (1357751442,), (1357751639,), (1357751715,), (1357751764,), (1357751777,), (1357751833,), (1357752063,), (1357752068,), (1357752072,), (1357752077,), (1357752080,), (1357752081,), (1357752097,), (1357752099,), (1357752101,), (1357752103,), (1357752105,), (1357752120,), (1357752124,), (1357752125,), (1357752128,), (1357752145,), (1357752149,), (1357752151,), (1357752153,), (1357752156,), (1357752159,), (1357752179,), (1357752182,), (1357752189,), (1357752192,), (1357752204,), (1357752213,), (1357752393,), (1357752404,), (1357752426,), (1357752427,), (1357752435,), (1357752590,), (1357752661,), (1357752672,), (1357752679,), (1357752766,), (1357752793,), (1357752821,), (1357752831,), (1357752863,), (1357752853,), (1357752857,), (1357752860,), (1357752885,), (1357752888,), (1357752890,), (1357752928,), (1357752932,), (1357752933,), (1357752958,), (1357752960,), (1357752961,), (1357752962,), (1357752963,), (1357752982,), (1357752985,), (1357752987,), (1357753014,), (1357753017,), (1357753019,), (1357753021,), (1357753025,), (1357753043,), (1357753045,), (1357753046,), (1357753048,), (1357753072,), (1357753076,), (1357753079,), (1357753082,), (1357753086,), (1357753098,), (1357753101,), (1357753103,), (1357753105,), (1357753107,), (1357753125,), (1357753128,), (1357753174,), (1357753181,), (1357753185,), (1357753186,), (1357753188,), (1357753191,), (1357753202,), (1357753206,), (1357753209,), (1357753212,), (1357753215,), (1357753219,), (1357753248,), (1357753251,), (1357753254,), (1357753279,), (1357753307,), (1357753324,), (1357753328,), (1357753336,), (1357753366,), (1357753394,), (1357753524,), (1357753544,), (1357753547,), (1357753550,), (1357753569,), (1357753707,), (1357753629,), (1357753657,), (1357753681,), (1357753741,), (1357753744,), (1357753746,), (1357753748,), (1357753771,), (1357753775,), (1357753778,), (1357753781,), (1357753797,), (1357753800,), (1357753803,), (1357753805,), (1357753807,), (1357753811,), (1357753839,), (1357753842,), (1357753845,), (1357753847,), (1357753865,), (1357753868,), (1357753870,), (1357753872,), (1357753874,), (1357753932,), (1357753963,), (1357753987,), (1357754005,), (1357754033,), (1357754034,), (1357754036,), (1357754038,), (1357754234,), (1357754236,), (1357754238,), (1357754349,), (1357754352,), (1357754359,), (1357754362,), (1357754364,), (1357754393,), (1357754396,), (1357754398,), (1357754400,), (1357754402,), (1357754420,), (1357754423,), (1357754425,), (1357754427,), (1357754430,), (1357754447,), (1357754450,), (1357754836,), (1357754841,), (1357754852,), (1357754884,), (1357754912,), (1357754923,), (1357755038,), (1357756988,), (1357757068,), (1357757099,), (1357757103,), (1357757105,), (1357757106,), (1357757234,), (1357757236,), (1357757237,), (1357757238,), (1357757263,), (1357757264,), (1357757266,), (1357757267,), (1357757269,), (1357757270,), (1357757293,), (1357757294,), (1357757295,), (1357757296,), (1357757298,), (1357757325,), (1357757333,), (1357757335,), (1357757336,), (1357757338,), (1357757359,), (1357757361,), (1357757363,), (1357757365,), (1357757368,), (1357757370,), (1357757384,), (1357757387,), (1357757390,), (1357757392,), (1357757414,), (1357757416,), (1357757417,), (1357757421,), (1357757422,), (1357757424,), (1357757447,), (1357757449,), (1357757451,), (1357757453,), (1357757467,), (1357757470,), (1357757485,), (1357757488,), (1357757489,), (1357757504,), (1357757506,), (1357757508,), (1357757541,), (1357757556,), (1357757583,), (1357757608,), (1357757638,), (1357757666,), (1357757734,), (1357757736,), (1357757739,), (1357757741,), (1357757743,), (1357757746,), (1357757764,), (1357757761,), (1357757785,), (1357757788,), (1357757791,), (1357757794,), (1357757797,), (1357757799,), (1357757880,), (1357757893,), (1357757895,), (1357757896,), (1357757897,), (1357757909,), (1357758011,), (1357758013,), (1357758014,), (1357758016,), (1357758060,), (1357758068,), (1357758070,), (1357758088,), (1357758152,), (1357758452,), (1357758454,), (1357758455,), (1357758574,), (1357758575,), (1357758576,), (1357758577,), (1357758579,), (1357758598,), (1357758600,), (1357758601,), (1357758625,), (1357758628,), (1357758630,), (1357758632,), (1357758636,), (1357758638,), (1357758656,), (1357758658,), (1357758660,), (1357758662,), (1357758665,), (1357758667,), (1357758698,), (1357758702,), (1357758704,), (1357758737,), (1357758739,), (1357758741,), (1357758742,), (1357758744,), (1357758746,), (1357758766,), (1357758768,), (1357758769,), (1357758826,), (1357758860,), (1357758892,), (1357758980,), (1357758971,), (1357758973,), (1357758975,), (1357758977,), (1357758999,), (1357759002,), (1357759005,), (1357759007,), (1357759010,), (1357759022,), (1357759024,), (1357759027,), (1357759063,), (1357759065,), (1357759068,), (1357759070,), (1357759072,), (1357759076,), (1357759090,), (1357759092,), (1357759098,), (1357759125,), (1357759149,), (1357759425,), (1357759439,), (1357759441,), (1357759465,), (1357759468,), (1357759470,), (1357759473,), (1357759476,), (1357759478,), (1357759493,), (1357759495,), (1357759497,), (1357759499,), (1357759502,), (1357759517,), (1357759521,), (1357759523,), (1357759526,), (1357759552,), (1357759555,), (1357759560,), (1357759569,), (1357759575,), (1357759578,), (1357759673,), (1357759676,), (1357759678,), (1357759680,), (1357759681,), (1357759724,), (1357759726,), (1357759727,), (1357759728,), (1357759749,), (1357759752,), (1357759753,), (1357759755,), (1357759756,), (1357759757,), (1357759775,), (1357759776,), (1357759777,), (1357759797,), (1357759799,), (1357759801,), (1357759802,), (1357759803,), (1357759806,), (1357759840,), (1357759833,), (1357759835,), (1357759837,), (1357759838,), (1357759864,), (1357759866,), (1357759868,), (1357759870,), (1357759872,), (1357759895,), (1357759898,), (1357759901,), (1357759905,), (1357759909,), (1357759911,), (1357759928,), (1357759930,), (1357759932,), (1357759934,), (1357759976,), (1357759979,), (1357759986,), (1357760011,), (1357760038,), (1357760147,), (1357760149,), (1357760151,), (1357760152,), (1357760153,), (1357760176,), (1357760177,), (1357760178,), (1357760179,), (1357760181,), (1357760183,), (1357760213,), (1357760215,), (1357760217,), (1357760219,), (1357760244,), (1357760246,), (1357760247,), (1357760248,), (1357760250,), (1357760251,), (1357760275,), (1357760278,), (1357760280,), (1357760300,), (1357760303,), (1357760305,), (1357760307,), (1357760327,), (1357760354,), (1357760358,), (1357760360,), (1357760362,), (1357760369,), (1357760487,), (1357760494,), (1357760496,), (1357760499,), (1357760506,), (1357760514,), (1357760597,), (1357760599,), (1357760601,), (1357760723,), (1357760711,), (1357760714,), (1357760715,), (1357760717,), (1357760719,), (1357760754,), (1357760757,), (1357760760,), (1357760785,), (1357760788,), (1357760790,), (1357760792,), (1357760813,), (1357760817,), (1357760819,), (1357760821,), (1357760823,), (1357760841,), (1357760843,), (1357760845,), (1357760847,), (1357760875,), (1357760879,), (1357760881,), (1357760882,), (1357760883,), (1357760912,), (1357760914,), (1357760916,), (1357760918,), (1357760921,), (1357760923,), (1357760948,), (1357760951,), (1357760983,), (1357760985,), (1357760987,), (1357760989,), (1357760991,), (1357761017,), (1357761021,), (1357761024,), (1357761026,), (1357761088,), (1357761091,), (1357761093,), (1357761094,), (1357761133,), (1357761135,), (1357761136,), (1357761137,), (1357761139,), (1357761164,), (1357761166,), (1357761167,), (1357761168,), (1357761170,), (1357761193,), (1357761197,), (1357761199,), (1357761201,), (1357761221,), (1357761494,), (1357761491,), (1357761492,), (1357761493,), (1357761523,), (1357761524,), (1357761525,), (1357761526,), (1357761528,), (1357761530,), (1357761558,), (1357761561,), (1357761717,), (1357761774,), (1357761767,), (1357761771,), (1357761802,), (1357761804,), (1357761806,), (1357761809,), (1357761810,), (1357761819,), (1357761821,), (1357761845,), (1357761849,), (1357761851,), (1357761853,), (1357761872,), (1357761908,), (1357761910,), (1357761913,), (1357761915,), (1357761917,), (1357761939,), (1357761942,), (1357761945,), (1357761976,), (1357761979,), (1357761981,), (1357762027,), (1357762029,), (1357762031,), (1357762081,), (1357762084,), (1357762086,), (1357762087,), (1357762089,), (1357762091,), (1357762133,), (1357762134,), (1357762135,), (1357762136,), (1357762137,), (1357762155,), (1357762157,), (1357762159,), (1357762161,), (1357762164,), (1357762185,), (1357762188,), (1357762190,), (1357762240,), (1357762243,), (1357762246,), (1357762248,), (1357762249,), (1357762252,), (1357762368,), (1357762276,), (1357762318,), (1357762450,), (1357762469,), (1357762471,), (1357762472,), (1357762474,), (1357762478,), (1357762500,), (1357762536,), (1357762557,), (1357762594,), (1357762596,), (1357762598,), (1357762599,), (1357762620,), (1357762623,), (1357762626,), (1357762676,), (1357762678,), (1357762679,), (1357762711,), (1357762737,), (1357762743,), (1357762783,), (1357762784,), (1357762785,), (1357762786,), (1357762788,), (1357762807,), (1357762809,), (1357762811,), (1357762838,), (1357762840,), (1357762841,), (1357762864,), (1357762867,), (1357762869,), (1357762871,), (1357762874,), (1357762900,), (1357762901,), (1357762904,), (1357762915,), (1357762917,), (1357762933,), (1357762936,), (1357762938,), (1357762940,), (1357762966,), (1357762968,), (1357762969,), (1357762986,), (1357762988,), (1357762991,), (1357762993,), (1357762996,), (1357763013,), (1357763016,), (1357763019,), (1357763022,), (1357763024,), (1357763026,), (1357763089,), (1357763076,), (1357763079,), (1357763081,), (1357763165,), (1357763168,), (1357763170,), (1357763211,), (1357763221,), (1357763224,), (1357763285,), (1357763287,), (1357763289,), (1357763291,), (1357763294,), (1357763338,), (1357763341,), (1357763343,), (1357763371,), (1357763374,), (1357763376,), (1357763378,), (1357763381,), (1357763439,), (1357763442,), (1357763445,), (1357763448,), (1357763452,), (1357763471,), (1357763475,), (1357763476,), (1357763513,), (1357763514,), (1357763515,), (1357763517,), (1357763518,), (1357763520,), (1357763542,), (1357763544,), (1357763545,), (1357763570,), (1357763572,), (1357763573,), (1357763622,), (1357763624,), (1357763625,), (1357763626,), (1357763627,), (1357763629,), (1357763665,), (1357763666,), (1357763667,), (1357763668,), (1357763669,), (1357763691,), (1357763693,), (1357763714,), (1357763715,), (1357763716,), (1357763718,), (1357763720,), (1357763723,), (1357763745,), (1357763748,), (1357763749,), (1357763750,), (1357763785,), (1357763780,), (1357763783,), (1357763819,), (1357763821,), (1357763823,), (1357763824,), (1357763825,), (1357763849,), (1357763851,), (1357763852,), (1357763853,), (1357763855,), (1357763856,), (1357763876,), (1357763878,), (1357763879,), (1357763880,), (1357763910,), (1357763913,), (1357763915,), (1357763917,), (1357763920,), (1357763922,), (1357763973,), (1357763976,), (1357763978,), (1357763980,), (1357763982,), (1357764016,), (1357764020,), (1357764021,), (1357764035,), (1357764044,), (1357764047,), (1357764052,), (1357764054,), (1357764056,), (1357764068,), (1357764071,), (1357764072,), (1357764073,), (1357764075,), (1357764099,), (1357764101,), (1357764102,), (1357764125,), (1357764131,), (1357764133,), (1357764135,), (1357764137,), (1357764141,), (1357764166,), (1357764169,), (1357764171,), (1357764173,), (1357764197,), (1357764208,), (1357764211,), (1357764213,), (1357764215,), (1357764237,), (1357764241,), (1357764245,), (1357764250,), (1357764254,), (1357764258,), (1357764332,), (1357764320,), (1357764323,), (1357764326,), (1357764330,), (1357764355,), (1357764357,), (1357764359,), (1357764361,), (1357764364,), (1357764391,), (1357764398,), (1357764402,), (1357764403,), (1357764455,), (1357764458,), (1357764490,), (1357764496,), (1357764503,), (1357764505,), (1357764508,), (1357764532,), (1357764534,), (1357764536,), (1357764537,), (1357764539,), (1357764540,), (1357764572,), (1357764575,), (1357764578,), (1357764580,), (1357764600,), (1357764601,), (1357764602,), (1357764603,), (1357764604,), (1357764627,), (1357764629,), (1357764630,), (1357764682,), (1357764697,), (1357764703,), (1357764735,), (1357766841,), (1357766838,), (1357766980,), (1357767005,), (1357767007,), (1357767032,), (1357767035,), (1357767037,), (1357767040,), (1357767067,), (1357767070,), (1357767073,), (1357767143,), (1357767146,), (1357767149,), (1357767150,), (1357767167,), (1357767169,), (1357767170,), (1357767171,), (1357767173,), (1357767200,), (1357767202,), (1357767205,), (1357767207,), (1357767230,), (1357767232,), (1357767234,), (1357767269,), (1357767260,), (1357767263,), (1357767265,), (1357767267,), (1357767288,), (1357767290,), (1357767291,), (1357767316,), (1357767318,), (1357767320,), (1357767323,), (1357767326,), (1357767328,), (1357767346,), (1357767349,), (1357767350,), (1357767351,), (1357767353,), (1357767355,), (1357767379,), (1357767385,), (1357767387,), (1357767389,), (1357767415,), (1357767418,), (1357767419,), (1357767420,), (1357767422,), (1357767446,), (1357767450,), (1357767453,), (1357767455,), (1357767458,), (1357767460,), (1357767479,), (1357767481,), (1357767482,), (1357767484,), (1357767486,), (1357767502,), (1357767503,), (1357767505,), (1357767507,), (1357767529,), (1357767531,), (1357767532,), (1357767533,), (1357767535,), (1357767561,), (1357767564,), (1357767565,), (1357767567,), (1357767570,), (1357767572,), (1357767606,), (1357767609,), (1357767611,), (1357767674,), (1357767677,), (1357767680,), (1357767682,), (1357767685,), (1357767689,), (1357767721,), (1357767723,), (1357767727,), (1357767731,), (1357767756,), (1357767760,), (1357767793,), (1357767799,), (1357767802,), (1357767805,), (1357767853,), (1357767835,), (1357767838,), (1357767842,), (1357767845,), (1357767849,), (1357767872,), (1357767874,), (1357767875,), (1357767899,), (1357767901,), (1357767948,), (1357767950,), (1357767951,), (1357767952,), (1357767980,), (1357767982,), (1357767984,), (1357767985,), (1357767987,), (1357767988,), (1357768012,), (1357768014,), (1357768015,), (1357768016,), (1357768018,), (1357768045,), (1357768047,), (1357768049,), (1357768051,), (1357768079,), (1357768081,), (1357768082,), (1357768083,), (1357768084,), (1357768086,), (1357768111,), (1357768113,), (1357768114,), (1357768141,), (1357768142,), (1357768143,), (1357768144,), (1357768146,), (1357768148,), (1357768172,), (1357768174,), (1357768175,), (1357768176,), (1357768178,), (1357768180,), (1357768204,), (1357768208,), (1357768211,), (1357768237,), (1357768240,), (1357768242,), (1357768244,), (1357768247,), (1357768249,), (1357768270,), (1357768272,), (1357768274,), (1357768276,), (1357768340,), (1357768345,), (1357768347,), (1357768361,), (1357768365,), (1357768413,), (1357768389,), (1357768401,), (1357768407,), (1357768410,), (1357768449,), (1357768451,), (1357768453,), (1357768456,), (1357768458,), (1357768483,), (1357768485,), (1357769168,), (1357769170,), (1357769171,), (1357769179,), (1357769239,), (1357769241,), (1357769242,), (1357769243,), (1357769276,), (1357769278,), (1357769281,), (1357769283,), (1357769286,), (1357769309,), (1357769311,), (1357769312,), (1357769313,), (1357769347,), (1357769349,), (1357769351,), (1357769354,), (1357769357,), (1357769361,), (1357769384,), (1357769386,), (1357769388,), (1357769390,), (1357769414,), (1357769415,), (1357769416,), (1357769417,), (1357769441,), (1357769443,), (1357769444,), (1357769445,), (1357769447,), (1357769472,), (1357769474,), (1357769475,), (1357769476,), (1357769478,), (1357769480,), (1357769509,), (1357769511,), (1357769512,), (1357769513,), (1357769547,), (1357769552,), (1357769555,), (1357769558,), (1357769562,), (1357769567,), (1357769610,), (1357769601,), (1357769603,), (1357769605,), (1357769607,), (1357769633,), (1357769635,), (1357769636,), (1357769638,), (1357769640,), (1357769653,), (1357769656,), (1357769659,), (1357769660,), (1357769662,), (1357769665,), (1357769688,), (1357769698,), (1357769699,), (1357769701,), (1357769704,), (1357769708,), (1357769724,), (1357769728,), (1357769730,), (1357769752,), (1357769755,), (1357769756,), (1357769758,), (1357769761,), (1357769763,), (1357769780,), (1357769783,), (1357769785,), (1357769787,), (1357769807,), (1357769810,), (1357769815,), (1357769822,), (1357769829,), (1357769835,), (1357769856,), (1357769857,), (1357769858,), (1357769859,), (1357769861,), (1357769880,), (1357769883,), (1357769886,), (1357769888,), (1357769891,), (1357769908,), (1357769911,), (1357769913,), (1357769915,), (1357769918,), (1357769921,), (1357769954,), (1357769958,), (1357769960,), (1357769981,), (1357769984,), (1357769986,), (1357769989,), (1357769992,), (1357769994,), (1357770007,), (1357770012,), (1357770022,), (1357770024,), (1357770027,), (1357770047,), (1357770051,), (1357770053,), (1357770057,), (1357770090,), (1357770078,), (1357770083,), (1357770084,), (1357770087,), (1357770107,), (1357770109,), (1357770110,), (1357770111,), (1357770113,), (1357770144,), (1357770147,), (1357770149,), (1357770151,), (1357770172,), (1357770174,), (1357770175,), (1357770176,), (1357770178,), (1357770180,), (1357770200,), (1357770202,), (1357770204,), (1357770205,), (1357770207,), (1357770227,), (1357770229,), (1357770230,), (1357770398,), (1357770401,), (1357770403,), (1357770405,), (1357770407,), (1357770411,), (1357770444,), (1357770448,), (1357770450,), (1357770473,), (1357770476,), (1357770477,), (1357770478,), (1357770507,), (1357770510,), (1357770512,), (1357770513,), (1357770556,), (1357770547,), (1357770550,), (1357770552,), (1357770553,), (1357770555,), (1357770588,), (1357770590,), (1357770609,), (1357770611,), (1357770701,), (1357770727,), (1357770728,), (1357770759,), (1357770761,), (1357770763,), (1357770766,), (1357770770,), (1357770773,), (1357770795,), (1357770797,), (1357770800,), (1357770802,), (1357770806,), (1357770830,), (1357770833,), (1357770835,), (1357770837,), (1357770841,), (1357770987,), (1357771055,), (1357771176,), (1357771188,), (1357771395,), (1357771463,), (1357771527,), (1357771538,), (1357771540,), (1357771546,), (1357771572,), (1357771580,), (1357771581,), (1357771584,), (1357771591,), (1357771620,), (1357771628,), (1357771629,), (1357771692,), (1357771694,), (1357771695,), (1357771696,), (1357771699,), (1357771702,), (1357771764,), (1357771765,), (1357771768,), (1357771769,), (1357771807,), (1357771809,), (1357771810,), (1357771811,), (1357771836,), (1357771837,), (1357771866,), (1357771868,), (1357771870,), (1357771871,), (1357771872,), (1357771878,), (1357771911,), (1357771908,), (1357771909,), (1357771910,), (1357771935,), (1357771937,), (1357771938,), (1357771939,), (1357771968,), (1357771971,), (1357771972,), (1357771973,), (1357771976,), (1357771977,), (1357772006,), (1357772008,), (1357772009,), (1357772010,), (1357772035,), (1357772037,), (1357772038,), (1357772041,), (1357772042,), (1357772047,), (1357772091,), (1357772093,), (1357772096,), (1357772098,), (1357772099,), (1357772129,), (1357772131,), (1357772132,), (1357772133,), (1357772159,), (1357772160,), (1357772161,), (1357772162,), (1357772164,), (1357772166,), (1357772196,), (1357772198,), (1357772199,), (1357772200,), (1357772237,), (1357772239,), (1357772241,), (1357772246,), (1357772323,), (1357772326,), (1357772327,), (1357772328,), (1357772353,), (1357772355,), (1357772356,), (1357772357,), (1357772358,), (1357772384,), (1357772431,), (1357772437,), (1357772453,), (1357772459,), (1357772516,), (1357772502,), (1357772506,), (1357772509,), (1357772513,), (1357772550,), (1357772554,), (1357772557,), (1357772559,), (1357772564,), (1357773205,), (1357773211,), (1357773214,), (1357773218,), (1357773269,), (1357773271,), (1357773274,), (1357773277,), (1357773336,), (1357773341,), (1357773380,), (1357773384,), (1357773386,), (1357773389,), (1357773392,), (1357773428,), (1357773432,), (1357773436,), (1357773440,), (1357773445,), (1357773473,), (1357773477,), (1357773480,), (1357773516,), (1357773521,), (1357773524,), (1357773528,), (1357773532,), (1357773534,), (1357773560,), (1357773563,), (1357773566,), (1357773570,), (1357773602,), (1357773606,), (1357773610,), (1357773648,), (1357773651,), (1357773654,), (1357773657,), (1357773689,), (1357773692,), (1357773742,), (1357773744,), (1357773746,), (1357773748,), (1357773788,), (1357773791,), (1357773797,), (1357773801,), (1357773805,), (1357773810,), (1357773848,), (1357773845,), (1357773846,), (1357773882,), (1357773885,), (1357773887,), (1357773889,), (1357773924,), (1357773929,), (1357773932,), (1357773936,), (1357773938,), (1357773969,), (1357773970,), (1357773971,), (1357773973,), (1357773977,), (1357774009,), (1357774011,), (1357774015,), (1357774019,), (1357774596,), (1357774600,), (1357774605,), (1357774609,), (1357774999,), (1357775139,), (1357775143,), (1357775146,), (1357775184,), (1357775186,), (1357775188,), (1357775190,), (1357775226,), (1357775229,), (1357775232,), (1357775269,), (1357775271,), (1357775272,), (1357775273,), (1357775306,), (1357775309,), (1357775312,), (1357775348,), (1357775351,), (1357775354,), (1357775356,), (1357775359,), (1357775386,), (1357775388,), (1357775391,), (1357775394,), (1357775426,), (1357775428,), (1357775430,), (1357775468,), (1357775471,), (1357775475,), (1357775517,), (1357775513,), (1357775515,), (1357775550,), (1357775553,), (1357775556,), (1357775559,), (1357775589,), (1357775592,), (1357775594,), (1357775632,), (1357775636,), (1357775678,), (1357775681,), (1357775684,), (1357775688,), (1357775692,), (1357775699,), (1357775701,), (1357775705,), (1357775709,), (1357775710,), (1357775714,), (1357775715,), (1357775718,), (1357775720,), (1357775724,), (1357775734,), (1357775737,), (1357775781,), (1357775783,), (1357775785,), (1357775787,), (1357775789,), (1357775818,), (1357775820,), (1357775861,), (1357775906,), (1357775911,), (1357775918,), (1357775966,), (1357775968,), (1357776009,), (1357776013,), (1357776059,), (1357776061,), (1357776062,), (1357776063,), (1357776065,), (1357776118,), (1357776123,), (1357776129,), (1357776137,), (1357776142,), (1357776187,), (1357776170,), (1357776173,), (1357776177,), (1357776182,), (1357776222,), (1357776244,), (1357776415,), (1357776417,), (1357776419,), (1357776421,), (1357776424,), (1357776459,), (1357776460,), (1357776463,), (1357776466,), (1357776562,), (1357776604,), (1357776844,), (1357776870,), (1357776898,), (1357776924,), (1357776931,), (1357777066,), (1357777078,), (1357777104,), (1357777142,), (1357777200,), (1357777238,), (1357777372,), (1357777374,), (1357777399,), (1357777425,), (1357777453,), (1357777484,), (1357777598,), (1357777601,), (1357777603,), (1357777605,), (1357777649,), (1357777652,), (1357777655,), (1357777657,), (1357777661,), (1357777663,), (1357777703,), (1357777704,), (1357777782,), (1357777790,), (1357777825,), (1357777828,), (1357777835,), (1357777859,), (1357777873,), (1357777881,), (1357777974,), (1357777975,), (1357777977,), (1357777979,), (1357777982,), (1357777986,), (1357778017,), (1357778021,), (1357778026,), (1357778106,), (1357778082,), (1357778090,), (1357778094,), (1357778098,), (1357778102,), (1357778241,), (1357778248,), (1357778267,), (1357778269,), (1357778380,), (1357778384,), (1357778388,), (1357778527,), (1357778532,), (1357778534,), (1357778537,), (1357778540,), (1357778575,), (1357778577,), (1357778580,), (1357778582,), (1357778618,), (1357778620,), (1357778624,), (1357778627,), (1357778660,), (1357778663,), (1357778665,), (1357778712,), (1357778713,), (1357778715,), (1357778717,), (1357778760,), (1357778766,), (1357778805,), (1357778809,), (1357778812,), (1357778814,), (1357778816,), (1357778819,), (1357778850,), (1357778853,), (1357778856,), (1357778857,), (1357778890,), (1357778893,), (1357778895,), (1357778945,), (1357778949,), (1357778976,), (1357779000,), (1357779043,), (1357779046,), (1357779047,), (1357779078,), (1357779084,), (1357779088,), (1357779093,), (1357779135,), (1357779126,), (1357779129,), (1357779132,), (1357779227,), (1357779254,), (1357779276,), (1357779283,), (1357779304,), (1357779532,), (1357779708,), (1357779710,), (1357779777,), (1357779779,), (1357779932,), (1357779956,), (1357780168,), (1357780208,), (1357780230,), (1357780256,), (1357780370,), (1357780372,), (1357780433,), (1357780445,), (1357780513,), (1357780521,), (1357780576,), (1357780577,), (1357780749,), (1357780759,), (1357780811,), (1357780971,), (1357781222,), (1357781644,), (1357781672,), (1357781698,), (1357781939,), (1357781966,), (1357781994,), (1357782126,), (1357782127,), (1357782128,), (1357782258,), (1357782286,), (1357782315,), (1357782588,), (1357782524,), (1357782557,), (1357782579,), (1357782585,), (1357782769,), (1357782913,), (1357782962,), (1357783004,), (1357783194,), (1357783199,), (1357783205,), (1357783237,), (1357783240,), (1357783244,), (1357783248,), (1357783280,), (1357783283,), (1357783286,), (1357783289,), (1357783327,), (1357783332,), (1357783336,), (1357783339,), (1357783342,), (1357783546,), (1357783594,), (1357783636,), (1357783664,), (1357783696,), (1357783906,), (1357783934,), (1357783961,), (1357783987,), (1357783999,), (1357784061,), (1357784087,), (1357784112,), (1357784136,), (1357784160,), (1357784205,), (1357784285,), (1357784289,), (1357784292,), (1357784327,), (1357784331,), (1357784334,), (1357784336,), (1357784359,), (1357784387,), (1357784594,), (1357784630,), (1357784681,), (1357784723,), (1357785037,), (1357785041,), (1357785045,), (1357785058,), (1357785674,), (1357785778,), (1357834890,), (1357833573,), (1357835055,), (1357835099,), (1357835139,), (1357835144,), (1357835184,), (1357835192,), (1357835219,), (1357835618,), (1357835561,), (1357835590,), (1357836008,), (1357836308,), (1357836745,), (1357836774,), (1357837188,), (1357837206,), (1357837236,), (1357837294,), (1357837321,), (1357837337,), (1357837526,), (1357837554,), (1357837583,), (1357837590,), (1357837592,), (1357837708,), (1357837711,), (1357837713,), (1357837715,), (1357837719,), (1357837721,), (1357837778,), (1357837782,), (1357837939,), (1357837942,), (1357837956,), (1357837982,), (1357838305,), (1357838335,), (1357838342,), (1357838346,), (1357838366,), (1357838393,), (1357838494,), (1357838498,), (1357838501,), (1357838506,), (1357838509,), (1357838538,), (1357838541,), (1357838542,), (1357838545,), (1357838548,), (1357838552,), (1357838627,), (1357838661,), (1357838691,), (1357838720,), (1357839295,), (1357839266,), (1357839282,), (1357839287,), (1357839289,), (1357839293,), (1357839576,), (1357839580,), (1357839581,), (1357839622,), (1357839911,), (1357839915,), (1357839941,), (1357839946,), (1357839950,), (1357839954,), (1357839989,), (1357839991,), (1357839993,), (1357839996,), (1357840102,), (1357840149,), (1357840207,), (1357840267,), (1357840297,), (1357840331,), (1357840775,), (1357840841,), (1357840894,), (1357841220,), (1357841227,), (1357841250,), (1357841294,), (1357841875,), (1357841918,), (1357841944,), (1357841970,), (1357842454,), (1357842465,), (1357842491,), (1357842493,), (1357842498,), (1357842521,), (1357842583,), (1357842687,), (1357842715,), (1357842747,), (1357842777,), (1357842807,), (1357842913,), (1357842929,), (1357842937,), (1357842942,), (1357843007,), (1357843012,), (1357843016,), (1357843019,), (1357843024,), (1357843028,), (1357843061,), (1357843068,), (1357843071,), (1357843074,), (1357843147,), (1357843151,), (1357843156,), (1357843159,), (1357843163,), (1357843167,), (1357843195,), (1357843218,), (1357843224,), (1357843227,), (1357843236,), (1357843298,), (1357843284,), (1357843287,), (1357843291,), (1357843294,), (1357843336,), (1357843338,), (1357843340,), (1357843344,), (1357843383,), (1357843387,), (1357843389,), (1357843391,), (1357843393,), (1357843396,), (1357843497,), (1357843610,), (1357843638,), (1357843675,), (1357843735,), (1357844016,), (1357844035,), (1357844054,), (1357844064,), (1357844077,), (1357844259,), (1357844289,), (1357844316,), (1357844346,), (1357844378,), (1357844410,), (1357844616,), (1357844668,), (1357844705,), (1357844711,), (1357844715,), (1357844876,), (1357844916,), (1357844947,), (1357844986,), (1357845041,), (1357845435,), (1357845438,), (1357845441,), (1357845445,), (1357845454,), (1357845482,), (1357845486,), (1357845490,), (1357845494,), (1357845499,), (1357845538,), (1357845540,), (1357845870,), (1357846378,), (1357847048,), (1357847425,), (1357847432,), (1357847436,), (1357847776,), (1357847805,), (1357847834,), (1357847867,), (1357847893,), (1357847921,), (1357847981,), (1357847985,), (1357848003,), (1357848472,), (1357848552,), (1357848594,), (1357849016,), (1357849073,), (1357849092,), (1357849105,), (1357849359,), (1357849375,), (1357849384,), (1357849407,), (1357849431,), (1357849444,), (1357849518,), (1357849521,), (1357849525,), (1357849560,), (1357849564,), (1357849568,), (1357849603,), (1357849682,), (1357849684,), (1357849688,), (1357849689,), (1357849735,), (1357849742,), (1357849750,), (1357849758,), (1357849766,), (1357849775,), (1357849841,), (1357849817,), (1357849824,), (1357849830,), (1357849835,), (1357849868,), (1357849873,), (1357849889,), (1357849916,), (1357849940,), (1357850068,), (1357850071,), (1357850076,), (1357850081,), (1357850085,), (1357850121,), (1357850123,), (1357850126,), (1357850130,), (1357850166,), (1357850170,), (1357850173,), (1357850178,), (1357850183,), (1357850392,), (1357850421,), (1357850448,), (1357850478,), (1357850506,), (1357850536,), (1357850801,), (1357850826,), (1357850860,), (1357850913,), (1357850965,), (1357851386,), (1357851429,), (1357851457,), (1357851500,), (1357851539,), (1357851568,), (1357851976,), (1357852026,), (1357852077,), (1357852765,), (1357852795,), (1357852821,), (1357852855,), (1357852870,), (1357852887,), (1357853305,), (1357853312,), (1357853337,), (1357853368,), (1357853384,), (1357854055,), (1357854140,), (1357854191,), (1357854245,), (1357854490,), (1357854516,), (1357854543,), (1357854573,), (1357854601,), (1357854630,), (1357854659,), (1357854663,), (1357854668,), (1357854672,), (1357854891,), (1357854918,), (1357854923,), (1357854944,), (1357854957,), (1357854962,), (1357855121,), (1357855060,), (1357855091,), (1357855294,), (1357855299,), (1357855302,), (1357855323,), (1357855518,), (1357855523,), (1357855526,), (1357855574,), (1357855578,), (1357855605,), (1357855634,), (1357855664,), (1357855693,), (1357856008,), (1357856066,), (1357856122,), (1357856181,), (1357856397,), (1357856400,), (1357856421,), (1357856457,), (1357856508,), (1357856545,), (1357856773,), (1357856789,), (1357856820,), (1357856825,), (1357856828,), (1357856830,), (1357856977,), (1357856980,), (1357856983,), (1357856987,), (1357856991,), (1357857135,), (1357857160,), (1357857185,), (1357857212,), (1357857246,), (1357857272,), (1357857313,), (1357857316,), (1357857319,), (1357857365,), (1357857369,), (1357857371,), (1357857373,), (1357857376,), (1357857379,), (1357857454,), (1357857487,), (1357857513,), (1357857542,), (1357857571,), (1357857604,), (1357857759,), (1357857775,), (1357857802,), (1357857986,), (1357857989,), (1357857991,), (1357857994,), (1357857999,), (1357858015,), (1357858156,), (1357858159,), (1357858161,), (1357858163,), (1357858218,), (1357858204,), (1357858208,), (1357858211,), (1357858214,), (1357858252,), (1357858255,), (1357858257,), (1357858260,), (1357858264,), (1357858292,), (1357858296,), (1357858300,), (1357858303,), (1357858331,), (1357858333,), (1357858337,), (1357858342,), (1357858348,), (1357858357,), (1357858378,), (1357858384,), (1357858388,), (1357858391,), (1357858393,), (1357858395,), (1357858424,), (1357858427,), (1357858429,), (1357858469,), (1357858471,), (1357858473,), (1357858486,), (1357858490,), (1357858496,), (1357858543,), (1357858546,), (1357858548,), (1357858566,), (1357858578,), (1357858584,), (1357858620,), (1357858623,), (1357858626,), (1357858629,), (1357858635,), (1357858666,), (1357858671,), (1357858699,), (1357858728,), (1357858757,), (1357858787,), (1357859096,), (1357859099,), (1357859101,), (1357859104,), (1357859323,), (1357859376,), (1357859408,), (1357859438,), (1357859467,), (1357859468,), (1357859570,), (1357859573,), (1357859576,), (1357859725,), (1357859749,), (1357859764,), (1357859766,), (1357859769,), (1357859772,), (1357859802,), (1357859804,), (1357859807,), (1357859809,), (1357859865,), (1357859847,), (1357859851,), (1357859854,), (1357859857,), (1357859861,), (1357859927,), (1357859935,), (1357859937,), (1357859941,), (1357859946,), (1357859951,), (1357859979,), (1357859982,), (1357859985,), (1357859989,), (1357860058,), (1357860080,), (1357860084,), (1357860089,), (1357860096,), (1357860113,), (1357860130,), (1357860135,), (1357860141,), (1357860145,), (1357860193,), (1357860196,), (1357860198,), (1357860266,), (1357860269,), (1357860271,), (1357860274,), (1357860277,), (1357860452,), (1357860455,), (1357860456,), (1357860460,), (1357860464,), (1357860467,), (1357860501,), (1357860503,), (1357860505,), (1357860546,), (1357860549,), (1357860552,), (1357860556,), (1357860557,), (1357860561,), (1357860597,), (1357860600,), (1357860602,), (1357860603,), (1357860605,), (1357860609,), (1357860642,), (1357860646,), (1357860649,), (1357860685,), (1357860686,), (1357860688,), (1357860693,), (1357860810,), (1357860817,), (1357860827,), (1357860835,), (1357860839,), (1357860928,), (1357860894,), (1357860915,), (1357860920,), (1357860926,), (1357860992,), (1357860997,), (1357861000,), (1357861044,), (1357861047,), (1357861049,), (1357861052,), (1357861057,), (1357861060,), (1357861109,), (1357861114,), (1357861118,), (1357861122,), (1357861125,), (1357861255,), (1357861259,), (1357861262,), (1357861265,), (1357861294,), (1357861310,), (1357861313,), (1357861317,), (1357861320,), (1357861346,), (1357861348,), (1357861351,), (1357861354,), (1357861357,), (1357861361,), (1357861393,), (1357861396,), (1357861399,), (1357861402,), (1357861405,), (1357861455,), (1357861460,), (1357861465,), (1357861469,), (1357861472,), (1357861510,), (1357861517,), (1357861522,), (1357861526,), (1357861531,), (1357861608,), (1357861612,), (1357861617,), (1357861621,), (1357861622,), (1357861626,), (1357861659,), (1357861663,), (1357861666,), (1357861702,), (1357861706,), (1357861710,), (1357861713,), (1357861718,), (1357861751,), (1357861754,), (1357861758,), (1357861761,), (1357861765,), (1357861768,), (1357861813,), (1357861857,), (1357861863,), (1357861941,), (1357861895,), (1357861900,), (1357861917,), (1357861927,), (1357861931,), (1357861982,), (1357861986,), (1357861990,), (1357861994,), (1357862047,), (1357862052,), (1357862057,), (1357862063,), (1357862067,), (1357862100,), (1357862104,), (1357862108,), (1357862112,), (1357862156,), (1357862160,), (1357862165,), (1357862170,), (1357862176,), (1357862230,), (1357862234,), (1357862238,), (1357862270,), (1357862274,), (1357862278,), (1357862280,), (1357862317,), (1357862322,), (1357862326,), (1357862331,), (1357862374,), (1357862376,), (1357862379,), (1357862382,), (1357862384,), (1357862420,), (1357862424,), (1357862428,), (1357862431,), (1357862438,), (1357862442,), (1357862477,), (1357862482,), (1357862525,), (1357862528,), (1357862531,), (1357862534,), (1357862603,), (1357862652,), (1357862656,), (1357862659,), (1357862662,), (1357862664,), (1357862670,), (1357862704,), (1357862708,), (1357862795,), (1357862778,), (1357862781,), (1357862784,), (1357862787,), (1357862791,), (1357862828,), (1357862831,), (1357862834,), (1357862837,), (1357862841,), (1357862872,), (1357862875,), (1357862879,), (1357862883,), (1357862926,), (1357862929,), (1357862931,), (1357862933,), (1357862934,), (1357862938,), (1357862974,), (1357862977,), (1357862981,), (1357862985,), (1357863040,), (1357863043,), (1357863045,), (1357863047,), (1357863049,), (1357863053,), (1357863089,), (1357863093,), (1357863097,), (1357863101,), (1357863137,), (1357863140,), (1357863142,), (1357863144,), (1357863146,), (1357863147,), (1357863175,), (1357863178,), (1357863180,), (1357863182,), (1357863211,), (1357863213,), (1357863217,), (1357863219,), (1357863224,), (1357863228,), (1357863290,), (1357863295,), (1357863299,), (1357863302,), (1357863305,), (1357863309,), (1357863357,), (1357863360,), (1357863362,), (1357863407,), (1357863411,), (1357863415,), (1357863418,), (1357863422,), (1357863426,), (1357863464,), (1357863466,), (1357863468,), (1357863509,), (1357863513,), (1357863516,), (1357863519,), (1357863522,), (1357863564,), (1357863555,), (1357863558,), (1357863561,), (1357863590,), (1357863594,), (1357863598,), (1357863601,), (1357863605,), (1357863610,), (1357863644,), (1357863647,), (1357863648,), (1357863650,), (1357863689,), (1357863692,), (1357863696,), (1357863699,), (1357863702,), (1357863704,), (1357863750,), (1357863752,), (1357863755,), (1357863757,), (1357863760,), (1357863763,), (1357863822,), (1357863824,), (1357863827,), (1357863829,), (1357863831,), (1357863884,), (1357863887,), (1357863889,), (1357863891,), (1357863894,), (1357863947,), (1357863950,), (1357863951,), (1357863952,), (1357863955,), (1357863959,), (1357863992,), (1357863993,), (1357863994,), (1357863996,), (1357864034,), (1357864038,), (1357864042,), (1357864046,), (1357864051,), (1357864056,), (1357864103,), (1357864107,), (1357864109,), (1357864112,), (1357864150,), (1357864152,), (1357864154,), (1357864155,), (1357864160,), (1357864164,), (1357864198,), (1357864200,), (1357864203,), (1357864206,), (1357864259,), (1357864267,), (1357864275,), (1357864283,), (1357864291,), (1357864311,), (1357864313,), (1357864318,), (1357864322,), (1357864344,), (1357864386,), (1357864372,), (1357864377,), (1357864381,), (1357864565,), (1357864591,), (1357864646,), (1357864698,), (1357864732,), (1357864791,), (1357864925,), (1357864951,), (1357864954,), (1357864957,), (1357865002,), (1357865007,), (1357865012,), (1357865017,), (1357865022,), (1357865053,), (1357865070,), (1357865098,), (1357865128,), (1357865145,), (1357865253,), (1357865257,), (1357865261,), (1357865265,), (1357865269,), (1357865274,), (1357865299,), (1357865303,), (1357865308,), (1357865313,), (1357865355,), (1357865360,), (1357865381,), (1357865384,), (1357865389,), (1357865419,), (1357865423,), (1357865427,), (1357865431,), (1357865435,), (1357865458,), (1357865468,), (1357865469,), (1357865475,), (1357865508,), (1357865514,), (1357865602,), (1357865606,), (1357865616,), (1357865672,), (1357865890,), (1357865894,), (1357865897,), (1357865900,), (1357865903,), (1357865908,), (1357866020,), (1357866025,), (1357866031,), (1357866331,), (1357866678,), (1357866671,), (1357866675,), (1357867088,), (1357867091,), (1357867102,), (1357867123,), (1357867129,), (1357867258,), (1357867276,), (1357867278,), (1357867281,), (1357867285,), (1357867312,), (1357867315,), (1357867369,), (1357867372,), (1357867740,), (1357867747,), (1357867785,), (1357867798,), (1357867800,), (1357867805,), (1357867868,), (1357867871,), (1357867873,), (1357867875,), (1357867891,), (1357867981,), (1357870571,), (1357870653,), (1357870684,), (1357870712,), (1357870837,), (1357870843,), (1357870847,), (1357870868,), (1357870895,), (1357871188,), (1357871204,), (1357871208,), (1357871220,), (1357871414,), (1357871447,), (1357871473,), (1357871476,), (1357871744,), (1357871773,), (1357871799,), (1357871826,), (1357871860,), (1357871889,), (1357872366,), (1357872419,), (1357872469,), (1357873027,), (1357873045,), (1357873054,), (1357873196,), (1357873198,), (1357873222,), (1357873249,), (1357873277,), (1357873533,), (1357873537,), (1357873542,), (1357873576,), (1357873597,), (1357873628,), (1357873631,), (1357873633,), (1357873637,), (1357874006,), (1357874036,), (1357874061,), (1357874282,), (1357874284,), (1357874286,), (1357874288,), (1357874321,), (1357874323,), (1357874327,), (1357874329,), (1357874333,), (1357874336,), (1357874368,), (1357874373,), (1357874378,), (1357874427,), (1357874416,), (1357874419,), (1357874422,), (1357874425,), (1357874456,), (1357874459,), (1357874463,), (1357874465,), (1357874467,), (1357874469,), (1357874519,), (1357874522,), (1357874525,), (1357874528,), (1357874531,), (1357874534,), (1357874563,), (1357874565,), (1357874568,), (1357874571,), (1357874573,), (1357875272,), (1357875276,), (1357875289,), (1357875357,), (1357875366,), (1357875368,), (1357875369,), (1357875407,), (1357875411,), (1357875414,), (1357875417,), (1357875419,), (1357875421,), (1357875451,), (1357875453,), (1357875455,), (1357875457,), (1357875459,), (1357875462,), (1357875492,), (1357875495,), (1357875498,), (1357875500,), (1357875532,), (1357875534,), (1357875536,), (1357875538,), (1357875539,), (1357875542,), (1357875570,), (1357875572,), (1357875574,), (1357875606,), (1357875610,), (1357875618,), (1357875621,), (1357875672,), (1357875676,), (1357875680,), (1357875681,), (1357875724,), (1357875727,), (1357875730,), (1357875732,), (1357875736,), (1357875774,), (1357875776,), (1357875778,), (1357875780,), (1357875819,), (1357875812,), (1357875814,), (1357875816,), (1357875848,), (1357875850,), (1357875860,), (1357875863,), (1357876102,), (1357876147,), (1357876168,), (1357876171,), (1357876172,), (1357876330,), (1357876336,), (1357876354,), (1357876386,), (1357876407,), (1357876482,), (1357876485,), (1357876489,), (1357876523,), (1357876526,), (1357876528,), (1357876531,), (1357876535,), (1357876596,), (1357876623,), (1357876650,), (1357876680,), (1357876714,), (1357876997,), (1357877030,), (1357877058,), (1357877088,), (1357877117,), (1357877636,), (1357877684,), (1357877736,), (1357878181,), (1357878207,), (1357878218,), (1357878223,), (1357878227,), (1357878232,), (1357878415,), (1357878612,), (1357878661,), (1357878699,), (1357879005,), (1357879052,), (1357879097,), (1357879157,), (1357879212,), (1357879655,), (1357879711,), (1357879766,), (1357880059,), (1357880391,), (1357880468,), (1357880548,), (1357880614,), (1357880658,), (1357880920,), (1357880956,), (1357881000,), (1357881032,), (1357881632,), (1357881463,), (1357881517,), (1357881572,), (1357881712,), (1357881746,), (1357881807,), (1357882398,), (1357882772,), (1357882869,), (1357883010,), (1357883138,), (1357883152,), (1357883191,), (1357883219,), (1357883263,), (1357883294,), (1357883495,), (1357883498,), (1357883503,), (1357883522,), (1357883534,), (1357883546,), (1357883687,), (1357883714,), (1357883751,), (1357883755,), (1357883759,), (1357883762,), (1357883766,), (1357883770,), (1357883788,), (1357883791,), (1357883793,), (1357883795,), (1357883798,), (1357883975,), (1357887659,), (1357887141,), (1357887640,), (1357887650,), (1357888235,), (1357888357,), (1357888425,), (1357888479,), (1357888528,), (1357888573,), (1357888931,), (1357889505,), (1357889609,), (1357889630,), (1357889723,), (1357889739,), (1357889797,), (1357890223,), (1357890230,), (1357890251,), (1357890293,), (1357890296,), (1357890314,), (1357890425,), (1357890415,), (1357890420,), (1357890451,), (1357890455,), (1357890459,), (1357890486,), (1357890514,), (1357890543,), (1357890570,), (1357890601,), (1357890631,), (1357890816,), (1357890819,), (1357890822,), (1357890824,), (1357890828,), (1357891203,), (1357891235,), (1357891262,), (1357891727,), (1357891764,), (1357891827,), (1357891857,), (1357891887,), (1357891917,), (1357891945,), (1357892120,), (1357892162,), (1357892191,), (1357892218,), (1357892258,), (1357892649,), (1357892764,), (1357892792,), (1357892821,), (1357893151,), (1357893182,), (1357893211,), (1357893242,), (1357893503,), (1357893534,), (1357893561,), (1357893939,), (1357894077,), (1357894091,), (1357894095,), (1357894129,), (1357894133,), (1357894162,), (1357894214,), (1357894265,), (1357894537,), (1357894557,), (1357894573,), (1357894576,), (1357894587,), (1357894665,), (1357894668,), (1357899606,), (1357900251,), (1357900304,), (1357900332,), (1357900592,), (1357900595,), (1357900597,), (1357901063,), (1357901116,), (1357901169,), (1357901219,), (1357902158,), (1357902246,), (1357902336,), (1357902410,), (1357903300,), (1357903529,), (1357903628,), (1357903783,), (1357903898,), (1357904835,), (1357904917,), (1357905019,), (1357905768,), (1357905785,), (1357905798,), (1357905801,), (1357906101,), (1357906226,), (1357906337,), (1357906451,), (1357906554,), (1357906658,), (1357907255,), (1357907297,), (1357907325,), (1357907496,), (1357907525,), (1357907555,), (1357907580,), (1357907588,), (1357907626,), (1357907629,), (1357907633,), (1357907635,), (1357908041,), (1357908093,), (1357908159,), (1357908260,), (1357908340,), (1357908658,), (1357908708,), (1357908752,), (1357909246,), (1357909250,), (1357909255,), (1357909261,), (1357909313,), (1357909299,), (1357909304,), (1357909308,), (1357909348,), (1357909352,), (1357909354,), (1357909357,), (1357909393,), (1357909395,), (1357909396,), (1357909398,), (1357909729,), (1357909755,), (1357909808,), (1357909864,), (1357909919,), (1357909971,), (1357910567,), (1357910645,), (1357910750,), (1357910849,), (1357910946,), (1357911003,), (1357911620,), (1357911698,), (1357912966,), (1357913016,), (1357913073,), (1357913124,), (1357913164,), (1357913884,), (1357913911,), (1357913966,), (1357914018,), (1357914036,), (1357914038,), (1357914156,), (1357914201,), (1357914244,), (1357914293,), (1357914345,), (1357914760,), (1357914822,), (1357914824,), (1357914975,), (1357914978,), (1357914996,), (1357915005,), (1357915275,), (1357915328,), (1357915378,), (1357915430,), (1357915493,), (1357916115,), (1357916194,), (1357916244,), (1357916259,), (1357916287,), (1357916572,), (1357916660,), (1357916747,), (1357916780,), (1357916947,), (1357916976,), (1357917005,), (1357917025,), (1357917425,), (1357917375,), (1357917387,), (1357917390,), (1357917394,), (1357917977,), (1357918054,), (1357918132,), (1357918215,), (1357919161,), (1357919211,), (1357919238,), (1357919264,), (1357919532,), (1357919581,), (1357919630,), (1357919682,), (1357919732,), (1357919805,), (1357920614,), (1357920684,), (1357920766,), (1357920856,), (1357920957,), (1357921031,), (1357921463,), (1357921485,), (1357921535,), (1357921540,), (1357921987,), (1357922202,), (1357922256,), (1357922292,), (1357922330,), (1357922348,), (1357922899,), (1357922933,), (1357922958,), (1357922986,), (1357923011,), (1357923400,), (1357923429,), (1357923454,), (1357923480,), (1357923778,), (1357923805,), (1357923838,), (1357923864,), (1357924000,), (1357924007,), (1357924033,), (1357924064,), (1357924510,), (1357924566,), (1357924623,), (1357924674,), (1357925253,), (1357925281,), (1357925307,), (1357925332,), (1357925649,), (1357925675,), (1357925689,), (1357926055,), (1357926083,), (1357926111,), (1357926143,), (1357926201,), (1357926875,), (1357926731,), (1357926790,), (1357926852,), (1357927087,), (1357927136,), (1357927179,), (1357927350,), (1357927375,), (1357927671,), (1357927672,), (1357927677,), (1357928153,), (1357928180,), (1357928209,), (1357928421,), (1357928424,), (1357928427,), (1357928430,), (1357928434,), (1357928461,), (1357928900,), (1357928959,), (1357929016,), (1357929070,), (1357929382,), (1357929411,), (1357929470,), (1357929517,), (1357929689,), (1357929691,), (1357929694,), (1357929697,), (1357929724,), (1357929727,), (1357929731,), (1357929734,), (1357929737,), (1357929768,), (1357929771,), (1357934117,), (1357935074,), (1357935082,), (1357937562,), (1357937618,), (1357941053,), (1357941370,), (1357942087,), (1357942115,), (1357942162,), (1357942964,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13052025': {'nb_upload': 43, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22920719]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1357849841, 1357849775, 1357849766, 1357849758, 1357849750, 1357849742, 1357849735, 1357849689, 1357849688, 1357849684, 1357849682, 1357849603, 1357849568, 1357849564, 1357849560, 1357849525, 1357849521, 1357849518, 1357849444, 1357849431, 1357849407, 1357849384, 1357849375, 1357849359, 1357849105, 1357849092, 1357849073, 1357849016, 1357848594, 1357848552, 1357848472, 1357848003, 1357847985, 1357847981, 1357847921, 1357847893, 1357847867, 1357847834, 1357847805, 1357847776, 1357847436, 1357847432, 1357847425] map_info['map_portfolio_photo'] : {22920719: [1357849841, 1357849775, 1357849766, 1357849758, 1357849750, 1357849742, 1357849735, 1357849689, 1357849688, 1357849684, 1357849682, 1357849603, 1357849568, 1357849564, 1357849560, 1357849525, 1357849521, 1357849518, 1357849444, 1357849431, 1357849407, 1357849384, 1357849375, 1357849359, 1357849105, 1357849092, 1357849073, 1357849016, 1357848594, 1357848552, 1357848472, 1357848003, 1357847985, 1357847981, 1357847921, 1357847893, 1357847867, 1357847834, 1357847805, 1357847776, 1357847436, 1357847432, 1357847425]} final : True mtd_id 4302 list_pids : [1357849841, 1357849775, 1357849766, 1357849758, 1357849750, 1357849742, 1357849735, 1357849689, 1357849688, 1357849684, 1357849682, 1357849603, 1357849568, 1357849564, 1357849560, 1357849525, 1357849521, 1357849518, 1357849444, 1357849431, 1357849407, 1357849384, 1357849375, 1357849359, 1357849105, 1357849092, 1357849073, 1357849016, 1357848594, 1357848552, 1357848472, 1357848003, 1357847985, 1357847981, 1357847921, 1357847893, 1357847867, 1357847834, 1357847805, 1357847776, 1357847436, 1357847432, 1357847425] Looping around the photos to save general results len do output : 1 /22920719Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849841', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849775', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849766', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849758', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849750', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849742', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849735', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849689', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849688', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849684', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849682', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849603', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849568', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849564', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849560', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849525', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849521', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849518', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849444', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849431', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849407', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849384', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849375', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849359', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849105', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849092', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849073', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357849016', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357848594', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357848552', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357848472', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357848003', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847985', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847981', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847921', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847893', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847867', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847834', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847805', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847776', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847436', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847432', None, None, None, None, None, '2862949') ('4302', None, None, None, None, None, None, None, '2862949') ('4302', '22920719', '1357847425', None, None, None, None, None, '2862949') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 44 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22920719', 'None', None, None, None, None, '2862949'), ('4302', '22920719', '1357849841', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849775', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849766', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849758', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849750', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849742', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849735', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849689', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849688', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849684', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849682', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849603', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849568', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849564', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849560', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849525', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849521', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849518', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849444', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849431', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849407', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849384', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849375', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849359', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849105', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849092', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849073', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357849016', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357848594', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357848552', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357848472', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357848003', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847985', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847981', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847921', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847893', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847867', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847834', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847805', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847776', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847436', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847432', None, None, None, None, None, '2862949'), ('4302', '22920719', '1357847425', None, None, None, None, None, '2862949')] time used for this insertion : 0.019542932510375977 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.815511703491211 time spend to save output : 0.020030975341796875 total time spend for step 5 : 3.835542678833008 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 1 set_done_treatment DELETE from MTRPhoto.mtr_datou_current where id in (2862949) 3.86user 2.74system 0:19.54elapsed 33%CPU (0avgtext+0avgdata 162748maxresident)k 360inputs+32944outputs (0major+88258minor)pagefaults 0swaps