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 : 4071291 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 (2760775) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2760775) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22370495 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2760775'] with mtr_portfolio_ids : ['22370495'] and first list_photo_ids : [] new path : /proc/4071291/ Name: python3 Umask: 0002 State: R (running) Tgid: 4071291 Ngid: 0 Pid: 4071291 PPid: 4071290 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 4071291 NSpid: 4071291 NSpgid: 4068362 NSsid: 4068362 VmPeak: 1106936 kB VmSize: 1106936 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98264 kB VmRSS: 98264 kB RssAnon: 59804 kB RssFile: 38460 kB RssShmem: 0 kB VmData: 865684 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 592 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: 52 nonvoluntary_ctxt_switches: 92 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '4071291', 'Ngid': '0', 'Pid': '4071291', 'PPid': '4071290', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '4071291', 'NSpid': '4071291', 'NSpgid': '4068362', 'NSsid': '4068362', 'VmPeak': '1106936 kB', 'VmSize': '1106936 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98264 kB', 'VmRSS': '98264 kB', 'RssAnon': '59804 kB', 'RssFile': '38460 kB', 'RssShmem': '0 kB', 'VmData': '865684 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '592 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': '52', 'nonvoluntary_ctxt_switches': '92'} ('datou_batch_current', '4071291', '1106936', '0', '1106936', '865684', '98264', b'', 'marlene', '2760775') 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 (22370495) 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 (2760775 ) ) 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 (22370495) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1353283923, 'portfolio_id': 22370495}, {'photo_id': 1353283624, 'portfolio_id': 22370495}, {'photo_id': 1353283621, 'portfolio_id': 22370495}, {'photo_id': 1353283619, 'portfolio_id': 22370495}, {'photo_id': 1353283603, 'portfolio_id': 22370495}, {'photo_id': 1353283596, 'portfolio_id': 22370495}, {'photo_id': 1353283591, 'portfolio_id': 22370495}, {'photo_id': 1353283583, 'portfolio_id': 22370495}, {'photo_id': 1353283575, 'portfolio_id': 22370495}, {'photo_id': 1353283007, 'portfolio_id': 22370495}, {'photo_id': 1353282974, 'portfolio_id': 22370495}, {'photo_id': 1353282942, 'portfolio_id': 22370495}, {'photo_id': 1353282914, 'portfolio_id': 22370495}, {'photo_id': 1353282885, 'portfolio_id': 22370495}, {'photo_id': 1353282857, 'portfolio_id': 22370495}, {'photo_id': 1353282681, 'portfolio_id': 22370495}, {'photo_id': 1353282678, 'portfolio_id': 22370495}, {'photo_id': 1353282677, 'portfolio_id': 22370495}, {'photo_id': 1353282674, 'portfolio_id': 22370495}, {'photo_id': 1353282651, 'portfolio_id': 22370495}, {'photo_id': 1353282648, 'portfolio_id': 22370495}, {'photo_id': 1353282645, 'portfolio_id': 22370495}, {'photo_id': 1353282642, 'portfolio_id': 22370495}, {'photo_id': 1353282639, 'portfolio_id': 22370495}, {'photo_id': 1353282635, 'portfolio_id': 22370495}, {'photo_id': 1353282601, 'portfolio_id': 22370495}, {'photo_id': 1353282599, 'portfolio_id': 22370495}, {'photo_id': 1353282596, 'portfolio_id': 22370495}, {'photo_id': 1353282574, 'portfolio_id': 22370495}, {'photo_id': 1353282571, 'portfolio_id': 22370495}, {'photo_id': 1353282567, 'portfolio_id': 22370495}, {'photo_id': 1353282565, 'portfolio_id': 22370495}, {'photo_id': 1353282563, 'portfolio_id': 22370495}, {'photo_id': 1353282561, 'portfolio_id': 22370495}, {'photo_id': 1353282534, 'portfolio_id': 22370495}, {'photo_id': 1353282531, 'portfolio_id': 22370495}, {'photo_id': 1353282527, 'portfolio_id': 22370495}] map_portfolio_id_photo_id: {22370495: [1353283923, 1353283624, 1353283621, 1353283619, 1353283603, 1353283596, 1353283591, 1353283583, 1353283575, 1353283007, 1353282974, 1353282942, 1353282914, 1353282885, 1353282857, 1353282681, 1353282678, 1353282677, 1353282674, 1353282651, 1353282648, 1353282645, 1353282642, 1353282639, 1353282635, 1353282601, 1353282599, 1353282596, 1353282574, 1353282571, 1353282567, 1353282565, 1353282563, 1353282561, 1353282534, 1353282531, 1353282527]} ##### 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.0173337459564209 #### 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 Fri Apr 25 05:41:58 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 (22370495) 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 : 22370495 get user id for portfolio 22370495 get sub ptf for main ptf 22370495, type 3726 and hashtags ['kraft', 'papier', 'cartonnette', 'metal', 'environnement', 'flou', 'mal_croppe', 'autre_refus', 'plastique', 'Carton_gris', 'Carton_brun', 'Teint_Dans_La_Masse'] 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`=22370495 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','papier','cartonnette','metal','environnement','flou','mal_croppe','autre_refus','plastique','Carton_gris','Carton_brun','Teint_Dans_La_Masse')) 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`=22370495 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','papier','cartonnette','metal','environnement','flou','mal_croppe','autre_refus','plastique','Carton_gris','Carton_brun','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 22370495, 'sub_port_id': 22370496, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823494, 'last_updated_at': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 57)}, 'metal': {'main_port_id': 22370495, 'sub_port_id': 22370497, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823495, 'last_updated_at': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 57)}, 'kraft': {'main_port_id': 22370495, 'sub_port_id': 22370498, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823496, 'last_updated_at': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 57)}, 'cartonnette': {'main_port_id': 22370495, 'sub_port_id': 22370499, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823497, 'last_updated_at': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 57)}, 'autre_refus': {'main_port_id': 22370495, 'sub_port_id': 22370500, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823498, 'last_updated_at': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 22370495, 'sub_port_id': 22370501, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823499, 'last_updated_at': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 57)}, 'environnement': {'main_port_id': 22370495, 'sub_port_id': 22370502, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823500, 'last_updated_at': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 57)}, 'flou': {'main_port_id': 22370495, 'sub_port_id': 22370503, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823501, 'last_updated_at': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 57)}, 'Carton_brun': {'main_port_id': 22370495, 'sub_port_id': 22370504, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823502, 'last_updated_at': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 57)}, 'Carton_gris': {'main_port_id': 22370495, 'sub_port_id': 22370505, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823503, 'last_updated_at': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 57)}, 'plastique': {'main_port_id': 22370495, 'sub_port_id': 22370506, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823504, 'last_updated_at': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 57)}, 'papier': {'main_port_id': 22370495, 'sub_port_id': 22370507, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823505, 'last_updated_at': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22370496 , 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=22370495 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 (22370496) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22370495) result : ((1353282527,), (1353282531,), (1353282534,), (1353282561,), (1353282563,), (1353282565,), (1353282567,), (1353282571,), (1353282574,), (1353282596,), (1353282599,), (1353282601,), (1353282635,), (1353282639,), (1353282642,), (1353282645,), (1353282648,), (1353282651,), (1353282674,), (1353282677,), (1353282678,), (1353282681,), (1353282857,), (1353282885,), (1353282914,), (1353282942,), (1353282974,), (1353283007,), (1353283575,), (1353283583,), (1353283591,), (1353283596,), (1353283603,), (1353283619,), (1353283621,), (1353283624,), (1353283923,)) 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 22370497 , 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=22370495 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 (22370497) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22370495) result : ((1353282527,), (1353282531,), (1353282534,), (1353282561,), (1353282563,), (1353282565,), (1353282567,), (1353282571,), (1353282574,), (1353282596,), (1353282599,), (1353282601,), (1353282635,), (1353282639,), (1353282642,), (1353282645,), (1353282648,), (1353282651,), (1353282674,), (1353282677,), (1353282678,), (1353282681,), (1353282857,), (1353282885,), (1353282914,), (1353282942,), (1353282974,), (1353283007,), (1353283575,), (1353283583,), (1353283591,), (1353283596,), (1353283603,), (1353283619,), (1353283621,), (1353283624,), (1353283923,)) 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 22370498 , 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=22370495 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 (22370498) result : ((1353284697,), (1353285239,), (1353285504,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22370495) result : ((1353282527,), (1353282531,), (1353282534,), (1353282561,), (1353282563,), (1353282565,), (1353282567,), (1353282571,), (1353282574,), (1353282596,), (1353282599,), (1353282601,), (1353282635,), (1353282639,), (1353282642,), (1353282645,), (1353282648,), (1353282651,), (1353282674,), (1353282677,), (1353282678,), (1353282681,), (1353282857,), (1353282885,), (1353282914,), (1353282942,), (1353282974,), (1353283007,), (1353283575,), (1353283583,), (1353283591,), (1353283596,), (1353283603,), (1353283619,), (1353283621,), (1353283624,), (1353283923,)) 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 22370499 , 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=22370495 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 (22370499) result : ((1353284183,), (1353284496,), (1353284497,), (1353284900,), (1353285236,), (1353285310,), (1353285494,), (1353285495,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22370495) result : ((1353282527,), (1353282531,), (1353282534,), (1353282561,), (1353282563,), (1353282565,), (1353282567,), (1353282571,), (1353282574,), (1353282596,), (1353282599,), (1353282601,), (1353282635,), (1353282639,), (1353282642,), (1353282645,), (1353282648,), (1353282651,), (1353282674,), (1353282677,), (1353282678,), (1353282681,), (1353282857,), (1353282885,), (1353282914,), (1353282942,), (1353282974,), (1353283007,), (1353283575,), (1353283583,), (1353283591,), (1353283596,), (1353283603,), (1353283619,), (1353283621,), (1353283624,), (1353283923,)) 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 22370500 , 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=22370495 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 (22370500) result : ((1353284096,), (1353284694,), (1353284695,), (1353285099,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22370495) result : ((1353282527,), (1353282531,), (1353282534,), (1353282561,), (1353282563,), (1353282565,), (1353282567,), (1353282571,), (1353282574,), (1353282596,), (1353282599,), (1353282601,), (1353282635,), (1353282639,), (1353282642,), (1353282645,), (1353282648,), (1353282651,), (1353282674,), (1353282677,), (1353282678,), (1353282681,), (1353282857,), (1353282885,), (1353282914,), (1353282942,), (1353282974,), (1353283007,), (1353283575,), (1353283583,), (1353283591,), (1353283596,), (1353283603,), (1353283619,), (1353283621,), (1353283624,), (1353283923,)) 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 22370501 , 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=22370495 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 (22370501) result : ((1353284078,), (1353284080,), (1353284082,), (1353284084,), (1353284176,), (1353284479,), (1353284480,), (1353284887,), (1353285486,), (1353285487,), (1353285488,), (1353285489,), (1353285490,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22370495) result : ((1353282527,), (1353282531,), (1353282534,), (1353282561,), (1353282563,), (1353282565,), (1353282567,), (1353282571,), (1353282574,), (1353282596,), (1353282599,), (1353282601,), (1353282635,), (1353282639,), (1353282642,), (1353282645,), (1353282648,), (1353282651,), (1353282674,), (1353282677,), (1353282678,), (1353282681,), (1353282857,), (1353282885,), (1353282914,), (1353282942,), (1353282974,), (1353283007,), (1353283575,), (1353283583,), (1353283591,), (1353283596,), (1353283603,), (1353283619,), (1353283621,), (1353283624,), (1353283923,)) 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 22370502 , 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=22370495 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 (22370502) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22370495) result : ((1353282527,), (1353282531,), (1353282534,), (1353282561,), (1353282563,), (1353282565,), (1353282567,), (1353282571,), (1353282574,), (1353282596,), (1353282599,), (1353282601,), (1353282635,), (1353282639,), (1353282642,), (1353282645,), (1353282648,), (1353282651,), (1353282674,), (1353282677,), (1353282678,), (1353282681,), (1353282857,), (1353282885,), (1353282914,), (1353282942,), (1353282974,), (1353283007,), (1353283575,), (1353283583,), (1353283591,), (1353283596,), (1353283603,), (1353283619,), (1353283621,), (1353283624,), (1353283923,)) 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 22370503 , 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=22370495 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 (22370503) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22370495) result : ((1353282527,), (1353282531,), (1353282534,), (1353282561,), (1353282563,), (1353282565,), (1353282567,), (1353282571,), (1353282574,), (1353282596,), (1353282599,), (1353282601,), (1353282635,), (1353282639,), (1353282642,), (1353282645,), (1353282648,), (1353282651,), (1353282674,), (1353282677,), (1353282678,), (1353282681,), (1353282857,), (1353282885,), (1353282914,), (1353282942,), (1353282974,), (1353283007,), (1353283575,), (1353283583,), (1353283591,), (1353283596,), (1353283603,), (1353283619,), (1353283621,), (1353283624,), (1353283923,)) 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 22370504 , 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=22370495 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 (22370504) result : ((1353284112,), (1353284191,), (1353284534,), (1353284535,), (1353284536,), (1353284907,), (1353285237,), (1353285311,), (1353285497,), (1353285498,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22370495) result : ((1353282527,), (1353282531,), (1353282534,), (1353282561,), (1353282563,), (1353282565,), (1353282567,), (1353282571,), (1353282574,), (1353282596,), (1353282599,), (1353282601,), (1353282635,), (1353282639,), (1353282642,), (1353282645,), (1353282648,), (1353282651,), (1353282674,), (1353282677,), (1353282678,), (1353282681,), (1353282857,), (1353282885,), (1353282914,), (1353282942,), (1353282974,), (1353283007,), (1353283575,), (1353283583,), (1353283591,), (1353283596,), (1353283603,), (1353283619,), (1353283621,), (1353283624,), (1353283923,)) 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 22370505 , 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=22370495 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 (22370505) result : ((1353284103,), (1353284487,), (1353285235,), (1353285303,), (1353285304,), (1353285305,), (1353285306,), (1353285308,), (1353285492,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22370495) result : ((1353282527,), (1353282531,), (1353282534,), (1353282561,), (1353282563,), (1353282565,), (1353282567,), (1353282571,), (1353282574,), (1353282596,), (1353282599,), (1353282601,), (1353282635,), (1353282639,), (1353282642,), (1353282645,), (1353282648,), (1353282651,), (1353282674,), (1353282677,), (1353282678,), (1353282681,), (1353282857,), (1353282885,), (1353282914,), (1353282942,), (1353282974,), (1353283007,), (1353283575,), (1353283583,), (1353283591,), (1353283596,), (1353283603,), (1353283619,), (1353283621,), (1353283624,), (1353283923,)) 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 22370506 , 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=22370495 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 (22370506) result : ((1353284544,), (1353284696,), (1353285499,), (1353285500,), (1353285501,), (1353285502,), (1353285503,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22370495) result : ((1353282527,), (1353282531,), (1353282534,), (1353282561,), (1353282563,), (1353282565,), (1353282567,), (1353282571,), (1353282574,), (1353282596,), (1353282599,), (1353282601,), (1353282635,), (1353282639,), (1353282642,), (1353282645,), (1353282648,), (1353282651,), (1353282674,), (1353282677,), (1353282678,), (1353282681,), (1353282857,), (1353282885,), (1353282914,), (1353282942,), (1353282974,), (1353283007,), (1353283575,), (1353283583,), (1353283591,), (1353283596,), (1353283603,), (1353283619,), (1353283621,), (1353283624,), (1353283923,)) 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 22370507 , 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=22370495 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 (22370507) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22370495) result : ((1353282527,), (1353282531,), (1353282534,), (1353282561,), (1353282563,), (1353282565,), (1353282567,), (1353282571,), (1353282574,), (1353282596,), (1353282599,), (1353282601,), (1353282635,), (1353282639,), (1353282642,), (1353282645,), (1353282648,), (1353282651,), (1353282674,), (1353282677,), (1353282678,), (1353282681,), (1353282857,), (1353282885,), (1353282914,), (1353282942,), (1353282974,), (1353283007,), (1353283575,), (1353283583,), (1353283591,), (1353283596,), (1353283603,), (1353283619,), (1353283621,), (1353283624,), (1353283923,)) 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`=22370495 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','papier','cartonnette','metal','environnement','flou','mal_croppe','autre_refus','plastique','Carton_gris','Carton_brun','Teint_Dans_La_Masse')) 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`=22370495 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','papier','cartonnette','metal','environnement','flou','mal_croppe','autre_refus','plastique','Carton_gris','Carton_brun','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 22370495, 'sub_port_id': 22370508, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823506, 'last_updated_at': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 58)}, 'metal': {'main_port_id': 22370495, 'sub_port_id': 22370509, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823507, 'last_updated_at': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 58)}, 'kraft': {'main_port_id': 22370495, 'sub_port_id': 22370510, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823508, 'last_updated_at': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 58)}, 'cartonnette': {'main_port_id': 22370495, 'sub_port_id': 22370511, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823509, 'last_updated_at': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 58)}, 'autre_refus': {'main_port_id': 22370495, 'sub_port_id': 22370512, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823510, 'last_updated_at': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 22370495, 'sub_port_id': 22370513, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823511, 'last_updated_at': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 58)}, 'environnement': {'main_port_id': 22370495, 'sub_port_id': 22370514, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823512, 'last_updated_at': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 58)}, 'flou': {'main_port_id': 22370495, 'sub_port_id': 22370515, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823513, 'last_updated_at': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 58)}, 'Carton_brun': {'main_port_id': 22370495, 'sub_port_id': 22370516, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823514, 'last_updated_at': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 58)}, 'Carton_gris': {'main_port_id': 22370495, 'sub_port_id': 22370517, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823515, 'last_updated_at': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 58)}, 'plastique': {'main_port_id': 22370495, 'sub_port_id': 22370518, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823516, 'last_updated_at': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 6, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 58)}, 'papier': {'main_port_id': 22370495, 'sub_port_id': 22370519, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14823517, 'last_updated_at': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 24, 7, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 24, 6, 56, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22370508,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22370496 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22370509,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22370497 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22370510,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22370498 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22370511,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22370499 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22370512,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22370500 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22370513,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22370501 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22370514,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22370502 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22370515,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22370503 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22370516,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22370504 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22370517,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22370505 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22370518,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22370506 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22370519,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22370507 lien utilise dans velours : https://www.fotonower.com/velours/22370508,22370509,22370510,22370511,22370512,22370513,22370514,22370515,22370516,22370517,22370518,22370519?tags=mal_croppe,metal,kraft,cartonnette,autre_refus,Teint_Dans_La_Masse,environnement,flou,Carton_brun,Carton_gris,plastique,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22370495]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1353283923, 1353283624, 1353283621, 1353283619, 1353283603, 1353283596, 1353283591, 1353283583, 1353283575, 1353283007, 1353282974, 1353282942, 1353282914, 1353282885, 1353282857, 1353282681, 1353282678, 1353282677, 1353282674, 1353282651, 1353282648, 1353282645, 1353282642, 1353282639, 1353282635, 1353282601, 1353282599, 1353282596, 1353282574, 1353282571, 1353282567, 1353282565, 1353282563, 1353282561, 1353282534, 1353282531, 1353282527] map_info['map_portfolio_photo'] : {22370495: [1353283923, 1353283624, 1353283621, 1353283619, 1353283603, 1353283596, 1353283591, 1353283583, 1353283575, 1353283007, 1353282974, 1353282942, 1353282914, 1353282885, 1353282857, 1353282681, 1353282678, 1353282677, 1353282674, 1353282651, 1353282648, 1353282645, 1353282642, 1353282639, 1353282635, 1353282601, 1353282599, 1353282596, 1353282574, 1353282571, 1353282567, 1353282565, 1353282563, 1353282561, 1353282534, 1353282531, 1353282527]} final : False mtd_id 4302 list_pids : [1353283923, 1353283624, 1353283621, 1353283619, 1353283603, 1353283596, 1353283591, 1353283583, 1353283575, 1353283007, 1353282974, 1353282942, 1353282914, 1353282885, 1353282857, 1353282681, 1353282678, 1353282677, 1353282674, 1353282651, 1353282648, 1353282645, 1353282642, 1353282639, 1353282635, 1353282601, 1353282599, 1353282596, 1353282574, 1353282571, 1353282567, 1353282565, 1353282563, 1353282561, 1353282534, 1353282531, 1353282527] Looping around the photos to save general results len do output : 1 /22370495. 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, '2760775') ('4302', '22370495', '1353283923', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283624', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283621', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283619', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283603', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283596', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283591', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283583', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283575', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283007', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282974', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282942', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282914', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282885', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282857', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282681', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282678', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282677', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282674', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282651', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282648', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282645', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282642', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282639', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282635', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282601', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282599', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282596', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282574', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282571', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282567', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282565', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282563', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282561', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282534', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282531', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282527', None, None, None, None, None, '2760775') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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, '22370495', "{'mal_croppe': 22370496, 'metal': 22370497, 'kraft': 22370498, 'cartonnette': 22370499, 'autre_refus': 22370500, 'Teint_Dans_La_Masse': 22370501, 'environnement': 22370502, 'flou': 22370503, 'Carton_brun': 22370504, 'Carton_gris': 22370505, 'plastique': 22370506, 'papier': 22370507}", None, None, None, None, '2760775'), ('4302', '22370495', '1353283923', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283624', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283621', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283619', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283603', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283596', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283591', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283583', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283575', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283007', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282974', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282942', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282914', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282885', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282857', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282681', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282678', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282677', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282674', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282651', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282648', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282645', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282642', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282639', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282635', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282601', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282599', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282596', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282574', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282571', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282567', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282565', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282563', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282561', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282534', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282531', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282527', None, None, None, None, None, '2760775')] time used for this insertion : 0.01963663101196289 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5222148895263672 time spend to save output : 0.020098209381103516 total time spend for step 1 : 1.5423130989074707 step2:final Fri Apr 25 05:42:00 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 (22370495) 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 22370495 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1353282534,1353282531,1353282527,1353282574,1353282571,1353282567,1353282565,1353282563,1353282561,1353282601,1353282599,1353282596,1353282651,1353282648,1353282645,1353282642,1353282639,1353282635,1353282681,1353282678,1353282677,1353282674,1353283007,1353282974,1353282942,1353282914,1353282885,1353282857,1353283603,1353283596,1353283591,1353283583,1353283575,1353283624,1353283621,1353283619,1353283923); 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([22370495]) Inside saveOutput : final : False verbose : True original output for save of step final : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} new output for save of step final : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} [1353283923, 1353283624, 1353283621, 1353283619, 1353283603, 1353283596, 1353283591, 1353283583, 1353283575, 1353283007, 1353282974, 1353282942, 1353282914, 1353282885, 1353282857, 1353282681, 1353282678, 1353282677, 1353282674, 1353282651, 1353282648, 1353282645, 1353282642, 1353282639, 1353282635, 1353282601, 1353282599, 1353282596, 1353282574, 1353282571, 1353282567, 1353282565, 1353282563, 1353282561, 1353282534, 1353282531, 1353282527] map_info['map_portfolio_photo'] : {22370495: [1353283923, 1353283624, 1353283621, 1353283619, 1353283603, 1353283596, 1353283591, 1353283583, 1353283575, 1353283007, 1353282974, 1353282942, 1353282914, 1353282885, 1353282857, 1353282681, 1353282678, 1353282677, 1353282674, 1353282651, 1353282648, 1353282645, 1353282642, 1353282639, 1353282635, 1353282601, 1353282599, 1353282596, 1353282574, 1353282571, 1353282567, 1353282565, 1353282563, 1353282561, 1353282534, 1353282531, 1353282527]} final : False mtd_id 4302 list_pids : [1353283923, 1353283624, 1353283621, 1353283619, 1353283603, 1353283596, 1353283591, 1353283583, 1353283575, 1353283007, 1353282974, 1353282942, 1353282914, 1353282885, 1353282857, 1353282681, 1353282678, 1353282677, 1353282674, 1353282651, 1353282648, 1353282645, 1353282642, 1353282639, 1353282635, 1353282601, 1353282599, 1353282596, 1353282574, 1353282571, 1353282567, 1353282565, 1353282563, 1353282561, 1353282534, 1353282531, 1353282527] Looping around the photos to save general results len do output : 37 /1353283923.Didn't retrieve data . /1353283624.Didn't retrieve data . /1353283621.Didn't retrieve data . /1353283619.Didn't retrieve data . /1353283603.Didn't retrieve data . /1353283596.Didn't retrieve data . /1353283591.Didn't retrieve data . /1353283583.Didn't retrieve data . /1353283575.Didn't retrieve data . /1353283007.Didn't retrieve data . /1353282974.Didn't retrieve data . /1353282942.Didn't retrieve data . /1353282914.Didn't retrieve data . /1353282885.Didn't retrieve data . /1353282857.Didn't retrieve data . /1353282681.Didn't retrieve data . /1353282678.Didn't retrieve data . /1353282677.Didn't retrieve data . /1353282674.Didn't retrieve data . /1353282651.Didn't retrieve data . /1353282648.Didn't retrieve data . /1353282645.Didn't retrieve data . /1353282642.Didn't retrieve data . /1353282639.Didn't retrieve data . /1353282635.Didn't retrieve data . /1353282601.Didn't retrieve data . /1353282599.Didn't retrieve data . /1353282596.Didn't retrieve data . /1353282574.Didn't retrieve data . /1353282571.Didn't retrieve data . /1353282567.Didn't retrieve data . /1353282565.Didn't retrieve data . /1353282563.Didn't retrieve data . /1353282561.Didn't retrieve data . /1353282534.Didn't retrieve data . /1353282531.Didn't retrieve data . /1353282527.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, '2760775') ('4302', '22370495', '1353283923', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283624', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283621', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283619', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283603', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283596', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283591', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283583', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283575', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283007', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282974', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282942', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282914', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282885', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282857', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282681', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282678', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282677', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282674', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282651', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282648', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282645', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282642', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282639', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282635', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282601', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282599', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282596', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282574', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282571', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282567', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282565', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282563', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282561', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282534', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282531', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282527', None, None, None, None, None, '2760775') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 111 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', '22370495', '1353283923', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353283624', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353283621', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353283619', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353283603', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353283596', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353283591', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353283583', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353283575', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353283007', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282974', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282942', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282914', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282885', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282857', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282681', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282678', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282677', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282674', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282651', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282648', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282645', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282642', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282639', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282635', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282601', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282599', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282596', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282574', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282571', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282567', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282565', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282563', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282561', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282534', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282531', '0.049127491448999173', None, None, None, None, '2760775'), ('4302', '22370495', '1353282527', '0.049127491448999173', None, None, None, None, '2760775')] time used for this insertion : 0.02399897575378418 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06504082679748535 time spend to save output : 0.026017427444458008 total time spend for step 2 : 0.09105825424194336 step3:velours_tree Fri Apr 25 05:42:00 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 : {22370495: [{'mal_croppe': 22370496, 'metal': 22370497, 'kraft': 22370498, 'cartonnette': 22370499, 'autre_refus': 22370500, 'Teint_Dans_La_Masse': 22370501, 'environnement': 22370502, 'flou': 22370503, 'Carton_brun': 22370504, 'Carton_gris': 22370505, 'plastique': 22370506, 'papier': 22370507}]} input_args_next_step : {22370495: ()} output_args : {22370495: [{'mal_croppe': 22370496, 'metal': 22370497, 'kraft': 22370498, 'cartonnette': 22370499, 'autre_refus': 22370500, 'Teint_Dans_La_Masse': 22370501, 'environnement': 22370502, 'flou': 22370503, 'Carton_brun': 22370504, 'Carton_gris': 22370505, 'plastique': 22370506, 'papier': 22370507}]} args : 22370495 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 : ({'mal_croppe': 22370496, 'metal': 22370497, 'kraft': 22370498, 'cartonnette': 22370499, 'autre_refus': 22370500, 'Teint_Dans_La_Masse': 22370501, 'environnement': 22370502, 'flou': 22370503, 'Carton_brun': 22370504, 'Carton_gris': 22370505, 'plastique': 22370506, 'papier': 22370507},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22370495) 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([22370495]) 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.3166017532348633 time spend to save output : 5.2928924560546875e-05 total time spend for step 3 : 0.31665468215942383 step4:send_mail_cod Fri Apr 25 05:42:00 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 : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} input_args_next_step : {1353283923: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353283923 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353283624 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353283621 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353283619 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353283603 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353283596 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353283591 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353283583 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353283575 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353283007 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282974 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282942 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282914 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282885 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282857 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282681 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282678 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282677 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282674 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282651 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282648 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282645 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282642 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282639 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282635 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282601 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282599 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282596 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282574 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282571 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282567 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282565 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282563 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282561 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282534 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282531 depend.output_id : 0 input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ()} output_args : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',)} args : 1353282527 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 : {22370495: [{'mal_croppe': 22370496, 'metal': 22370497, 'kraft': 22370498, 'cartonnette': 22370499, 'autre_refus': 22370500, 'Teint_Dans_La_Masse': 22370501, 'environnement': 22370502, 'flou': 22370503, 'Carton_brun': 22370504, 'Carton_gris': 22370505, 'plastique': 22370506, 'papier': 22370507}]} input_args_next_step : {1353283923: ('0.049127491448999173',), 1353283624: ('0.049127491448999173',), 1353283621: ('0.049127491448999173',), 1353283619: ('0.049127491448999173',), 1353283603: ('0.049127491448999173',), 1353283596: ('0.049127491448999173',), 1353283591: ('0.049127491448999173',), 1353283583: ('0.049127491448999173',), 1353283575: ('0.049127491448999173',), 1353283007: ('0.049127491448999173',), 1353282974: ('0.049127491448999173',), 1353282942: ('0.049127491448999173',), 1353282914: ('0.049127491448999173',), 1353282885: ('0.049127491448999173',), 1353282857: ('0.049127491448999173',), 1353282681: ('0.049127491448999173',), 1353282678: ('0.049127491448999173',), 1353282677: ('0.049127491448999173',), 1353282674: ('0.049127491448999173',), 1353282651: ('0.049127491448999173',), 1353282648: ('0.049127491448999173',), 1353282645: ('0.049127491448999173',), 1353282642: ('0.049127491448999173',), 1353282639: ('0.049127491448999173',), 1353282635: ('0.049127491448999173',), 1353282601: ('0.049127491448999173',), 1353282599: ('0.049127491448999173',), 1353282596: ('0.049127491448999173',), 1353282574: ('0.049127491448999173',), 1353282571: ('0.049127491448999173',), 1353282567: ('0.049127491448999173',), 1353282565: ('0.049127491448999173',), 1353282563: ('0.049127491448999173',), 1353282561: ('0.049127491448999173',), 1353282534: ('0.049127491448999173',), 1353282531: ('0.049127491448999173',), 1353282527: ('0.049127491448999173',), 22370495: ()} output_args : {22370495: [{'mal_croppe': 22370496, 'metal': 22370497, 'kraft': 22370498, 'cartonnette': 22370499, 'autre_refus': 22370500, 'Teint_Dans_La_Masse': 22370501, 'environnement': 22370502, 'flou': 22370503, 'Carton_brun': 22370504, 'Carton_gris': 22370505, 'plastique': 22370506, 'papier': 22370507}]} args : 22370495 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 :38, first value : ('0.049127491448999173',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22370495) 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 (1353283923,1353283624,1353283621,1353283619,1353283603,1353283596,1353283591,1353283583,1353283575,1353283007,1353282974,1353282942,1353282914,1353282885,1353282857,1353282681,1353282678,1353282677,1353282674,1353282651,1353282648,1353282645,1353282642,1353282639,1353282635,1353282601,1353282599,1353282596,1353282574,1353282571,1353282567,1353282565,1353282563,1353282561,1353282534,1353282531,1353282527) Found this number of photos: 37 ##### Call download_photos : nb_thread : 5 begin to download photo : 1353282527 begin to download photo : 1353282574 begin to download photo : 1353282648 begin to download photo : 1353282914 begin to download photo : 1353283603 download finish for photo 1353282914 begin to download photo : 1353282942 download finish for photo 1353282574 begin to download photo : 1353282596 download finish for photo 1353283603 begin to download photo : 1353283619 download finish for photo 1353282527 begin to download photo : 1353282531 download finish for photo 1353282648 begin to download photo : 1353282651 download finish for photo 1353282596 begin to download photo : 1353282599 download finish for photo 1353282531 begin to download photo : 1353282534 download finish for photo 1353283619 begin to download photo : 1353283621 download finish for photo 1353282651 begin to download photo : 1353282674 download finish for photo 1353282942 begin to download photo : 1353282974 download finish for photo 1353282534 begin to download photo : 1353282561 download finish for photo 1353282599 begin to download photo : 1353282601 download finish for photo 1353283621 begin to download photo : 1353283624 download finish for photo 1353282974 begin to download photo : 1353283007 download finish for photo 1353282674 begin to download photo : 1353282677 download finish for photo 1353282601 begin to download photo : 1353282635 download finish for photo 1353283624 begin to download photo : 1353283923 download finish for photo 1353282561 begin to download photo : 1353282563 download finish for photo 1353283007 begin to download photo : 1353283575 download finish for photo 1353283923 download finish for photo 1353283575 begin to download photo : 1353283583 download finish for photo 1353282635 begin to download photo : 1353282639 download finish for photo 1353282563 begin to download photo : 1353282565 download finish for photo 1353283583 begin to download photo : 1353283591 download finish for photo 1353282639 begin to download photo : 1353282642 download finish for photo 1353283591 begin to download photo : 1353283596 download finish for photo 1353282565 begin to download photo : 1353282567 download finish for photo 1353282642 begin to download photo : 1353282645 download finish for photo 1353282567 begin to download photo : 1353282571 download finish for photo 1353283596 download finish for photo 1353282645 download finish for photo 1353282571 download finish for photo 1353282677 begin to download photo : 1353282678 download finish for photo 1353282678 begin to download photo : 1353282681 download finish for photo 1353282681 begin to download photo : 1353282857 download finish for photo 1353282857 begin to download photo : 1353282885 download finish for photo 1353282885 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette223704961745552522/ imagette223704971745552522/ length of list_filenames : 37 ; length of list_pids : 37 ; length of list_args : 37 results_Auto_P22370495_25-04-2025_05_42_02.pdf 22370496 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=22370496 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette223704961745552522 22370497 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=22370497 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette223704971745552522 22370498 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=22370498 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353284697: '1745470992_654909_1353282574_6869e255a9197de94d8946a02e412bbb_rle_crop_3766986868_0.png', 1353285239: '1745471172_656727_1353283007_add44a5c516e2afa7e1aaaa5c036c9ab_rle_crop_3766989315_0.png', 1353285504: '1745471352_658611_1353282565_b6ea372aae5d275250b9998b8fb26a8f_rle_crop_3766992660_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/d849d29f79cad249cd4c0a2effe9588e_14921618.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/11c9ca7a30812c6448c790a42699cd63_76360502.png change filename to text .imagette223704981745552522/ imagette223704981745552522/1745471172_656727_1353283007_add44a5c516e2afa7e1aaaa5c036c9ab_rle_crop_3766989315_0.png.png imagette223704981745552522/1745471352_658611_1353282565_b6ea372aae5d275250b9998b8fb26a8f_rle_crop_3766992660_0.png.png imagette223704981745552522/1745470992_654909_1353282574_6869e255a9197de94d8946a02e412bbb_rle_crop_3766986868_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/9b211f27af0ae23f6044137a21173dff_21700973.png imagette223704981745552522 22370499 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=22370499 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353284183: '1745470906_3791942_1353282651_4234f47d39ea8cd5855091ca0c99216b_rle_crop_3766986502_0.png', 1353284496: '1745470930_654280_1353282974_3ac041f8fcce79659a777f40154c8883_rle_crop_3766986717_0.png', 1353284497: '1745470930_654280_1353282914_a334c60dd25da9eb1c587d579708f9a0_rle_crop_3766986749_0.png', 1353284900: '1745471051_655534_1353283619_241dbb9f96ccf80d92ecc9a816ff0ce1_rle_crop_3766987164_0.png', 1353285236: '1745471172_656727_1353282678_764cd8876c0fb2c77faee7ae37e96b41_rle_crop_3766989332_0.png', 1353285310: '1745471232_657355_1353282645_0794170b9fb4ce0be54f256c2e61a1f2_rle_crop_3766989524_0.png', 1353285494: '1745471352_658611_1353282567_2c56240c50cefbf6fb330b76f89485a1_rle_crop_3766992647_0.png', 1353285495: '1745471352_658611_1353282563_df3d57b33f212743afbbb857eb385d90_rle_crop_3766992683_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/22c6feb1ec046c8a3d68e4d4fbe42ef1_8420782.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/62b0d30f97b103bfcfa787bd9078ca35_82002693.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/6d39f45fc7802fa6d08de1b8d9884a5d_3327725.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/c25632e2b9d9cdede376db8f8ba3efed_48231817.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b77c884d75d8eee2251bc923275685b3_92926719.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/3d6a413ae7bde91dc68654cff7d188e5_56752746.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/1fe8b7a17e5dbe3f5b32a4b642d58068_23045382.png change filename to text .imagette223704991745552523/ imagette223704991745552523/1745471232_657355_1353282645_0794170b9fb4ce0be54f256c2e61a1f2_rle_crop_3766989524_0.png.png imagette223704991745552523/1745470930_654280_1353282974_3ac041f8fcce79659a777f40154c8883_rle_crop_3766986717_0.png.png imagette223704991745552523/1745471051_655534_1353283619_241dbb9f96ccf80d92ecc9a816ff0ce1_rle_crop_3766987164_0.png.png imagette223704991745552523/1745471352_658611_1353282567_2c56240c50cefbf6fb330b76f89485a1_rle_crop_3766992647_0.png.png imagette223704991745552523/1745471172_656727_1353282678_764cd8876c0fb2c77faee7ae37e96b41_rle_crop_3766989332_0.png.png imagette223704991745552523/1745470930_654280_1353282914_a334c60dd25da9eb1c587d579708f9a0_rle_crop_3766986749_0.png.png imagette223704991745552523/1745470906_3791942_1353282651_4234f47d39ea8cd5855091ca0c99216b_rle_crop_3766986502_0.png.png imagette223704991745552523/1745471352_658611_1353282563_df3d57b33f212743afbbb857eb385d90_rle_crop_3766992683_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/58bec531079ce23fbe249718a7cd3dc6_80256318.png imagette223704991745552523 22370500 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=22370500 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353284096: '1745470889_3749150_1353283591_0bc7bcf30b6ae20097c1a04676ef395b_rle_crop_3766986371_0.png', 1353284694: '1745470992_654909_1353282574_6869e255a9197de94d8946a02e412bbb_rle_crop_3766986871_0.png', 1353284695: '1745470992_654909_1353282534_f560b72f7fd42a1ff46e55541b35abac_rle_crop_3766986877_0.png', 1353285099: '1745471111_656134_1353283624_60cb30b26c21674d430d0d349fd33ac8_rle_crop_3766987890_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/931cac987b68d942a28ce53efd185702_67652182.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/fc3014f57dbe4152c4d5b5089420d4b8_52757024.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/52918a276a9c12fa92ab747b6715b7d5_34383448.png change filename to text .imagette223705001745552524/ imagette223705001745552524/1745470889_3749150_1353283591_0bc7bcf30b6ae20097c1a04676ef395b_rle_crop_3766986371_0.png.png imagette223705001745552524/1745470992_654909_1353282574_6869e255a9197de94d8946a02e412bbb_rle_crop_3766986871_0.png.png imagette223705001745552524/1745470992_654909_1353282534_f560b72f7fd42a1ff46e55541b35abac_rle_crop_3766986877_0.png.png imagette223705001745552524/1745471111_656134_1353283624_60cb30b26c21674d430d0d349fd33ac8_rle_crop_3766987890_0.png.png imagette223705031745552524/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/20ee4fbd81a96fafae30b454827c363b_64706482.png imagette223705001745552524 22370503 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=22370503 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette223705031745552524 22370506 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=22370506 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353284544: '1745470930_654280_1353282914_a334c60dd25da9eb1c587d579708f9a0_rle_crop_3766986755_0.png', 1353284696: '1745470992_654909_1353282574_6869e255a9197de94d8946a02e412bbb_rle_crop_3766986874_0.png', 1353285499: '1745471352_658611_1353282571_fc0c039b7d2eded343e5180fa9fb2f4b_rle_crop_3766992632_0.png', 1353285500: '1745471352_658611_1353282571_fc0c039b7d2eded343e5180fa9fb2f4b_rle_crop_3766992633_0.png', 1353285501: '1745471352_658611_1353282563_df3d57b33f212743afbbb857eb385d90_rle_crop_3766992678_0.png', 1353285502: '1745471352_658611_1353282563_df3d57b33f212743afbbb857eb385d90_rle_crop_3766992680_0.png', 1353285503: '1745471352_658611_1353282561_8b903b22c9e0eea7b5863355dd40df9b_rle_crop_3766992698_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/5e7113c41fa60109c71c48b0cddc1360_57461705.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/07f63d2cee07da566800b16e8d873df5_60205834.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/001dbbea3f0cc0ad4ec6ace2579f24f1_29183502.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/f1bb65691772bfe01cccc2a89df590ea_12971576.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/9fb4062d806336568bb828e6c8c0949c_52059643.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/7fc593a68c61d7263f4b5a8ab7c84461_72121274.png change filename to text .imagette223705061745552524/ imagette223705061745552524/1745471352_658611_1353282563_df3d57b33f212743afbbb857eb385d90_rle_crop_3766992680_0.png.png imagette223705061745552524/1745471352_658611_1353282571_fc0c039b7d2eded343e5180fa9fb2f4b_rle_crop_3766992633_0.png.png imagette223705061745552524/1745471352_658611_1353282571_fc0c039b7d2eded343e5180fa9fb2f4b_rle_crop_3766992632_0.png.png imagette223705061745552524/1745471352_658611_1353282561_8b903b22c9e0eea7b5863355dd40df9b_rle_crop_3766992698_0.png.png imagette223705061745552524/1745470930_654280_1353282914_a334c60dd25da9eb1c587d579708f9a0_rle_crop_3766986755_0.png.png imagette223705061745552524/1745471352_658611_1353282563_df3d57b33f212743afbbb857eb385d90_rle_crop_3766992678_0.png.png imagette223705061745552524/1745470992_654909_1353282574_6869e255a9197de94d8946a02e412bbb_rle_crop_3766986874_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/f3b4729a73c70f49ed5b91763cb89569_18243045.png imagette223705061745552524 22370501 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=22370501 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353284078: '1745470889_3749150_1353283583_33123e27ab0f3d05fce8b556ba25049a_rle_crop_3766986398_0.png', 1353284080: '1745470889_3749150_1353283583_33123e27ab0f3d05fce8b556ba25049a_rle_crop_3766986394_0.png', 1353284082: '1745470889_3749150_1353283583_33123e27ab0f3d05fce8b556ba25049a_rle_crop_3766986397_0.png', 1353284084: '1745470889_3749150_1353283575_8041da024f49a1aeccfb2ba003a78206_rle_crop_3766986490_0.png', 1353284176: '1745470906_3791942_1353282651_4234f47d39ea8cd5855091ca0c99216b_rle_crop_3766986504_0.png', 1353284479: '1745470930_654280_1353282914_a334c60dd25da9eb1c587d579708f9a0_rle_crop_3766986754_0.png', 1353284480: '1745470930_654280_1353282857_86cca4a20d23c1be19e01dc18fc65737_rle_crop_3766986784_0.png', 1353284887: '1745471051_655534_1353283923_f18767e40a916044896959a2dbea9823_rle_crop_3766987157_0.png', 1353285486: '1745471352_658611_1353282565_b6ea372aae5d275250b9998b8fb26a8f_rle_crop_3766992666_0.png', 1353285487: '1745471352_658611_1353282565_b6ea372aae5d275250b9998b8fb26a8f_rle_crop_3766992667_0.png', 1353285488: '1745471352_658611_1353282563_df3d57b33f212743afbbb857eb385d90_rle_crop_3766992684_0.png', 1353285489: '1745471352_658611_1353282561_8b903b22c9e0eea7b5863355dd40df9b_rle_crop_3766992699_0.png', 1353285490: '1745471352_658611_1353282561_8b903b22c9e0eea7b5863355dd40df9b_rle_crop_3766992704_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/1571019a0b9fa887566cc4c36eaa9327_30367983.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/a252af6dbf44b56fa70d394d5704ef44_59684803.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/15f9a41830c0c81cd31eb8f32134c357_63538366.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/2a71c269a9d1844d810386f73cbb863e_44591620.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/c22659c5232ad2ec88e865f92f7b8f6f_80589195.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/fe70a757a9ddcf1297909d5a8884da63_46849332.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/c510d8716bced483476db54b18e121c8_81407855.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/3f93f0eb799a9606f90bb8f0cba597b7_18156681.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/fee79a5d675f885dfa7bb942b7931b7d_26450422.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/f9e1651e3b28d87506502cc9c91786f4_9298408.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/1d0c02c75980ea7799953a84d8e14586_76201887.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/eccf974c878cb8c7e987e59dfccd884e_57944931.png change filename to text .imagette223705011745552525/ imagette223705011745552525/1745470930_654280_1353282914_a334c60dd25da9eb1c587d579708f9a0_rle_crop_3766986754_0.png.png imagette223705011745552525/1745471352_658611_1353282565_b6ea372aae5d275250b9998b8fb26a8f_rle_crop_3766992667_0.png.png imagette223705011745552525/1745471352_658611_1353282563_df3d57b33f212743afbbb857eb385d90_rle_crop_3766992684_0.png.png imagette223705011745552525/1745471051_655534_1353283923_f18767e40a916044896959a2dbea9823_rle_crop_3766987157_0.png.png imagette223705011745552525/1745471352_658611_1353282561_8b903b22c9e0eea7b5863355dd40df9b_rle_crop_3766992704_0.png.png imagette223705011745552525/1745471352_658611_1353282565_b6ea372aae5d275250b9998b8fb26a8f_rle_crop_3766992666_0.png.png imagette223705011745552525/1745470889_3749150_1353283583_33123e27ab0f3d05fce8b556ba25049a_rle_crop_3766986397_0.png.png imagette223705011745552525/1745470906_3791942_1353282651_4234f47d39ea8cd5855091ca0c99216b_rle_crop_3766986504_0.png.png imagette223705011745552525/1745470889_3749150_1353283583_33123e27ab0f3d05fce8b556ba25049a_rle_crop_3766986398_0.png.png imagette223705011745552525/1745470930_654280_1353282857_86cca4a20d23c1be19e01dc18fc65737_rle_crop_3766986784_0.png.png imagette223705011745552525/1745470889_3749150_1353283583_33123e27ab0f3d05fce8b556ba25049a_rle_crop_3766986394_0.png.png imagette223705011745552525/1745470889_3749150_1353283575_8041da024f49a1aeccfb2ba003a78206_rle_crop_3766986490_0.png.png imagette223705011745552525/1745471352_658611_1353282561_8b903b22c9e0eea7b5863355dd40df9b_rle_crop_3766992699_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/3b18e739f16c05872ccc03a5d05c8a1c_3315943.png imagette223705011745552525 22370504 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=22370504 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353284112: '1745470889_3749150_1353283591_0bc7bcf30b6ae20097c1a04676ef395b_rle_crop_3766986370_0.png', 1353284191: '1745470906_3791942_1353282599_e387e83ae6060b8bf09210f46986be3b_rle_crop_3766986516_0.png', 1353284534: '1745470930_654280_1353282942_f26472ea357dfc1d0532e01b242fb3bd_rle_crop_3766986736_0.png', 1353284535: '1745470930_654280_1353282914_a334c60dd25da9eb1c587d579708f9a0_rle_crop_3766986756_0.png', 1353284536: '1745470930_654280_1353282885_982f4235e56631a6f34ff1d1da3add52_rle_crop_3766986771_0.png', 1353284907: '1745471051_655534_1353283923_f18767e40a916044896959a2dbea9823_rle_crop_3766987152_0.png', 1353285237: '1745471172_656727_1353283007_add44a5c516e2afa7e1aaaa5c036c9ab_rle_crop_3766989317_0.png', 1353285311: '1745471232_657355_1353282642_cbc9d809e1c1b17938c87765a16f364a_rle_crop_3766989540_0.png', 1353285497: '1745471352_658611_1353282563_df3d57b33f212743afbbb857eb385d90_rle_crop_3766992679_0.png', 1353285498: '1745471352_658611_1353282563_df3d57b33f212743afbbb857eb385d90_rle_crop_3766992677_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/cb66c62b4738024f7bfb08affe6c1d83_37079513.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/b506e552f1984843b4147bd3d4213338_57994253.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/74a2931828fb31345076a0c04703049c_28519795.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/a6db88f3f76e9e5460be9e0c7c072fe5_25370641.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/8e6273bc9e16ed4036fbe04637c01011_554956.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/0e5f9f217e25886e425eaac75c45154b_56260893.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/342c750b139c538d497f9d62c96d6731_72912359.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/882ec27371bae3efa986f483561ee034_88989600.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/9795c96c5eefac880f75d9c5ec53de40_86551280.png change filename to text .imagette223705041745552526/ imagette223705041745552526/1745471352_658611_1353282563_df3d57b33f212743afbbb857eb385d90_rle_crop_3766992679_0.png.png imagette223705041745552526/1745471352_658611_1353282563_df3d57b33f212743afbbb857eb385d90_rle_crop_3766992677_0.png.png imagette223705041745552526/1745471232_657355_1353282642_cbc9d809e1c1b17938c87765a16f364a_rle_crop_3766989540_0.png.png imagette223705041745552526/1745470930_654280_1353282885_982f4235e56631a6f34ff1d1da3add52_rle_crop_3766986771_0.png.png imagette223705041745552526/1745470889_3749150_1353283591_0bc7bcf30b6ae20097c1a04676ef395b_rle_crop_3766986370_0.png.png imagette223705041745552526/1745471051_655534_1353283923_f18767e40a916044896959a2dbea9823_rle_crop_3766987152_0.png.png imagette223705041745552526/1745470930_654280_1353282942_f26472ea357dfc1d0532e01b242fb3bd_rle_crop_3766986736_0.png.png imagette223705041745552526/1745470906_3791942_1353282599_e387e83ae6060b8bf09210f46986be3b_rle_crop_3766986516_0.png.png imagette223705041745552526/1745471172_656727_1353283007_add44a5c516e2afa7e1aaaa5c036c9ab_rle_crop_3766989317_0.png.png imagette223705041745552526/1745470930_654280_1353282914_a334c60dd25da9eb1c587d579708f9a0_rle_crop_3766986756_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/7c00d8835416587f66325dd0062e698c_72536099.png imagette223705041745552526 22370505 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=22370505 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1353284103: '1745470889_3749150_1353283575_8041da024f49a1aeccfb2ba003a78206_rle_crop_3766986493_0.png', 1353284487: '1745470930_654280_1353282942_f26472ea357dfc1d0532e01b242fb3bd_rle_crop_3766986733_0.png', 1353285235: '1745471172_656727_1353283007_add44a5c516e2afa7e1aaaa5c036c9ab_rle_crop_3766989316_0.png', 1353285303: '1745471232_657355_1353282681_c8d94b60e8ebcad94a273b1ff4859108_rle_crop_3766989500_0.png', 1353285304: '1745471232_657355_1353282645_0794170b9fb4ce0be54f256c2e61a1f2_rle_crop_3766989525_0.png', 1353285305: '1745471232_657355_1353282642_cbc9d809e1c1b17938c87765a16f364a_rle_crop_3766989542_0.png', 1353285306: '1745471232_657355_1353282639_6fe504cb21d9f01b0a941752ee20e5fa_rle_crop_3766990512_0.png', 1353285308: '1745471232_657355_1353282639_6fe504cb21d9f01b0a941752ee20e5fa_rle_crop_3766990513_0.png', 1353285492: '1745471352_658611_1353282571_fc0c039b7d2eded343e5180fa9fb2f4b_rle_crop_3766992637_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/19c3bed47509d57c61e1656095199d32_48558493.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/52129b77bcdb168ffbb8ecd1dcff7edc_34243183.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/c7f5efdf4ac3fcb257646b079adb78b5_94546276.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/f1e3d5198d1bd4a6e9a2671c3ff0d2d8_33763253.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/38127a198c037cea95595f6e33185032_98886935.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/7a35586da60415766c8a0560f4c0e807_49184452.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/fae87e5fd237ae42657d527f2caae9fa_95337832.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/ec021f0a2a3610d95b1a553ba783d2b6_18426265.png change filename to text .imagette223705051745552527/ imagette223705051745552527/1745471232_657355_1353282645_0794170b9fb4ce0be54f256c2e61a1f2_rle_crop_3766989525_0.png.png imagette223705051745552527/1745471232_657355_1353282642_cbc9d809e1c1b17938c87765a16f364a_rle_crop_3766989542_0.png.png imagette223705051745552527/1745471352_658611_1353282571_fc0c039b7d2eded343e5180fa9fb2f4b_rle_crop_3766992637_0.png.png imagette223705051745552527/1745470889_3749150_1353283575_8041da024f49a1aeccfb2ba003a78206_rle_crop_3766986493_0.png.png imagette223705051745552527/1745471172_656727_1353283007_add44a5c516e2afa7e1aaaa5c036c9ab_rle_crop_3766989316_0.png.png imagette223705051745552527/1745471232_657355_1353282639_6fe504cb21d9f01b0a941752ee20e5fa_rle_crop_3766990512_0.png.png imagette223705051745552527/1745470930_654280_1353282942_f26472ea357dfc1d0532e01b242fb3bd_rle_crop_3766986733_0.png.png imagette223705051745552527/1745471232_657355_1353282681_c8d94b60e8ebcad94a273b1ff4859108_rle_crop_3766989500_0.png.png imagette223705051745552527/1745471232_657355_1353282639_6fe504cb21d9f01b0a941752ee20e5fa_rle_crop_3766990513_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/3a66c513e639888a421278ed122bd310_28779263.png imagette223705051745552527 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22370495 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22370508,22370509,22370510,22370511,22370512,22370513,22370514,22370515,22370516,22370517,22370518,22370519?tags=mal_croppe,metal,kraft,cartonnette,autre_refus,Teint_Dans_La_Masse,environnement,flou,Carton_brun,Carton_gris,plastique,papier your option no_mail is active, we will not send the real mail to your client args[1353283923] : ('0.049127491448999173',) no score found for photo 1353283923 We are sending mail with results at report@fotonower.com args[1353283624] : ('0.049127491448999173',) no score found for photo 1353283624 We are sending mail with results at report@fotonower.com args[1353283621] : ('0.049127491448999173',) no score found for photo 1353283621 We are sending mail with results at report@fotonower.com args[1353283619] : ('0.049127491448999173',) no score found for photo 1353283619 We are sending mail with results at report@fotonower.com args[1353283603] : ('0.049127491448999173',) no score found for photo 1353283603 We are sending mail with results at report@fotonower.com args[1353283596] : ('0.049127491448999173',) no score found for photo 1353283596 We are sending mail with results at report@fotonower.com args[1353283591] : ('0.049127491448999173',) no score found for photo 1353283591 We are sending mail with results at report@fotonower.com args[1353283583] : ('0.049127491448999173',) no score found for photo 1353283583 We are sending mail with results at report@fotonower.com args[1353283575] : ('0.049127491448999173',) no score found for photo 1353283575 We are sending mail with results at report@fotonower.com args[1353283007] : ('0.049127491448999173',) no score found for photo 1353283007 We are sending mail with results at report@fotonower.com args[1353282974] : ('0.049127491448999173',) no score found for photo 1353282974 We are sending mail with results at report@fotonower.com args[1353282942] : ('0.049127491448999173',) no score found for photo 1353282942 We are sending mail with results at report@fotonower.com args[1353282914] : ('0.049127491448999173',) no score found for photo 1353282914 We are sending mail with results at report@fotonower.com args[1353282885] : ('0.049127491448999173',) no score found for photo 1353282885 We are sending mail with results at report@fotonower.com args[1353282857] : ('0.049127491448999173',) no score found for photo 1353282857 We are sending mail with results at report@fotonower.com args[1353282681] : ('0.049127491448999173',) no score found for photo 1353282681 We are sending mail with results at report@fotonower.com args[1353282678] : ('0.049127491448999173',) no score found for photo 1353282678 We are sending mail with results at report@fotonower.com args[1353282677] : ('0.049127491448999173',) no score found for photo 1353282677 We are sending mail with results at report@fotonower.com args[1353282674] : ('0.049127491448999173',) no score found for photo 1353282674 We are sending mail with results at report@fotonower.com args[1353282651] : ('0.049127491448999173',) no score found for photo 1353282651 We are sending mail with results at report@fotonower.com args[1353282648] : ('0.049127491448999173',) no score found for photo 1353282648 We are sending mail with results at report@fotonower.com args[1353282645] : ('0.049127491448999173',) no score found for photo 1353282645 We are sending mail with results at report@fotonower.com args[1353282642] : ('0.049127491448999173',) no score found for photo 1353282642 We are sending mail with results at report@fotonower.com args[1353282639] : ('0.049127491448999173',) no score found for photo 1353282639 We are sending mail with results at report@fotonower.com args[1353282635] : ('0.049127491448999173',) no score found for photo 1353282635 We are sending mail with results at report@fotonower.com args[1353282601] : ('0.049127491448999173',) no score found for photo 1353282601 We are sending mail with results at report@fotonower.com args[1353282599] : ('0.049127491448999173',) no score found for photo 1353282599 We are sending mail with results at report@fotonower.com args[1353282596] : ('0.049127491448999173',) no score found for photo 1353282596 We are sending mail with results at report@fotonower.com args[1353282574] : ('0.049127491448999173',) no score found for photo 1353282574 We are sending mail with results at report@fotonower.com args[1353282571] : ('0.049127491448999173',) no score found for photo 1353282571 We are sending mail with results at report@fotonower.com args[1353282567] : ('0.049127491448999173',) no score found for photo 1353282567 We are sending mail with results at report@fotonower.com args[1353282565] : ('0.049127491448999173',) no score found for photo 1353282565 We are sending mail with results at report@fotonower.com args[1353282563] : ('0.049127491448999173',) no score found for photo 1353282563 We are sending mail with results at report@fotonower.com args[1353282561] : ('0.049127491448999173',) no score found for photo 1353282561 We are sending mail with results at report@fotonower.com args[1353282534] : ('0.049127491448999173',) no score found for photo 1353282534 We are sending mail with results at report@fotonower.com args[1353282531] : ('0.049127491448999173',) no score found for photo 1353282531 We are sending mail with results at report@fotonower.com args[1353282527] : ('0.049127491448999173',) no score found for photo 1353282527 We are sending mail with results at report@fotonower.com refus_total : 0.049127491448999173 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=22370495 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_P22370495_25-04-2025_05_42_02.pdf results_Auto_P22370495_25-04-2025_05_42_02.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22370495_25-04-2025_05_42_02.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','22370495','results_Auto_P22370495_25-04-2025_05_42_02.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22370495_25-04-2025_05_42_02.pdf','pdf','','0.46','0.049127491448999173') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22370495]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1353283923, 1353283624, 1353283621, 1353283619, 1353283603, 1353283596, 1353283591, 1353283583, 1353283575, 1353283007, 1353282974, 1353282942, 1353282914, 1353282885, 1353282857, 1353282681, 1353282678, 1353282677, 1353282674, 1353282651, 1353282648, 1353282645, 1353282642, 1353282639, 1353282635, 1353282601, 1353282599, 1353282596, 1353282574, 1353282571, 1353282567, 1353282565, 1353282563, 1353282561, 1353282534, 1353282531, 1353282527] map_info['map_portfolio_photo'] : {22370495: [1353283923, 1353283624, 1353283621, 1353283619, 1353283603, 1353283596, 1353283591, 1353283583, 1353283575, 1353283007, 1353282974, 1353282942, 1353282914, 1353282885, 1353282857, 1353282681, 1353282678, 1353282677, 1353282674, 1353282651, 1353282648, 1353282645, 1353282642, 1353282639, 1353282635, 1353282601, 1353282599, 1353282596, 1353282574, 1353282571, 1353282567, 1353282565, 1353282563, 1353282561, 1353282534, 1353282531, 1353282527]} final : False mtd_id 4302 list_pids : [1353283923, 1353283624, 1353283621, 1353283619, 1353283603, 1353283596, 1353283591, 1353283583, 1353283575, 1353283007, 1353282974, 1353282942, 1353282914, 1353282885, 1353282857, 1353282681, 1353282678, 1353282677, 1353282674, 1353282651, 1353282648, 1353282645, 1353282642, 1353282639, 1353282635, 1353282601, 1353282599, 1353282596, 1353282574, 1353282571, 1353282567, 1353282565, 1353282563, 1353282561, 1353282534, 1353282531, 1353282527] 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, '2760775') ('4302', '22370495', '1353283923', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283624', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283621', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283619', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283603', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283596', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283591', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283583', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283575', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283007', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282974', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282942', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282914', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282885', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282857', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282681', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282678', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282677', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282674', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282651', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282648', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282645', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282642', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282639', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282635', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282601', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282599', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282596', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282574', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282571', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282567', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282565', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282563', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282561', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282534', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282531', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282527', None, None, None, None, None, '2760775') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 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', '22370495', '1353283923', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283624', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283621', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283619', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283603', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283596', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283591', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283583', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283575', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283007', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282974', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282942', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282914', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282885', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282857', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282681', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282678', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282677', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282674', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282651', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282648', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282645', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282642', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282639', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282635', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282601', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282599', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282596', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282574', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282571', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282567', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282565', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282563', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282561', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282534', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282531', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282527', None, None, None, None, None, '2760775')] time used for this insertion : 0.017295360565185547 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.453291177749634 time spend to save output : 0.01772761344909668 total time spend for step 4 : 10.47101879119873 step5:split_time_score Fri Apr 25 05:42:10 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 : ['22370495'] 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 : [('22370495',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22370495) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1353283603: {'path': 'temp/1745552520_4071291_1353283603_7ebebb9ca0552d45b62a3cd74d709f39.jpg', 'extension': 'jpg'}, 1353283619: {'path': 'temp/1745552520_4071291_1353283619_241dbb9f96ccf80d92ecc9a816ff0ce1.jpg', 'extension': 'jpg'}, 1353283621: {'path': 'temp/1745552520_4071291_1353283621_0e4e7b16f143d33969e5d5cc378bfaff.jpg', 'extension': 'jpg'}, 1353283624: {'path': 'temp/1745552520_4071291_1353283624_60cb30b26c21674d430d0d349fd33ac8.jpg', 'extension': 'jpg'}, 1353283923: {'path': 'temp/1745552520_4071291_1353283923_f18767e40a916044896959a2dbea9823.jpg', 'extension': 'jpg'}, 1353282914: {'path': 'temp/1745552520_4071291_1353282914_a334c60dd25da9eb1c587d579708f9a0.jpg', 'extension': 'jpg'}, 1353282942: {'path': 'temp/1745552520_4071291_1353282942_f26472ea357dfc1d0532e01b242fb3bd.jpg', 'extension': 'jpg'}, 1353282974: {'path': 'temp/1745552520_4071291_1353282974_3ac041f8fcce79659a777f40154c8883.jpg', 'extension': 'jpg'}, 1353283007: {'path': 'temp/1745552520_4071291_1353283007_add44a5c516e2afa7e1aaaa5c036c9ab.jpg', 'extension': 'jpg'}, 1353283575: {'path': 'temp/1745552520_4071291_1353283575_8041da024f49a1aeccfb2ba003a78206.jpg', 'extension': 'jpg'}, 1353283583: {'path': 'temp/1745552520_4071291_1353283583_33123e27ab0f3d05fce8b556ba25049a.jpg', 'extension': 'jpg'}, 1353283591: {'path': 'temp/1745552520_4071291_1353283591_0bc7bcf30b6ae20097c1a04676ef395b.jpg', 'extension': 'jpg'}, 1353283596: {'path': 'temp/1745552520_4071291_1353283596_4197ee36c3a46de28fed03f180d0e348.jpg', 'extension': 'jpg'}, 1353282574: {'path': 'temp/1745552520_4071291_1353282574_6869e255a9197de94d8946a02e412bbb.jpg', 'extension': 'jpg'}, 1353282596: {'path': 'temp/1745552520_4071291_1353282596_2e2f99ef95eb782f7eb0e222c280f9cd.jpg', 'extension': 'jpg'}, 1353282599: {'path': 'temp/1745552520_4071291_1353282599_e387e83ae6060b8bf09210f46986be3b.jpg', 'extension': 'jpg'}, 1353282601: {'path': 'temp/1745552520_4071291_1353282601_27ebfd9caa15880d2d42b115846c6f01.jpg', 'extension': 'jpg'}, 1353282635: {'path': 'temp/1745552520_4071291_1353282635_11bf1f1bd19f42dad1a875e236987d3a.jpg', 'extension': 'jpg'}, 1353282639: {'path': 'temp/1745552520_4071291_1353282639_6fe504cb21d9f01b0a941752ee20e5fa.jpg', 'extension': 'jpg'}, 1353282642: {'path': 'temp/1745552520_4071291_1353282642_cbc9d809e1c1b17938c87765a16f364a.jpg', 'extension': 'jpg'}, 1353282645: {'path': 'temp/1745552520_4071291_1353282645_0794170b9fb4ce0be54f256c2e61a1f2.jpg', 'extension': 'jpg'}, 1353282527: {'path': 'temp/1745552520_4071291_1353282527_e8a3413d5966313b5d7b66c4ce1574ec.jpg', 'extension': 'jpg'}, 1353282531: {'path': 'temp/1745552520_4071291_1353282531_c58cb68701cb8dd2382e9130503c6cb4.jpg', 'extension': 'jpg'}, 1353282534: {'path': 'temp/1745552520_4071291_1353282534_f560b72f7fd42a1ff46e55541b35abac.jpg', 'extension': 'jpg'}, 1353282561: {'path': 'temp/1745552520_4071291_1353282561_8b903b22c9e0eea7b5863355dd40df9b.jpg', 'extension': 'jpg'}, 1353282563: {'path': 'temp/1745552520_4071291_1353282563_df3d57b33f212743afbbb857eb385d90.jpg', 'extension': 'jpg'}, 1353282565: {'path': 'temp/1745552520_4071291_1353282565_b6ea372aae5d275250b9998b8fb26a8f.jpg', 'extension': 'jpg'}, 1353282567: {'path': 'temp/1745552520_4071291_1353282567_2c56240c50cefbf6fb330b76f89485a1.jpg', 'extension': 'jpg'}, 1353282571: {'path': 'temp/1745552520_4071291_1353282571_fc0c039b7d2eded343e5180fa9fb2f4b.jpg', 'extension': 'jpg'}, 1353282648: {'path': 'temp/1745552520_4071291_1353282648_86ea1c19d97c5be676d077bd916be9ca.jpg', 'extension': 'jpg'}, 1353282651: {'path': 'temp/1745552520_4071291_1353282651_4234f47d39ea8cd5855091ca0c99216b.jpg', 'extension': 'jpg'}, 1353282674: {'path': 'temp/1745552520_4071291_1353282674_a62d76ed3996032fdc282b53c7c10614.jpg', 'extension': 'jpg'}, 1353282677: {'path': 'temp/1745552520_4071291_1353282677_64ef79cd71a07a103b2f553838fb039d.jpg', 'extension': 'jpg'}, 1353282678: {'path': 'temp/1745552520_4071291_1353282678_764cd8876c0fb2c77faee7ae37e96b41.jpg', 'extension': 'jpg'}, 1353282681: {'path': 'temp/1745552520_4071291_1353282681_c8d94b60e8ebcad94a273b1ff4859108.jpg', 'extension': 'jpg'}, 1353282857: {'path': 'temp/1745552520_4071291_1353282857_86cca4a20d23c1be19e01dc18fc65737.jpg', 'extension': 'jpg'}, 1353282885: {'path': 'temp/1745552520_4071291_1353282885_982f4235e56631a6f34ff1d1da3add52.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 = 22370495; (('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 = 22370495 group by h (('06', 37),) 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=22370495 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 (22370495) 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 (22370495) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 24042025 22370495 Nombre de photos uploadées : 37 / 23040 (0%) 24042025 22370495 Nombre de photos taguées (types de déchets): 0 / 37 (0%) 24042025 22370495 Nombre de photos taguées (volume) : 0 / 37 (0%) [{'photo_id': 1353282534, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/f560b72f7fd42a1ff46e55541b35abac.jpg', 'username': None, 'uploaded_at': 1745470392, 'text': 'image_24042025_06_52_15_010141m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1353282531, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/c58cb68701cb8dd2382e9130503c6cb4.jpg', 'username': None, 'uploaded_at': 1745470392, 'text': 'image_24042025_06_52_25_010142m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1353282527, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/e8a3413d5966313b5d7b66c4ce1574ec.jpg', 'username': None, 'uploaded_at': 1745470392, 'text': 'image_24042025_06_52_44_010139m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1353282574, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/24/6869e255a9197de94d8946a02e412bbb.jpg', 'username': None, 'uploaded_at': 1745470447, 'text': 'image_24042025_06_52_54_010133m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0017158985137939453 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22370495, '2025-04-24' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1743777,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02312755584716797 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= 1743777 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22364845, 'dashboard_result_id': 10091804, '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_P22364845_25-04-2025_05_34_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22364846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22364847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22364848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22364849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22364850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22364851, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22364852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22364853, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22364854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22364855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22364856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22364857, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22364940, 'dashboard_result_id': 10091805, '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_P22364940_25-04-2025_05_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22364942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22364943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22364944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22364945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22364946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22364947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22364948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22364949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22364950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22364951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22364952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22364953, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22365435, 'dashboard_result_id': 10091806, '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_P22365435_25-04-2025_05_35_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22365464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365467, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365472, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365473, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22365436, 'dashboard_result_id': 10091807, '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_P22365436_25-04-2025_05_36_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22365438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365440, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365448, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22365571, 'dashboard_result_id': 10091808, '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_P22365571_25-04-2025_05_36_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22365572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365576, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365577, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365583, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22365928, 'dashboard_result_id': 10091809, '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_P22365928_25-04-2025_05_36_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365951, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22365956, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22366604, 'dashboard_result_id': 10091810, '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_P22366604_25-04-2025_05_37_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22366605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22366606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22366607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22366608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22366609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22366610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22366611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22366612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22366613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22366614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22366615, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22366616, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22367709, 'dashboard_result_id': 10091811, '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_P22367709_25-04-2025_05_38_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22367710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22367711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22367712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22367713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22367714, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22367715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22367716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22367717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22367718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22367719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22367720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22367721, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22367997, 'dashboard_result_id': 10091812, '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_P22367997_25-04-2025_05_38_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22368023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22368024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22368025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22368026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22368027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22368028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22368029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22368030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22368031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22368032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22368033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22368034, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22368394, 'dashboard_result_id': 10091813, '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_P22368394_25-04-2025_05_40_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22368435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22368436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22368437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22368438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22368439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22368440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22368441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22368442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22368443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22368444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22368445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22368446, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22368844, 'dashboard_result_id': 10091814, '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_P22368844_25-04-2025_05_40_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22368845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22368846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22368847, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22368848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22368849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22368850, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22368851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22368852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22368853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22368854, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22368855, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22368856, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22369326, 'dashboard_result_id': 10091815, '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_P22369326_25-04-2025_05_41_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22369365, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22369366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22369367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22369368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22369369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22369370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22369371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22369372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22369373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22369374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22369375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22369376, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22369768, 'dashboard_result_id': 10091816, '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_P22369768_24-04-2025_06_32_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22369769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22369770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22369771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22369772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22369773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22369774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22369775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22369776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22369777, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22369778, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22369779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22369780, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22370237, 'dashboard_result_id': 10091817, '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_P22370237_25-04-2025_05_41_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22370238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22370239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22370240, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22370241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22370242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22370243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22370244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22370245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22370246, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22370247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22370248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22370249, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22370495, 'dashboard_result_id': 10091818, '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_P22370495_24-04-2025_07_05_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22370496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22370497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22370498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22370499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22370500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22370501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22370502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22370503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22370504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22370505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22370506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22370507, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22370825, 'dashboard_result_id': 10091819, '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_P22370825_24-04-2025_07_19_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22370868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22370869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22370871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22370872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22370873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22370874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22370876, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22370877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22370878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22370880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22370881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22370882, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22371527, 'dashboard_result_id': 10091820, '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_P22371527_24-04-2025_07_32_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22371567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22371568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22371569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22371570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22371571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22371572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22371573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22371574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22371575, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22371576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22371577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22371578, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22372069, 'dashboard_result_id': 10091821, '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_P22372069_24-04-2025_07_48_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22372116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22372117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22372118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22372119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22372120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22372121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22372122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22372123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22372124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22372125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22372126, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22372127, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22372881, 'dashboard_result_id': 10091822, '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_P22372881_24-04-2025_08_02_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22372907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22372908, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22372909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22372910, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22372911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22372912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22372913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22372914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22372915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22372916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22372917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22372918, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22373509, 'dashboard_result_id': 10091823, '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_P22373509_24-04-2025_08_21_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22373527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22373528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22373529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22373530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22373531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22373532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22373533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22373534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22373535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22373536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22373537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22373538, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22374509, 'dashboard_result_id': 10091824, '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_P22374509_24-04-2025_08_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22374572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22374573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22374574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22374575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22374576, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22374577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22374578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22374579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22374580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22374581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22374582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22374583, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22375127, 'dashboard_result_id': 10091825, '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_P22375127_24-04-2025_08_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22375136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22375137, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22375138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22375139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22375140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22375141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22375142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22375143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22375144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22375145, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22375146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22375147, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22376038, 'dashboard_result_id': 10091826, '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_P22376038_25-04-2025_03_16_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22376147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22376148, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22376149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22376150, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22376151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22376152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22376153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22376154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22376155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22376156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22376157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22376158, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22381488, 'dashboard_result_id': 10091827, '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_P22381488_24-04-2025_13_46_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22381489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22381490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22381491, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22381492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22381493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22381494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22381495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22381496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22381497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22381498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22381499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22381500, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22381997, 'dashboard_result_id': 10091828, '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_P22381997_24-04-2025_14_06_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22382001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22382002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22382003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22382004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22382005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22382006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22382007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22382008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22382009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22382010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22382011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22382012, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22382953, 'dashboard_result_id': 10091829, '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_P22382953_24-04-2025_14_19_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22382981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22382982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22382983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22382984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22382985, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22382986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22382987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22382988, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22382989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22382990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22382991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22382992, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22383692, 'dashboard_result_id': 10091830, '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_P22383692_24-04-2025_14_35_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22383720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22383721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22383722, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22383723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22383724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22383725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22383726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22383727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22383728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22383729, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22383730, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22383731, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22384585, 'dashboard_result_id': 10091831, '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_P22384585_24-04-2025_14_48_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22384590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22384591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22384592, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22384593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22384594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22384595, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22384596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22384597, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22384598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22384599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22384600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22384601, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22385919, 'dashboard_result_id': 10091832, '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_P22385919_24-04-2025_15_34_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22385925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22385926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22385927, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22385928, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22385929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22385930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22385931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22385932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22385933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22385934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22385935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22385936, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22386105, 'dashboard_result_id': 10091833, '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_P22386105_24-04-2025_15_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22386146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22386147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22386148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22386149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22386150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22386151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22386152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22386153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22386154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22386155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22386156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22386157, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22386532, 'dashboard_result_id': 10091834, '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_P22386532_24-04-2025_16_02_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22386538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22386539, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22386540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22386541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22386542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22386543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22386544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22386545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22386546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22386547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22386548, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22386549, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22387089, 'dashboard_result_id': 10091835, '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_P22387089_24-04-2025_16_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22387094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22387095, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22387096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22387097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22387098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22387099, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22387100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22387101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22387102, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22387103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22387104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22387105, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22387635, 'dashboard_result_id': 10091836, '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_P22387635_24-04-2025_16_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22387662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22387663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22387664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22387665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22387666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22387667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22387668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22387669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22387670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22387671, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22387672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22387673, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22387956, 'dashboard_result_id': 10091837, '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_P22387956_24-04-2025_16_51_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22388016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22388017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22388018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22388019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22388020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22388021, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22388022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22388023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22388024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22388025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22388026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22388027, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22388968, 'dashboard_result_id': 10091838, '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_P22388968_24-04-2025_17_04_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22389005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22389006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22389007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22389008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22389009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22389010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22389011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22389012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22389013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22389014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22389015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22389016, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22389487, 'dashboard_result_id': 10091839, '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_P22389487_24-04-2025_17_19_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22389595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22389596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22389597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22389598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22389599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22389600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22389601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22389602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22389603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22389604, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22389605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22389606, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22390166, 'dashboard_result_id': 10091840, '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_P22390166_24-04-2025_17_32_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22390170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22390171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22390172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22390173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22390174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22390175, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22390176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22390177, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22390178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22390179, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22390180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22390181, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22391365, 'dashboard_result_id': 10091841, '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_P22391365_24-04-2025_18_20_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22391392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22391393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22391394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22391395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22391396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22391397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22391398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22391399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22391400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22391401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22391402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22391403, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22391982, 'dashboard_result_id': 10091842, '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_P22391982_24-04-2025_18_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22391987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22391988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22391989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22391990, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22391991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22391992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22391993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22391994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22391995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22391996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22391997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22391998, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22392453, 'dashboard_result_id': 10091843, '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_P22392453_24-04-2025_18_48_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22392510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22392511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22392512, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22392513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22392514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22392515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22392516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22392517, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22392518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22392519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22392520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22392521, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22392883, 'dashboard_result_id': 10091844, '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_P22392883_24-04-2025_19_02_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22392886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22392887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22392888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22392889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22392890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22392891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22392892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22392893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22392894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22392895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22392896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22392897, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22393323, 'dashboard_result_id': 10091845, '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_P22393323_24-04-2025_19_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22393363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22393364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22393365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22393366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22393367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22393368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22393369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22393370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22393371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22393372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22393373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22393374, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22394050, 'dashboard_result_id': 10091846, '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_P22394050_24-04-2025_19_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394086, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22394741, 'dashboard_result_id': 10091847, '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_P22394741_24-04-2025_19_46_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394804, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22395373, 'dashboard_result_id': 10091848, '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_P22395373_24-04-2025_20_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22395431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22395432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22395433, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22395434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22395435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22395436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22395437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22395438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22395439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22395440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22395441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22395442, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22395952, 'dashboard_result_id': 10091849, '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_P22395952_24-04-2025_20_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22396015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22396016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22396017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22396018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22396019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22396020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22396021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22396022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22396023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22396024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22396025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22396026, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22396625, 'dashboard_result_id': 10091850, '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_P22396625_24-04-2025_20_37_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22396689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22396690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22396691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22396692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22396693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22396694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22396695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22396696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22396697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22396698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22396699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22396700, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22397613, 'dashboard_result_id': 10091851, '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_P22397613_24-04-2025_21_07_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22397617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22397618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22397619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22397620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22397621, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22397622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22397623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22397624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22397625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22397626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22397627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22397628, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22398306, 'dashboard_result_id': 10091852, '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_P22398306_24-04-2025_21_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22398308, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22398309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22398310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22398311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22398312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22398313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22398314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22398315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22398316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22398317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22398318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22398319, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22398412, 'dashboard_result_id': 10091853, '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_P22398412_24-04-2025_21_32_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22398418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22398419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22398420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22398421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22398422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22398423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22398424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22398425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22398426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22398427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22398428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22398429, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22398957, 'dashboard_result_id': 10091854, '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_P22398957_24-04-2025_21_49_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22398964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22398965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22398966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22398967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22398968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22398969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22398970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22398971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22398972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22398973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22398974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22398975, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22399545, 'dashboard_result_id': 10091855, '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_P22399545_24-04-2025_22_05_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22399574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22399575, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22399576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22399577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22399578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22399579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22399580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22399581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22399582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22399583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22399584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22399585, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22400562, 'dashboard_result_id': 10091856, '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_P22400562_24-04-2025_22_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22400625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22400626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22400627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22400628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22400629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22400630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22400631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22400632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22400633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22400634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22400635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22400636, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22401543, 'dashboard_result_id': 10091857, '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_P22401543_24-04-2025_22_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22401546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22401547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22401548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22401549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22401550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22401551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22401552, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22401553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22401554, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22401555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22401556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22401557, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22402470, 'dashboard_result_id': 10091858, '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_P22402470_24-04-2025_22_51_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22402516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22402517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22402518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22402519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22402520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22402521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22402522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22402523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22402524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22402525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22402526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22402527, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22403475, 'dashboard_result_id': 10091859, '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_P22403475_24-04-2025_23_08_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22403505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22403506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22403507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22403508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22403509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22403510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22403511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22403512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22403513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22403514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22403515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22403516, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22404342, 'dashboard_result_id': 10091860, '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_P22404342_24-04-2025_23_18_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22404371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22404372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22404373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22404374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22404375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22404376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22404377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22404378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22404379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22404380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22404381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22404382, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22405149, 'dashboard_result_id': 10091861, '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_P22405149_24-04-2025_23_34_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22405174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22405175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22405176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22405177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22405178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22405179, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22405180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22405181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22405182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22405183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22405184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22405185, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22405977, 'dashboard_result_id': 10091862, '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_P22405977_24-04-2025_23_51_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22406006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22406007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22406008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22406009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22406010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22406011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22406012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22406013, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22406014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22406015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22406016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22406017, 'pht': 3726}}"}, {'dashboat_entry_day': 1743777, 'dashboard_run_id': 1755681, 'mtr_portfolio_id': 22413934, 'dashboard_result_id': 10091863, '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_P22413934_25-04-2025_03_16_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22413935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22413936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22413937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22413938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22413939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22413940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22413941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22413942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22413943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22413944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22413945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22413946, '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 = 22364845 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': 2760761, 'mtr_portfolio_id': 22364845, 'created_at': datetime.datetime(2025, 4, 25, 5, 34, 29), 'result': '0.0917488642218522', 'result_long': None, 'result_double': None}] Qualite : 0.0917488642218522 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22364845 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22364845_25-04-2025_05_34_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22364845 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_P22364845_25-04-2025_05_34_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22364846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22364847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22364848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22364849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22364850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22364851, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22364852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22364853, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22364854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22364855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22364856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22364857, 'pht': 3726}}" where mtr_portfolio_id = 22364845 and dashboard_run_id = 1755681 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`=22364845 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091804, 0.0917488642218522, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22364845_25-04-2025_05_34_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22364846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22364847, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22364848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22364849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22364850, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22364851, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22364852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22364853, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22364854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22364855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22364856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22364857, '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 = 22364940 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': 2760762, 'mtr_portfolio_id': 22364940, 'created_at': datetime.datetime(2025, 4, 25, 5, 34, 58), 'result': '0.0419656379462685', 'result_long': None, 'result_double': None}] Qualite : 0.0419656379462685 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22364940 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22364940_25-04-2025_05_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22364940 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_P22364940_25-04-2025_05_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22364942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22364943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22364944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22364945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22364946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22364947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22364948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22364949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22364950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22364951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22364952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22364953, 'pht': 3726}}" where mtr_portfolio_id = 22364940 and dashboard_run_id = 1755681 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`=22364940 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091805, 0.0419656379462685, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22364940_25-04-2025_05_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22364942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22364943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22364944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22364945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22364946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22364947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22364948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22364949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22364950, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22364951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22364952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22364953, '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 = 22365435 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': 2760763, 'mtr_portfolio_id': 22365435, 'created_at': datetime.datetime(2025, 4, 25, 5, 35, 31), 'result': '0.0010840822754716792', 'result_long': None, 'result_double': None}] Qualite : 0.0010840822754716792 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22365435 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365435_25-04-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22365435 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_P22365435_25-04-2025_05_35_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22365464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365467, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365472, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365473, 'pht': 3726}}" where mtr_portfolio_id = 22365435 and dashboard_run_id = 1755681 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`=22365435 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091806, 0.0010840822754716792, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365435_25-04-2025_05_35_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22365464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365466, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365467, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365470, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365471, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365472, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365473, '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 = 22365436 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': 2760764, 'mtr_portfolio_id': 22365436, 'created_at': datetime.datetime(2025, 4, 25, 5, 36), 'result': '0.03747300275967765', 'result_long': None, 'result_double': None}] Qualite : 0.03747300275967765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22365436 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365436_25-04-2025_05_36_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22365436 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_P22365436_25-04-2025_05_36_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22365438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365440, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365448, 'pht': 3726}}" where mtr_portfolio_id = 22365436 and dashboard_run_id = 1755681 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`=22365436 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091807, 0.03747300275967765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365436_25-04-2025_05_36_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22365438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365440, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365448, '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 = 22365571 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': 2760765, 'mtr_portfolio_id': 22365571, 'created_at': datetime.datetime(2025, 4, 25, 5, 36, 29), 'result': '0.082238356799411', 'result_long': None, 'result_double': None}] Qualite : 0.082238356799411 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22365571 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365571_25-04-2025_05_36_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22365571 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_P22365571_25-04-2025_05_36_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22365572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365576, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365577, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365583, 'pht': 3726}}" where mtr_portfolio_id = 22365571 and dashboard_run_id = 1755681 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`=22365571 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091808, 0.082238356799411, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365571_25-04-2025_05_36_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22365572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365576, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365577, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365583, '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 = 22365928 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': 2760766, 'mtr_portfolio_id': 22365928, 'created_at': datetime.datetime(2025, 4, 25, 5, 36, 59), 'result': '0.02933044096210178', 'result_long': None, 'result_double': None}] Qualite : 0.02933044096210178 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22365928 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365928_25-04-2025_05_36_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22365928 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_P22365928_25-04-2025_05_36_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365951, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22365956, 'pht': 3726}}" where mtr_portfolio_id = 22365928 and dashboard_run_id = 1755681 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`=22365928 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091809, 0.02933044096210178, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22365928_25-04-2025_05_36_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22365945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22365946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22365947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22365948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22365949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22365950, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22365951, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22365952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22365953, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22365954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22365955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22365956, '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 = 22366604 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': 2760767, 'mtr_portfolio_id': 22366604, 'created_at': datetime.datetime(2025, 4, 25, 5, 37, 27), 'result': '0.11564601982178765', 'result_long': None, 'result_double': None}] Qualite : 0.11564601982178765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22366604 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22366604_25-04-2025_05_37_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22366604 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_P22366604_25-04-2025_05_37_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22366605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22366606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22366607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22366608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22366609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22366610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22366611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22366612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22366613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22366614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22366615, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22366616, 'pht': 3726}}" where mtr_portfolio_id = 22366604 and dashboard_run_id = 1755681 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`=22366604 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091810, 0.11564601982178765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22366604_25-04-2025_05_37_28.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22366605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22366606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22366607, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22366608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22366609, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22366610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22366611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22366612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22366613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22366614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22366615, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22366616, '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 = 22367709 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': 2760768, 'mtr_portfolio_id': 22367709, 'created_at': datetime.datetime(2025, 4, 25, 5, 37, 59), 'result': '0.04997587747792928', 'result_long': None, 'result_double': None}] Qualite : 0.04997587747792928 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22367709 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22367709_25-04-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22367709 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_P22367709_25-04-2025_05_38_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22367710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22367711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22367712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22367713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22367714, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22367715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22367716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22367717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22367718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22367719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22367720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22367721, 'pht': 3726}}" where mtr_portfolio_id = 22367709 and dashboard_run_id = 1755681 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`=22367709 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091811, 0.04997587747792928, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22367709_25-04-2025_05_38_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22367710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22367711, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22367712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22367713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22367714, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22367715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22367716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22367717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22367718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22367719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22367720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22367721, '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 = 22367997 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': 2760769, 'mtr_portfolio_id': 22367997, 'created_at': datetime.datetime(2025, 4, 25, 5, 38, 28), 'result': '0.05971901742655535', 'result_long': None, 'result_double': None}] Qualite : 0.05971901742655535 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22367997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22367997_25-04-2025_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22367997 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_P22367997_25-04-2025_05_38_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22368023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22368024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22368025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22368026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22368027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22368028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22368029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22368030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22368031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22368032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22368033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22368034, 'pht': 3726}}" where mtr_portfolio_id = 22367997 and dashboard_run_id = 1755681 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`=22367997 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091812, 0.05971901742655535, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22367997_25-04-2025_05_38_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22368023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22368024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22368025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22368026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22368027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22368028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22368029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22368030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22368031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22368032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22368033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22368034, '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 = 22368394 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': 2760770, 'mtr_portfolio_id': 22368394, 'created_at': datetime.datetime(2025, 4, 25, 5, 39, 58), 'result': '0.04948645899603621', 'result_long': None, 'result_double': None}] Qualite : 0.04948645899603621 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22368394 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22368394_25-04-2025_05_40_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22368394 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_P22368394_25-04-2025_05_40_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22368435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22368436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22368437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22368438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22368439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22368440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22368441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22368442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22368443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22368444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22368445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22368446, 'pht': 3726}}" where mtr_portfolio_id = 22368394 and dashboard_run_id = 1755681 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`=22368394 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091813, 0.04948645899603621, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22368394_25-04-2025_05_40_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22368435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22368436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22368437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22368438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22368439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22368440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22368441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22368442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22368443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22368444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22368445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22368446, '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 = 22368844 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': 2760771, 'mtr_portfolio_id': 22368844, 'created_at': datetime.datetime(2025, 4, 25, 5, 40, 29), 'result': '0.04896268542682995', 'result_long': None, 'result_double': None}] Qualite : 0.04896268542682995 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22368844 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22368844_25-04-2025_05_40_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22368844 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_P22368844_25-04-2025_05_40_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22368845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22368846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22368847, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22368848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22368849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22368850, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22368851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22368852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22368853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22368854, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22368855, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22368856, 'pht': 3726}}" where mtr_portfolio_id = 22368844 and dashboard_run_id = 1755681 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`=22368844 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091814, 0.04896268542682995, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22368844_25-04-2025_05_40_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22368845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22368846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22368847, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22368848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22368849, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22368850, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22368851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22368852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22368853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22368854, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22368855, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22368856, '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 = 22369326 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': 2760772, 'mtr_portfolio_id': 22369326, 'created_at': datetime.datetime(2025, 4, 25, 5, 41, 1), 'result': '0.04968487950685798', 'result_long': None, 'result_double': None}] Qualite : 0.04968487950685798 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22369326 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22369326_25-04-2025_05_41_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22369326 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_P22369326_25-04-2025_05_41_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22369365, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22369366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22369367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22369368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22369369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22369370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22369371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22369372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22369373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22369374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22369375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22369376, 'pht': 3726}}" where mtr_portfolio_id = 22369326 and dashboard_run_id = 1755681 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`=22369326 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091815, 0.04968487950685798, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22369326_25-04-2025_05_41_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22369365, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22369366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22369367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22369368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22369369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22369370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22369371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22369372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22369373, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22369374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22369375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22369376, '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 = 22369768 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': 2760773, 'mtr_portfolio_id': 22369768, 'created_at': datetime.datetime(2025, 4, 25, 5, 41, 54), 'result': '0.05583006250254626', 'result_long': None, 'result_double': None}] Qualite : 0.05583006250254626 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22369768 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22369768_24-04-2025_06_32_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22369768 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_P22369768_24-04-2025_06_32_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22369769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22369770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22369771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22369772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22369773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22369774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22369775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22369776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22369777, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22369778, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22369779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22369780, 'pht': 3726}}" where mtr_portfolio_id = 22369768 and dashboard_run_id = 1755681 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`=22369768 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091816, 0.05583006250254626, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22369768_24-04-2025_06_32_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22369769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22369770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22369771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22369772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22369773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22369774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22369775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22369776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22369777, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22369778, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22369779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22369780, '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 = 22370237 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': 2760774, 'mtr_portfolio_id': 22370237, 'created_at': datetime.datetime(2025, 4, 25, 5, 41, 29), 'result': '0.06399015019889298', 'result_long': None, 'result_double': None}] Qualite : 0.06399015019889298 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22370237 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22370237_25-04-2025_05_41_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22370237 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_P22370237_25-04-2025_05_41_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22370238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22370239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22370240, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22370241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22370242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22370243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22370244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22370245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22370246, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22370247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22370248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22370249, 'pht': 3726}}" where mtr_portfolio_id = 22370237 and dashboard_run_id = 1755681 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`=22370237 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091817, 0.06399015019889298, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22370237_25-04-2025_05_41_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22370238, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22370239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22370240, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22370241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22370242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22370243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22370244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22370245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22370246, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22370247, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22370248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22370249, '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 = 22370495 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': 2760775, 'mtr_portfolio_id': 22370495, 'created_at': datetime.datetime(2025, 4, 25, 5, 42), 'result': '0.049127491448999173', 'result_long': None, 'result_double': None}] Qualite : 0.049127491448999173 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22370495 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22370495_25-04-2025_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22370495 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_P22370495_25-04-2025_05_42_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22370496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22370497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22370498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22370499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22370500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22370501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22370502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22370503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22370504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22370505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22370506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22370507, 'pht': 3726}}" where mtr_portfolio_id = 22370495 and dashboard_run_id = 1755681 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`=22370495 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091818, 0.049127491448999173, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22370495_25-04-2025_05_42_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22370496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22370497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22370498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22370499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22370500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22370501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22370502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22370503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22370504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22370505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22370506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22370507, '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 = 22370825 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': 2755937, 'mtr_portfolio_id': 22370825, 'created_at': datetime.datetime(2025, 4, 24, 7, 18, 59), 'result': '0.05806895426701232', 'result_long': None, 'result_double': None}] Qualite : 0.05806895426701232 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22370825 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22370825_24-04-2025_07_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22370825 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_P22370825_24-04-2025_07_19_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22370868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22370869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22370871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22370872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22370873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22370874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22370876, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22370877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22370878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22370880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22370881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22370882, 'pht': 3726}}" where mtr_portfolio_id = 22370825 and dashboard_run_id = 1755681 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`=22370825 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091819, 0.05806895426701232, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22370825_24-04-2025_07_19_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22370868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22370869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22370871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22370872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22370873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22370874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22370876, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22370877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22370878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22370880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22370881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22370882, '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 = 22371527 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': 2756031, 'mtr_portfolio_id': 22371527, 'created_at': datetime.datetime(2025, 4, 24, 7, 32, 58), 'result': '0.055504342594357575', 'result_long': None, 'result_double': None}] Qualite : 0.055504342594357575 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22371527 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22371527_24-04-2025_07_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22371527 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_P22371527_24-04-2025_07_32_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22371567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22371568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22371569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22371570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22371571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22371572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22371573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22371574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22371575, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22371576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22371577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22371578, 'pht': 3726}}" where mtr_portfolio_id = 22371527 and dashboard_run_id = 1755681 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`=22371527 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091820, 0.055504342594357575, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22371527_24-04-2025_07_32_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22371567, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22371568, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22371569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22371570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22371571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22371572, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22371573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22371574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22371575, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22371576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22371577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22371578, '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 = 22372069 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': 2756094, 'mtr_portfolio_id': 22372069, 'created_at': datetime.datetime(2025, 4, 24, 7, 48, 58), 'result': '0.06428471435941363', 'result_long': None, 'result_double': None}] Qualite : 0.06428471435941363 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22372069 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22372069_24-04-2025_07_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22372069 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_P22372069_24-04-2025_07_48_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22372116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22372117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22372118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22372119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22372120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22372121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22372122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22372123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22372124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22372125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22372126, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22372127, 'pht': 3726}}" where mtr_portfolio_id = 22372069 and dashboard_run_id = 1755681 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`=22372069 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091821, 0.06428471435941363, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22372069_24-04-2025_07_48_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22372116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22372117, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22372118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22372119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22372120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22372121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22372122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22372123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22372124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22372125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22372126, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22372127, '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 = 22372881 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': 2756154, 'mtr_portfolio_id': 22372881, 'created_at': datetime.datetime(2025, 4, 24, 8, 2, 58), 'result': '0.0455534551482904', 'result_long': None, 'result_double': None}] Qualite : 0.0455534551482904 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22372881 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22372881_24-04-2025_08_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22372881 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_P22372881_24-04-2025_08_02_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22372907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22372908, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22372909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22372910, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22372911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22372912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22372913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22372914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22372915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22372916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22372917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22372918, 'pht': 3726}}" where mtr_portfolio_id = 22372881 and dashboard_run_id = 1755681 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`=22372881 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091822, 0.0455534551482904, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22372881_24-04-2025_08_02_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22372907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22372908, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22372909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22372910, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22372911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22372912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22372913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22372914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22372915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22372916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22372917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22372918, '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 = 22373509 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': 2756252, 'mtr_portfolio_id': 22373509, 'created_at': datetime.datetime(2025, 4, 24, 8, 21), 'result': '0.04311849371474129', 'result_long': None, 'result_double': None}] Qualite : 0.04311849371474129 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22373509 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22373509_24-04-2025_08_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22373509 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_P22373509_24-04-2025_08_21_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22373527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22373528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22373529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22373530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22373531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22373532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22373533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22373534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22373535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22373536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22373537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22373538, 'pht': 3726}}" where mtr_portfolio_id = 22373509 and dashboard_run_id = 1755681 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`=22373509 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091823, 0.04311849371474129, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22373509_24-04-2025_08_21_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22373527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22373528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22373529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22373530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22373531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22373532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22373533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22373534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22373535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22373536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22373537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22373538, '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 = 22374509 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': 2756348, 'mtr_portfolio_id': 22374509, 'created_at': datetime.datetime(2025, 4, 24, 8, 32, 59), 'result': '0.0465993125254894', 'result_long': None, 'result_double': None}] Qualite : 0.0465993125254894 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22374509 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22374509_24-04-2025_08_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22374509 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_P22374509_24-04-2025_08_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22374572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22374573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22374574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22374575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22374576, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22374577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22374578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22374579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22374580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22374581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22374582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22374583, 'pht': 3726}}" where mtr_portfolio_id = 22374509 and dashboard_run_id = 1755681 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`=22374509 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091824, 0.0465993125254894, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22374509_24-04-2025_08_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22374572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22374573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22374574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22374575, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22374576, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22374577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22374578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22374579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22374580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22374581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22374582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22374583, '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 = 22375127 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': 2756424, 'mtr_portfolio_id': 22375127, 'created_at': datetime.datetime(2025, 4, 24, 8, 48, 58), 'result': '0.05449015915567036', 'result_long': None, 'result_double': None}] Qualite : 0.05449015915567036 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22375127 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22375127_24-04-2025_08_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22375127 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_P22375127_24-04-2025_08_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22375136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22375137, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22375138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22375139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22375140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22375141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22375142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22375143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22375144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22375145, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22375146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22375147, 'pht': 3726}}" where mtr_portfolio_id = 22375127 and dashboard_run_id = 1755681 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`=22375127 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091825, 0.05449015915567036, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22375127_24-04-2025_08_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22375136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22375137, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22375138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22375139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22375140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22375141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22375142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22375143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22375144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22375145, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22375146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22375147, '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 = 22376038 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': 2756507, 'mtr_portfolio_id': 22376038, 'created_at': datetime.datetime(2025, 4, 25, 3, 16, 29), 'result': '0.04218582708402632', 'result_long': None, 'result_double': None}] Qualite : 0.04218582708402632 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22376038 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22376038_25-04-2025_03_16_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22376038 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_P22376038_25-04-2025_03_16_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22376147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22376148, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22376149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22376150, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22376151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22376152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22376153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22376154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22376155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22376156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22376157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22376158, 'pht': 3726}}" where mtr_portfolio_id = 22376038 and dashboard_run_id = 1755681 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`=22376038 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091826, 0.04218582708402632, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22376038_25-04-2025_03_16_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22376147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22376148, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22376149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22376150, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22376151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22376152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22376153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22376154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22376155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22376156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22376157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22376158, '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 = 22381488 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': 2757346, 'mtr_portfolio_id': 22381488, 'created_at': datetime.datetime(2025, 4, 24, 13, 46, 30), 'result': '0.07283001687836634', 'result_long': None, 'result_double': None}] Qualite : 0.07283001687836634 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22381488 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22381488_24-04-2025_13_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22381488 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_P22381488_24-04-2025_13_46_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22381489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22381490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22381491, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22381492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22381493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22381494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22381495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22381496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22381497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22381498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22381499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22381500, 'pht': 3726}}" where mtr_portfolio_id = 22381488 and dashboard_run_id = 1755681 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`=22381488 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091827, 0.07283001687836634, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22381488_24-04-2025_13_46_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22381489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22381490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22381491, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22381492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22381493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22381494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22381495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22381496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22381497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22381498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22381499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22381500, '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 = 22381997 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': 2757376, 'mtr_portfolio_id': 22381997, 'created_at': datetime.datetime(2025, 4, 24, 14, 6, 58), 'result': '0.05530348544963968', 'result_long': None, 'result_double': None}] Qualite : 0.05530348544963968 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22381997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22381997_24-04-2025_14_06_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22381997 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_P22381997_24-04-2025_14_06_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22382001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22382002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22382003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22382004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22382005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22382006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22382007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22382008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22382009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22382010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22382011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22382012, 'pht': 3726}}" where mtr_portfolio_id = 22381997 and dashboard_run_id = 1755681 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`=22381997 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091828, 0.05530348544963968, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22381997_24-04-2025_14_06_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22382001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22382002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22382003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22382004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22382005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22382006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22382007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22382008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22382009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22382010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22382011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22382012, '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 = 22382953 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': 2757457, 'mtr_portfolio_id': 22382953, 'created_at': datetime.datetime(2025, 4, 24, 14, 19), 'result': '0.043272288002806206', 'result_long': None, 'result_double': None}] Qualite : 0.043272288002806206 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22382953 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22382953_24-04-2025_14_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22382953 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_P22382953_24-04-2025_14_19_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22382981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22382982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22382983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22382984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22382985, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22382986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22382987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22382988, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22382989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22382990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22382991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22382992, 'pht': 3726}}" where mtr_portfolio_id = 22382953 and dashboard_run_id = 1755681 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`=22382953 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091829, 0.043272288002806206, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22382953_24-04-2025_14_19_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22382981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22382982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22382983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22382984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22382985, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22382986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22382987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22382988, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22382989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22382990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22382991, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22382992, '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 = 22383692 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': 2757498, 'mtr_portfolio_id': 22383692, 'created_at': datetime.datetime(2025, 4, 24, 14, 34, 59), 'result': '0.04610178439227608', 'result_long': None, 'result_double': None}] Qualite : 0.04610178439227608 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22383692 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22383692_24-04-2025_14_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22383692 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_P22383692_24-04-2025_14_35_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22383720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22383721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22383722, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22383723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22383724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22383725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22383726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22383727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22383728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22383729, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22383730, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22383731, 'pht': 3726}}" where mtr_portfolio_id = 22383692 and dashboard_run_id = 1755681 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`=22383692 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091830, 0.04610178439227608, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22383692_24-04-2025_14_35_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22383720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22383721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22383722, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22383723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22383724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22383725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22383726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22383727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22383728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22383729, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22383730, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22383731, '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 = 22384585 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': 2757568, 'mtr_portfolio_id': 22384585, 'created_at': datetime.datetime(2025, 4, 24, 14, 48, 29), 'result': '0.07113551959039967', 'result_long': None, 'result_double': None}] Qualite : 0.07113551959039967 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22384585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22384585_24-04-2025_14_48_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22384585 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_P22384585_24-04-2025_14_48_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22384590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22384591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22384592, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22384593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22384594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22384595, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22384596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22384597, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22384598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22384599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22384600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22384601, 'pht': 3726}}" where mtr_portfolio_id = 22384585 and dashboard_run_id = 1755681 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`=22384585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091831, 0.07113551959039967, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22384585_24-04-2025_14_48_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22384590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22384591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22384592, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22384593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22384594, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22384595, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22384596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22384597, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22384598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22384599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22384600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22384601, '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 = 22385919 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': 2757732, 'mtr_portfolio_id': 22385919, 'created_at': datetime.datetime(2025, 4, 24, 15, 34, 59), 'result': '0.09178398317884932', 'result_long': None, 'result_double': None}] Qualite : 0.09178398317884932 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22385919 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22385919_24-04-2025_15_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22385919 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_P22385919_24-04-2025_15_34_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22385925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22385926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22385927, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22385928, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22385929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22385930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22385931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22385932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22385933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22385934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22385935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22385936, 'pht': 3726}}" where mtr_portfolio_id = 22385919 and dashboard_run_id = 1755681 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`=22385919 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091832, 0.09178398317884932, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22385919_24-04-2025_15_34_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22385925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22385926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22385927, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22385928, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22385929, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22385930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22385931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22385932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22385933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22385934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22385935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22385936, '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 = 22386105 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': 2757750, 'mtr_portfolio_id': 22386105, 'created_at': datetime.datetime(2025, 4, 24, 15, 47), 'result': '0.06124602521363633', 'result_long': None, 'result_double': None}] Qualite : 0.06124602521363633 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22386105 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22386105_24-04-2025_15_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22386105 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_P22386105_24-04-2025_15_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22386146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22386147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22386148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22386149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22386150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22386151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22386152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22386153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22386154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22386155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22386156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22386157, 'pht': 3726}}" where mtr_portfolio_id = 22386105 and dashboard_run_id = 1755681 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`=22386105 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091833, 0.06124602521363633, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22386105_24-04-2025_15_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22386146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22386147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22386148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22386149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22386150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22386151, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22386152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22386153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22386154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22386155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22386156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22386157, '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 = 22386532 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': 2757807, 'mtr_portfolio_id': 22386532, 'created_at': datetime.datetime(2025, 4, 24, 16, 2, 30), 'result': '0.05765260509667263', 'result_long': None, 'result_double': None}] Qualite : 0.05765260509667263 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22386532 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22386532_24-04-2025_16_02_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22386532 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_P22386532_24-04-2025_16_02_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22386538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22386539, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22386540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22386541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22386542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22386543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22386544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22386545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22386546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22386547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22386548, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22386549, 'pht': 3726}}" where mtr_portfolio_id = 22386532 and dashboard_run_id = 1755681 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`=22386532 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091834, 0.05765260509667263, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22386532_24-04-2025_16_02_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22386538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22386539, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22386540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22386541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22386542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22386543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22386544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22386545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22386546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22386547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22386548, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22386549, '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 = 22387089 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': 2757900, 'mtr_portfolio_id': 22387089, 'created_at': datetime.datetime(2025, 4, 24, 16, 17, 1), 'result': '0.05648683752681784', 'result_long': None, 'result_double': None}] Qualite : 0.05648683752681784 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22387089 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22387089_24-04-2025_16_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22387089 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_P22387089_24-04-2025_16_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22387094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22387095, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22387096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22387097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22387098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22387099, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22387100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22387101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22387102, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22387103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22387104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22387105, 'pht': 3726}}" where mtr_portfolio_id = 22387089 and dashboard_run_id = 1755681 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`=22387089 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091835, 0.05648683752681784, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22387089_24-04-2025_16_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22387094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22387095, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22387096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22387097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22387098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22387099, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22387100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22387101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22387102, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22387103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22387104, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22387105, '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 = 22387635 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': 2757938, 'mtr_portfolio_id': 22387635, 'created_at': datetime.datetime(2025, 4, 24, 16, 32, 59), 'result': '0.0720265064539904', 'result_long': None, 'result_double': None}] Qualite : 0.0720265064539904 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22387635 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22387635_24-04-2025_16_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22387635 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_P22387635_24-04-2025_16_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22387662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22387663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22387664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22387665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22387666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22387667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22387668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22387669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22387670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22387671, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22387672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22387673, 'pht': 3726}}" where mtr_portfolio_id = 22387635 and dashboard_run_id = 1755681 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`=22387635 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091836, 0.0720265064539904, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22387635_24-04-2025_16_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22387662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22387663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22387664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22387665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22387666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22387667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22387668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22387669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22387670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22387671, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22387672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22387673, '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 = 22387956 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': 2757992, 'mtr_portfolio_id': 22387956, 'created_at': datetime.datetime(2025, 4, 24, 16, 50, 59), 'result': '0.05543258693448774', 'result_long': None, 'result_double': None}] Qualite : 0.05543258693448774 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22387956 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22387956_24-04-2025_16_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22387956 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_P22387956_24-04-2025_16_51_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22388016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22388017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22388018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22388019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22388020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22388021, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22388022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22388023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22388024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22388025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22388026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22388027, 'pht': 3726}}" where mtr_portfolio_id = 22387956 and dashboard_run_id = 1755681 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`=22387956 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091837, 0.05543258693448774, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22387956_24-04-2025_16_51_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22388016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22388017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22388018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22388019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22388020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22388021, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22388022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22388023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22388024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22388025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22388026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22388027, '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 = 22388968 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': 2758072, 'mtr_portfolio_id': 22388968, 'created_at': datetime.datetime(2025, 4, 24, 17, 4, 58), 'result': '0.06352964092713036', 'result_long': None, 'result_double': None}] Qualite : 0.06352964092713036 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22388968 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22388968_24-04-2025_17_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22388968 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_P22388968_24-04-2025_17_04_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22389005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22389006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22389007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22389008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22389009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22389010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22389011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22389012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22389013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22389014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22389015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22389016, 'pht': 3726}}" where mtr_portfolio_id = 22388968 and dashboard_run_id = 1755681 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`=22388968 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091838, 0.06352964092713036, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22388968_24-04-2025_17_04_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22389005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22389006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22389007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22389008, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22389009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22389010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22389011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22389012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22389013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22389014, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22389015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22389016, '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 = 22389487 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': 2758126, 'mtr_portfolio_id': 22389487, 'created_at': datetime.datetime(2025, 4, 24, 17, 18, 59), 'result': '0.05770817470709239', 'result_long': None, 'result_double': None}] Qualite : 0.05770817470709239 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22389487 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22389487_24-04-2025_17_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22389487 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_P22389487_24-04-2025_17_19_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22389595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22389596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22389597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22389598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22389599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22389600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22389601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22389602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22389603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22389604, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22389605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22389606, 'pht': 3726}}" where mtr_portfolio_id = 22389487 and dashboard_run_id = 1755681 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`=22389487 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091839, 0.05770817470709239, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22389487_24-04-2025_17_19_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22389595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22389596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22389597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22389598, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22389599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22389600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22389601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22389602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22389603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22389604, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22389605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22389606, '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 = 22390166 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': 2758173, 'mtr_portfolio_id': 22390166, 'created_at': datetime.datetime(2025, 4, 24, 17, 32, 30), 'result': '0.06113605016141997', 'result_long': None, 'result_double': None}] Qualite : 0.06113605016141997 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22390166 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22390166_24-04-2025_17_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22390166 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_P22390166_24-04-2025_17_32_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22390170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22390171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22390172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22390173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22390174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22390175, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22390176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22390177, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22390178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22390179, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22390180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22390181, 'pht': 3726}}" where mtr_portfolio_id = 22390166 and dashboard_run_id = 1755681 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`=22390166 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091840, 0.06113605016141997, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22390166_24-04-2025_17_32_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22390170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22390171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22390172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22390173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22390174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22390175, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22390176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22390177, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22390178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22390179, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22390180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22390181, '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 = 22391365 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': 2758389, 'mtr_portfolio_id': 22391365, 'created_at': datetime.datetime(2025, 4, 24, 18, 20, 58), 'result': '0.051908386847678525', 'result_long': None, 'result_double': None}] Qualite : 0.051908386847678525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22391365 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22391365_24-04-2025_18_20_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22391365 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_P22391365_24-04-2025_18_20_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22391392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22391393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22391394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22391395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22391396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22391397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22391398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22391399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22391400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22391401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22391402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22391403, 'pht': 3726}}" where mtr_portfolio_id = 22391365 and dashboard_run_id = 1755681 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`=22391365 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091841, 0.051908386847678525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22391365_24-04-2025_18_20_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22391392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22391393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22391394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22391395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22391396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22391397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22391398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22391399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22391400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22391401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22391402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22391403, '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 = 22391982 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': 2758440, 'mtr_portfolio_id': 22391982, 'created_at': datetime.datetime(2025, 4, 24, 18, 33), 'result': '0.05254239459125022', 'result_long': None, 'result_double': None}] Qualite : 0.05254239459125022 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22391982 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22391982_24-04-2025_18_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22391982 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_P22391982_24-04-2025_18_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22391987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22391988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22391989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22391990, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22391991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22391992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22391993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22391994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22391995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22391996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22391997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22391998, 'pht': 3726}}" where mtr_portfolio_id = 22391982 and dashboard_run_id = 1755681 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`=22391982 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091842, 0.05254239459125022, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22391982_24-04-2025_18_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22391987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22391988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22391989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22391990, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22391991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22391992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22391993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22391994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22391995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22391996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22391997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22391998, '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 = 22392453 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': 2758496, 'mtr_portfolio_id': 22392453, 'created_at': datetime.datetime(2025, 4, 24, 18, 48, 57), 'result': '0.07075174923897375', 'result_long': None, 'result_double': None}] Qualite : 0.07075174923897375 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22392453 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22392453_24-04-2025_18_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22392453 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_P22392453_24-04-2025_18_48_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22392510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22392511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22392512, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22392513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22392514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22392515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22392516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22392517, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22392518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22392519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22392520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22392521, 'pht': 3726}}" where mtr_portfolio_id = 22392453 and dashboard_run_id = 1755681 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`=22392453 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091843, 0.07075174923897375, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22392453_24-04-2025_18_48_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22392510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22392511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22392512, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22392513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22392514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22392515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22392516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22392517, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22392518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22392519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22392520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22392521, '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 = 22392883 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': 2758545, 'mtr_portfolio_id': 22392883, 'created_at': datetime.datetime(2025, 4, 24, 19, 2, 32), 'result': '0.07720033540700966', 'result_long': None, 'result_double': None}] Qualite : 0.07720033540700966 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22392883 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22392883_24-04-2025_19_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22392883 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_P22392883_24-04-2025_19_02_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22392886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22392887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22392888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22392889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22392890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22392891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22392892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22392893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22392894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22392895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22392896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22392897, 'pht': 3726}}" where mtr_portfolio_id = 22392883 and dashboard_run_id = 1755681 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`=22392883 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091844, 0.07720033540700966, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22392883_24-04-2025_19_02_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22392886, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22392887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22392888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22392889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22392890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22392891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22392892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22392893, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22392894, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22392895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22392896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22392897, '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 = 22393323 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': 2758607, 'mtr_portfolio_id': 22393323, 'created_at': datetime.datetime(2025, 4, 24, 19, 17), 'result': '0.07177438740590858', 'result_long': None, 'result_double': None}] Qualite : 0.07177438740590858 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22393323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22393323_24-04-2025_19_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22393323 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_P22393323_24-04-2025_19_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22393363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22393364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22393365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22393366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22393367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22393368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22393369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22393370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22393371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22393372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22393373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22393374, 'pht': 3726}}" where mtr_portfolio_id = 22393323 and dashboard_run_id = 1755681 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`=22393323 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091845, 0.07177438740590858, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22393323_24-04-2025_19_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22393363, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22393364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22393365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22393366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22393367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22393368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22393369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22393370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22393371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22393372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22393373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22393374, '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 = 22394050 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': 2758650, 'mtr_portfolio_id': 22394050, 'created_at': datetime.datetime(2025, 4, 24, 19, 34, 59), 'result': '0.05536436296369449', 'result_long': None, 'result_double': None}] Qualite : 0.05536436296369449 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22394050 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394050_24-04-2025_19_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22394050 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_P22394050_24-04-2025_19_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394086, 'pht': 3726}}" where mtr_portfolio_id = 22394050 and dashboard_run_id = 1755681 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`=22394050 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091846, 0.05536436296369449, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394050_24-04-2025_19_34_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394075, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394083, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394086, '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 = 22394741 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': 2758727, 'mtr_portfolio_id': 22394741, 'created_at': datetime.datetime(2025, 4, 24, 19, 46, 59), 'result': '0.06821332546530194', 'result_long': None, 'result_double': None}] Qualite : 0.06821332546530194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22394741 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394741_24-04-2025_19_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22394741 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_P22394741_24-04-2025_19_46_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394804, 'pht': 3726}}" where mtr_portfolio_id = 22394741 and dashboard_run_id = 1755681 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`=22394741 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091847, 0.06821332546530194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22394741_24-04-2025_19_46_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22394793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22394794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22394795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22394796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22394797, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22394798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22394799, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22394800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22394801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22394802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22394803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22394804, '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 = 22395373 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': 2758767, 'mtr_portfolio_id': 22395373, 'created_at': datetime.datetime(2025, 4, 24, 20, 3), 'result': '0.06351724721165095', 'result_long': None, 'result_double': None}] Qualite : 0.06351724721165095 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22395373 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22395373_24-04-2025_20_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22395373 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_P22395373_24-04-2025_20_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22395431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22395432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22395433, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22395434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22395435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22395436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22395437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22395438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22395439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22395440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22395441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22395442, 'pht': 3726}}" where mtr_portfolio_id = 22395373 and dashboard_run_id = 1755681 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`=22395373 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091848, 0.06351724721165095, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22395373_24-04-2025_20_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22395431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22395432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22395433, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22395434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22395435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22395436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22395437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22395438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22395439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22395440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22395441, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22395442, '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 = 22395952 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': 2758833, 'mtr_portfolio_id': 22395952, 'created_at': datetime.datetime(2025, 4, 24, 20, 18, 58), 'result': '0.04074928029968472', 'result_long': None, 'result_double': None}] Qualite : 0.04074928029968472 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22395952 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22395952_24-04-2025_20_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22395952 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_P22395952_24-04-2025_20_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22396015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22396016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22396017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22396018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22396019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22396020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22396021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22396022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22396023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22396024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22396025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22396026, 'pht': 3726}}" where mtr_portfolio_id = 22395952 and dashboard_run_id = 1755681 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`=22395952 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091849, 0.04074928029968472, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22395952_24-04-2025_20_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22396015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22396016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22396017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22396018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22396019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22396020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22396021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22396022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22396023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22396024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22396025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22396026, '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 = 22396625 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': 2758883, 'mtr_portfolio_id': 22396625, 'created_at': datetime.datetime(2025, 4, 24, 20, 37), 'result': '0.055513351958558534', 'result_long': None, 'result_double': None}] Qualite : 0.055513351958558534 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22396625 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22396625_24-04-2025_20_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22396625 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_P22396625_24-04-2025_20_37_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22396689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22396690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22396691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22396692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22396693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22396694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22396695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22396696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22396697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22396698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22396699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22396700, 'pht': 3726}}" where mtr_portfolio_id = 22396625 and dashboard_run_id = 1755681 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`=22396625 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091850, 0.055513351958558534, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22396625_24-04-2025_20_37_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22396689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22396690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22396691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22396692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22396693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22396694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22396695, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22396696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22396697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22396698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22396699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22396700, '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 = 22397613 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': 2758978, 'mtr_portfolio_id': 22397613, 'created_at': datetime.datetime(2025, 4, 24, 21, 7), 'result': '0.06618295471791456', 'result_long': None, 'result_double': None}] Qualite : 0.06618295471791456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22397613 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22397613_24-04-2025_21_07_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22397613 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_P22397613_24-04-2025_21_07_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22397617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22397618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22397619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22397620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22397621, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22397622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22397623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22397624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22397625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22397626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22397627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22397628, 'pht': 3726}}" where mtr_portfolio_id = 22397613 and dashboard_run_id = 1755681 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`=22397613 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091851, 0.06618295471791456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22397613_24-04-2025_21_07_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22397617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22397618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22397619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22397620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22397621, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22397622, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22397623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22397624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22397625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22397626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22397627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22397628, '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 = 22398306 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': 2759077, 'mtr_portfolio_id': 22398306, 'created_at': datetime.datetime(2025, 4, 24, 21, 18, 58), 'result': '0.050588397314892807', 'result_long': None, 'result_double': None}] Qualite : 0.050588397314892807 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22398306 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22398306_24-04-2025_21_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22398306 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_P22398306_24-04-2025_21_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22398308, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22398309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22398310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22398311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22398312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22398313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22398314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22398315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22398316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22398317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22398318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22398319, 'pht': 3726}}" where mtr_portfolio_id = 22398306 and dashboard_run_id = 1755681 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`=22398306 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091852, 0.050588397314892807, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22398306_24-04-2025_21_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22398308, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22398309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22398310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22398311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22398312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22398313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22398314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22398315, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22398316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22398317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22398318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22398319, '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 = 22398412 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': 2759094, 'mtr_portfolio_id': 22398412, 'created_at': datetime.datetime(2025, 4, 24, 21, 32, 31), 'result': '0.07546698692383626', 'result_long': None, 'result_double': None}] Qualite : 0.07546698692383626 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22398412 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22398412_24-04-2025_21_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22398412 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_P22398412_24-04-2025_21_32_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22398418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22398419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22398420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22398421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22398422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22398423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22398424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22398425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22398426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22398427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22398428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22398429, 'pht': 3726}}" where mtr_portfolio_id = 22398412 and dashboard_run_id = 1755681 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`=22398412 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091853, 0.07546698692383626, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22398412_24-04-2025_21_32_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22398418, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22398419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22398420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22398421, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22398422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22398423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22398424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22398425, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22398426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22398427, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22398428, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22398429, '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 = 22398957 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': 2759179, 'mtr_portfolio_id': 22398957, 'created_at': datetime.datetime(2025, 4, 24, 21, 49), 'result': '0.06235237324045487', 'result_long': None, 'result_double': None}] Qualite : 0.06235237324045487 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22398957 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22398957_24-04-2025_21_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22398957 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_P22398957_24-04-2025_21_49_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22398964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22398965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22398966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22398967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22398968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22398969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22398970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22398971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22398972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22398973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22398974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22398975, 'pht': 3726}}" where mtr_portfolio_id = 22398957 and dashboard_run_id = 1755681 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`=22398957 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091854, 0.06235237324045487, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22398957_24-04-2025_21_49_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22398964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22398965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22398966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22398967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22398968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22398969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22398970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22398971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22398972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22398973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22398974, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22398975, '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 = 22399545 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': 2759238, 'mtr_portfolio_id': 22399545, 'created_at': datetime.datetime(2025, 4, 24, 22, 5), 'result': '0.053417697106020255', 'result_long': None, 'result_double': None}] Qualite : 0.053417697106020255 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22399545 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22399545_24-04-2025_22_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22399545 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_P22399545_24-04-2025_22_05_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22399574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22399575, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22399576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22399577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22399578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22399579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22399580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22399581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22399582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22399583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22399584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22399585, 'pht': 3726}}" where mtr_portfolio_id = 22399545 and dashboard_run_id = 1755681 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`=22399545 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091855, 0.053417697106020255, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22399545_24-04-2025_22_05_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22399574, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22399575, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22399576, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22399577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22399578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22399579, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22399580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22399581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22399582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22399583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22399584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22399585, '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 = 22400562 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': 2759339, 'mtr_portfolio_id': 22400562, 'created_at': datetime.datetime(2025, 4, 24, 22, 16, 58), 'result': '0.050408771815013194', 'result_long': None, 'result_double': None}] Qualite : 0.050408771815013194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22400562 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22400562_24-04-2025_22_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22400562 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_P22400562_24-04-2025_22_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22400625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22400626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22400627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22400628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22400629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22400630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22400631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22400632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22400633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22400634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22400635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22400636, 'pht': 3726}}" where mtr_portfolio_id = 22400562 and dashboard_run_id = 1755681 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`=22400562 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091856, 0.050408771815013194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22400562_24-04-2025_22_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22400625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22400626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22400627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22400628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22400629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22400630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22400631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22400632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22400633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22400634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22400635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22400636, '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 = 22401543 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': 2759397, 'mtr_portfolio_id': 22401543, 'created_at': datetime.datetime(2025, 4, 24, 22, 32, 58), 'result': '0.04146142728776247', 'result_long': None, 'result_double': None}] Qualite : 0.04146142728776247 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22401543 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22401543_24-04-2025_22_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22401543 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_P22401543_24-04-2025_22_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22401546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22401547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22401548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22401549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22401550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22401551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22401552, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22401553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22401554, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22401555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22401556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22401557, 'pht': 3726}}" where mtr_portfolio_id = 22401543 and dashboard_run_id = 1755681 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`=22401543 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091857, 0.04146142728776247, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22401543_24-04-2025_22_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22401546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22401547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22401548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22401549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22401550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22401551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22401552, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22401553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22401554, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22401555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22401556, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22401557, '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 = 22402470 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': 2759452, 'mtr_portfolio_id': 22402470, 'created_at': datetime.datetime(2025, 4, 24, 22, 50, 59), 'result': '0.049624119949482605', 'result_long': None, 'result_double': None}] Qualite : 0.049624119949482605 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22402470 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22402470_24-04-2025_22_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22402470 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_P22402470_24-04-2025_22_51_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22402516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22402517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22402518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22402519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22402520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22402521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22402522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22402523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22402524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22402525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22402526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22402527, 'pht': 3726}}" where mtr_portfolio_id = 22402470 and dashboard_run_id = 1755681 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`=22402470 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091858, 0.049624119949482605, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22402470_24-04-2025_22_51_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22402516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22402517, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22402518, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22402519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22402520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22402521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22402522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22402523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22402524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22402525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22402526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22402527, '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 = 22403475 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': 2759507, 'mtr_portfolio_id': 22403475, 'created_at': datetime.datetime(2025, 4, 24, 23, 7, 59), 'result': '0.036305943530978185', 'result_long': None, 'result_double': None}] Qualite : 0.036305943530978185 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22403475 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22403475_24-04-2025_23_08_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22403475 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_P22403475_24-04-2025_23_08_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22403505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22403506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22403507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22403508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22403509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22403510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22403511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22403512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22403513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22403514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22403515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22403516, 'pht': 3726}}" where mtr_portfolio_id = 22403475 and dashboard_run_id = 1755681 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`=22403475 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091859, 0.036305943530978185, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22403475_24-04-2025_23_08_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22403505, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22403506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22403507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22403508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22403509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22403510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22403511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22403512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22403513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22403514, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22403515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22403516, '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 = 22404342 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': 2759574, 'mtr_portfolio_id': 22404342, 'created_at': datetime.datetime(2025, 4, 24, 23, 18, 58), 'result': '0.04691658373223406', 'result_long': None, 'result_double': None}] Qualite : 0.04691658373223406 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22404342 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22404342_24-04-2025_23_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22404342 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_P22404342_24-04-2025_23_18_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22404371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22404372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22404373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22404374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22404375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22404376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22404377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22404378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22404379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22404380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22404381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22404382, 'pht': 3726}}" where mtr_portfolio_id = 22404342 and dashboard_run_id = 1755681 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`=22404342 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091860, 0.04691658373223406, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22404342_24-04-2025_23_18_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22404371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22404372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22404373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22404374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22404375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22404376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22404377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22404378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22404379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22404380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22404381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22404382, '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 = 22405149 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': 2759607, 'mtr_portfolio_id': 22405149, 'created_at': datetime.datetime(2025, 4, 24, 23, 34, 57), 'result': '0.0527398467982905', 'result_long': None, 'result_double': None}] Qualite : 0.0527398467982905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22405149 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22405149_24-04-2025_23_34_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22405149 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_P22405149_24-04-2025_23_34_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22405174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22405175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22405176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22405177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22405178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22405179, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22405180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22405181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22405182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22405183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22405184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22405185, 'pht': 3726}}" where mtr_portfolio_id = 22405149 and dashboard_run_id = 1755681 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`=22405149 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091861, 0.0527398467982905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22405149_24-04-2025_23_34_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22405174, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22405175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22405176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22405177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22405178, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22405179, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22405180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22405181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22405182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22405183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22405184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22405185, '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 = 22405977 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': 2759650, 'mtr_portfolio_id': 22405977, 'created_at': datetime.datetime(2025, 4, 24, 23, 50, 59), 'result': '0.06051274635681899', 'result_long': None, 'result_double': None}] Qualite : 0.06051274635681899 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22405977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22405977_24-04-2025_23_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22405977 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_P22405977_24-04-2025_23_51_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22406006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22406007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22406008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22406009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22406010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22406011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22406012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22406013, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22406014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22406015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22406016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22406017, 'pht': 3726}}" where mtr_portfolio_id = 22405977 and dashboard_run_id = 1755681 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`=22405977 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091862, 0.06051274635681899, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22405977_24-04-2025_23_51_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22406006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22406007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22406008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22406009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22406010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22406011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22406012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22406013, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22406014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22406015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22406016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22406017, '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 = 22413934 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': 2760374, 'mtr_portfolio_id': 22413934, 'created_at': datetime.datetime(2025, 4, 25, 3, 15, 57), 'result': '0.053490905115106284', 'result_long': None, 'result_double': None}] Qualite : 0.053490905115106284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22413934 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22413934_25-04-2025_03_16_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22413934 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_P22413934_25-04-2025_03_16_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22413935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22413936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22413937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22413938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22413939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22413940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22413941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22413942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22413943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22413944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22413945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22413946, 'pht': 3726}}" where mtr_portfolio_id = 22413934 and dashboard_run_id = 1755681 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`=22413934 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10091863, 0.053490905115106284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22413934_25-04-2025_03_16_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22413935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22413936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22413937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22413938, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22413939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22413940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22413941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22413942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22413943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22413944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22413945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22413946, '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 (22364845,22364940,22365435,22365436,22365571,22365928,22366604,22367709,22367997,22368394,22368844,22369326,22369768,22370237,22370495,22370825,22371527,22372069,22372881,22373509,22374509,22375127,22376038,22381488,22381997,22382953,22383692,22384585,22385919,22386105,22386532,22387089,22387635,22387956,22388968,22389487,22390166,22391365,22391982,22392453,22392883,22393323,22394050,22394741,22395373,22395952,22396625,22397613,22398306,22398412,22398957,22399545,22400562,22401543,22402470,22403475,22404342,22405149,22405977,22413934) result : ((1353237435,), (1353237563,), (1353237567,), (1353237587,), (1353237960,), (1353238014,), (1353238347,), (1353239057,), (1353239117,), (1353239139,), (1353239230,), (1353239234,), (1353239266,), (1353239358,), (1353239361,), (1353239391,), (1353239450,), (1353239452,), (1353239495,), (1353239500,), (1353239998,), (1353242932,), (1353242964,), (1353242965,), (1353242966,), (1353242993,), (1353243057,), (1353243116,), (1353243280,), (1353243195,), (1353243274,), (1353243344,), (1353243381,), (1353243513,), (1353243523,), (1353243525,), (1353243552,), (1353243553,), (1353243641,), (1353243675,), (1353243677,), (1353243714,), (1353243733,), (1353243765,), (1353243768,), (1353243827,), (1353243886,), (1353244242,), (1353245563,), (1353245542,), (1353246225,), (1353246255,), (1353246719,), (1353246741,), (1353246746,), (1353247228,), (1353247320,), (1353253839,), (1353253998,), (1353254456,), (1353254812,), (1353254890,), (1353254952,), (1353255157,), (1353255195,), (1353255262,), (1353255294,), (1353255641,), (1353270977,), (1353270969,), (1353271457,), (1353271935,), (1353271970,), (1353272005,), (1353272032,), (1353272346,), (1353272378,), (1353272406,), (1353272748,), (1353273130,), (1353273132,), (1353273133,), (1353273135,), (1353273158,), (1353273159,), (1353273202,), (1353273203,), (1353273205,), (1353273299,), (1353273301,), (1353273303,), (1353273304,), (1353273336,), (1353273338,), (1353273340,), (1353273363,), (1353273366,), (1353273367,), (1353273398,), (1353273402,), (1353273403,), (1353273404,), (1353273431,), (1353273444,), (1353273473,), (1353273502,), (1353273775,), (1353273777,), (1353273779,), (1353273783,), (1353274197,), (1353274379,), (1353274467,), (1353274469,), (1353274472,), (1353274480,), (1353274566,), (1353274533,), (1353274555,), (1353274559,), (1353274562,), (1353274575,), (1353274578,), (1353274580,), (1353274582,), (1353274584,), (1353274849,), (1353274875,), (1353274901,), (1353274937,), (1353274970,), (1353275258,), (1353275283,), (1353275323,), (1353275336,), (1353275350,), (1353275403,), (1353275410,), (1353275411,), (1353275415,), (1353275438,), (1353275440,), (1353275442,), (1353275444,), (1353275447,), (1353275451,), (1353275475,), (1353275478,), (1353275479,), (1353275505,), (1353275512,), (1353275515,), (1353275518,), (1353275523,), (1353275528,), (1353275581,), (1353275587,), (1353275591,), (1353275593,), (1353275594,), (1353275625,), (1353275627,), (1353275629,), (1353275632,), (1353275635,), (1353275696,), (1353275697,), (1353275718,), (1353275722,), (1353275735,), (1353275777,), (1353275780,), (1353275784,), (1353275786,), (1353275790,), (1353275894,), (1353275997,), (1353276007,), (1353276011,), (1353276014,), (1353276021,), (1353276046,), (1353276048,), (1353276050,), (1353276056,), (1353276088,), (1353276094,), (1353276102,), (1353276106,), (1353276111,), (1353276172,), (1353276153,), (1353276156,), (1353276159,), (1353276163,), (1353276167,), (1353276251,), (1353276286,), (1353276312,), (1353276327,), (1353276703,), (1353276754,), (1353276806,), (1353276857,), (1353276907,), (1353277425,), (1353277454,), (1353277487,), (1353277532,), (1353277563,), (1353277686,), (1353277688,), (1353277693,), (1353277696,), (1353277700,), (1353277724,), (1353277811,), (1353277836,), (1353277864,), (1353277909,), (1353277937,), (1353278136,), (1353278162,), (1353278199,), (1353278201,), (1353278297,), (1353278303,), (1353278313,), (1353278316,), (1353278318,), (1353278320,), (1353278351,), (1353278353,), (1353278355,), (1353278356,), (1353278393,), (1353278394,), (1353278396,), (1353278398,), (1353278400,), (1353278403,), (1353278447,), (1353278452,), (1353278455,), (1353278458,), (1353278516,), (1353278522,), (1353278526,), (1353278528,), (1353278533,), (1353278536,), (1353278559,), (1353278560,), (1353278561,), (1353278562,), (1353278565,), (1353278568,), (1353278599,), (1353278602,), (1353278607,), (1353278614,), (1353278624,), (1353278659,), (1353278660,), (1353278662,), (1353278663,), (1353278666,), (1353278718,), (1353278710,), (1353278714,), (1353278717,), (1353278750,), (1353278753,), (1353278756,), (1353278759,), (1353278763,), (1353278790,), (1353278792,), (1353278798,), (1353278801,), (1353278803,), (1353278833,), (1353278836,), (1353278840,), (1353278843,), (1353278846,), (1353278869,), (1353278871,), (1353278872,), (1353278874,), (1353278886,), (1353278890,), (1353278903,), (1353278906,), (1353278907,), (1353278908,), (1353278939,), (1353278940,), (1353278944,), (1353278951,), (1353278953,), (1353278955,), (1353278992,), (1353278993,), (1353278994,), (1353278995,), (1353279039,), (1353279048,), (1353279053,), (1353279054,), (1353279055,), (1353279058,), (1353279084,), (1353279087,), (1353279090,), (1353279094,), (1353279123,), (1353279126,), (1353279128,), (1353279130,), (1353279132,), (1353279133,), (1353279164,), (1353279166,), (1353279167,), (1353279168,), (1353279171,), (1353279396,), (1353279420,), (1353279427,), (1353279436,), (1353279441,), (1353279444,), (1353280057,), (1353280087,), (1353280144,), (1353280149,), (1353280288,), (1353280277,), (1353280282,), (1353280285,), (1353280287,), (1353280322,), (1353280325,), (1353280330,), (1353280335,), (1353280337,), (1353280376,), (1353280377,), (1353280380,), (1353280383,), (1353280386,), (1353280413,), (1353280416,), (1353280419,), (1353280420,), (1353280423,), (1353280427,), (1353280459,), (1353280461,), (1353280462,), (1353280464,), (1353280466,), (1353280505,), (1353280515,), (1353280516,), (1353280517,), (1353280520,), (1353280538,), (1353280541,), (1353280544,), (1353280547,), (1353280552,), (1353280556,), (1353280590,), (1353280597,), (1353280599,), (1353280601,), (1353280633,), (1353280636,), (1353280638,), (1353280640,), (1353280643,), (1353280647,), (1353280680,), (1353280684,), (1353280692,), (1353280698,), (1353280724,), (1353280727,), (1353280730,), (1353280733,), (1353280736,), (1353280739,), (1353280763,), (1353280766,), (1353280767,), (1353280768,), (1353280802,), (1353280806,), (1353280814,), (1353280817,), (1353280820,), (1353280823,), (1353280861,), (1353280864,), (1353280865,), (1353280866,), (1353280907,), (1353280909,), (1353280911,), (1353280913,), (1353280917,), (1353280921,), (1353280971,), (1353280959,), (1353280964,), (1353280970,), (1353281008,), (1353281012,), (1353281014,), (1353281015,), (1353281018,), (1353281020,), (1353281057,), (1353281063,), (1353281066,), (1353281071,), (1353281077,), (1353281096,), (1353281099,), (1353281101,), (1353281103,), (1353281105,), (1353281134,), (1353281137,), (1353281139,), (1353281141,), (1353281145,), (1353281148,), (1353281177,), (1353281180,), (1353281182,), (1353281214,), (1353281216,), (1353281222,), (1353281223,), (1353281228,), (1353281231,), (1353281304,), (1353281308,), (1353281314,), (1353281323,), (1353281326,), (1353281331,), (1353281342,), (1353281345,), (1353281349,), (1353281353,), (1353281370,), (1353281373,), (1353281375,), (1353281424,), (1353281427,), (1353281428,), (1353281429,), (1353281432,), (1353281435,), (1353281452,), (1353281455,), (1353281457,), (1353281459,), (1353281486,), (1353281490,), (1353281498,), (1353281503,), (1353281507,), (1353281511,), (1353281546,), (1353281549,), (1353281552,), (1353281554,), (1353281557,), (1353281601,), (1353281605,), (1353281607,), (1353281619,), (1353281622,), (1353281626,), (1353281664,), (1353281655,), (1353281659,), (1353281662,), (1353281698,), (1353281701,), (1353281703,), (1353281709,), (1353281717,), (1353281727,), (1353281755,), (1353281758,), (1353281768,), (1353281774,), (1353281781,), (1353281813,), (1353281819,), (1353281823,), (1353281826,), (1353281854,), (1353281858,), (1353281860,), (1353281862,), (1353281865,), (1353281869,), (1353281895,), (1353281903,), (1353281906,), (1353281909,), (1353281951,), (1353281953,), (1353281955,), (1353281956,), (1353282014,), (1353282017,), (1353282018,), (1353282022,), (1353282029,), (1353282033,), (1353282052,), (1353282054,), (1353282537,), (1353282527,), (1353282531,), (1353282534,), (1353282561,), (1353282563,), (1353282565,), (1353282567,), (1353282571,), (1353282574,), (1353282596,), (1353282599,), (1353282601,), (1353282635,), (1353282639,), (1353282642,), (1353282645,), (1353282648,), (1353282651,), (1353282674,), (1353282677,), (1353282678,), (1353282681,), (1353282857,), (1353282885,), (1353282914,), (1353282942,), (1353282974,), (1353283007,), (1353283575,), (1353283583,), (1353283591,), (1353283596,), (1353283603,), (1353283619,), (1353283621,), (1353283624,), (1353283923,), (1353283712,), (1353283745,), (1353283805,), (1353283852,), (1353283889,), (1353284166,), (1353284197,), (1353284233,), (1353284258,), (1353284311,), (1353284603,), (1353284628,), (1353284658,), (1353284673,), (1353284680,), (1353284724,), (1353284727,), (1353284730,), (1353284733,), (1353284757,), (1353285020,), (1353285022,), (1353285034,), (1353285065,), (1353285089,), (1353285205,), (1353285208,), (1353285212,), (1353285216,), (1353285221,), (1353285256,), (1353285259,), (1353285262,), (1353285266,), (1353285271,), (1353285275,), (1353285317,), (1353285327,), (1353285330,), (1353285334,), (1353285339,), (1353285345,), (1353285385,), (1353285389,), (1353285395,), (1353285403,), (1353285416,), (1353285434,), (1353285509,), (1353285515,), (1353286675,), (1353286698,), (1353286723,), (1353286728,), (1353287030,), (1353286942,), (1353286973,), (1353287000,), (1353287015,), (1353287129,), (1353287162,), (1353287190,), (1353287199,), (1353287201,), (1353287429,), (1353287432,), (1353287435,), (1353287437,), (1353287438,), (1353287441,), (1353287563,), (1353287576,), (1353287595,), (1353287614,), (1353287643,), (1353287812,), (1353287818,), (1353287869,), (1353287872,), (1353287874,), (1353287876,), (1353287953,), (1353287983,), (1353288000,), (1353288002,), (1353288230,), (1353288262,), (1353288274,), (1353288284,), (1353288290,), (1353288296,), (1353288331,), (1353288333,), (1353288337,), (1353288339,), (1353288343,), (1353288389,), (1353288396,), (1353288403,), (1353288407,), (1353288411,), (1353288416,), (1353288447,), (1353288451,), (1353288455,), (1353288473,), (1353288540,), (1353288544,), (1353288548,), (1353288551,), (1353288573,), (1353288576,), (1353288781,), (1353288893,), (1353288927,), (1353288967,), (1353289114,), (1353289124,), (1353289131,), (1353289142,), (1353289149,), (1353289152,), (1353289203,), (1353289211,), (1353289214,), (1353289216,), (1353289282,), (1353289287,), (1353289292,), (1353289293,), (1353289297,), (1353289301,), (1353289504,), (1353289497,), (1353289501,), (1353289503,), (1353289577,), (1353289578,), (1353289580,), (1353289583,), (1353289584,), (1353289715,), (1353289726,), (1353289739,), (1353289742,), (1353290034,), (1353290065,), (1353290100,), (1353290147,), (1353290159,), (1353290170,), (1353290361,), (1353290409,), (1353290415,), (1353290420,), (1353290427,), (1353290431,), (1353290486,), (1353290492,), (1353290496,), (1353290500,), (1353290522,), (1353290627,), (1353290640,), (1353290645,), (1353290649,), (1353290665,), (1353290713,), (1353290715,), (1353290717,), (1353290775,), (1353290801,), (1353290832,), (1353290860,), (1353290888,), (1353290892,), (1353290974,), (1353290976,), (1353290979,), (1353290981,), (1353290983,), (1353291158,), (1353291182,), (1353291232,), (1353291264,), (1353291295,), (1353291390,), (1353291392,), (1353291395,), (1353291418,), (1353291422,), (1353291473,), (1353291480,), (1353291504,), (1353291514,), (1353291896,), (1353291949,), (1353292002,), (1353292054,), (1353292098,), (1353292147,), (1353292447,), (1353292491,), (1353292502,), (1353292521,), (1353292534,), (1353292673,), (1353292604,), (1353292606,), (1353292610,), (1353292614,), (1353292633,), (1353292819,), (1353292829,), (1353292873,), (1353292877,), (1353292924,), (1353292926,), (1353292934,), (1353292960,), (1353292963,), (1353293076,), (1353293080,), (1353293085,), (1353293088,), (1353293160,), (1353293163,), (1353293171,), (1353293176,), (1353293199,), (1353293206,), (1353293263,), (1353293266,), (1353293269,), (1353293295,), (1353293552,), (1353293565,), (1353293569,), (1353293573,), (1353293579,), (1353293606,), (1353293732,), (1353293737,), (1353293797,), (1353293832,), (1353293930,), (1353294203,), (1353294207,), (1353294250,), (1353294309,), (1353294577,), (1353294595,), (1353294599,), (1353294605,), (1353294606,), (1353294609,), (1353294787,), (1353294790,), (1353294793,), (1353294796,), (1353294839,), (1353294850,), (1353294853,), (1353294855,), (1353294862,), (1353295001,), (1353295020,), (1353295036,), (1353295041,), (1353295071,), (1353295084,), (1353296184,), (1353296260,), (1353296338,), (1353296432,), (1353296518,), (1353297110,), (1353296864,), (1353297054,), (1353297485,), (1353297551,), (1353297572,), (1353297596,), (1353297617,), (1353297985,), (1353298012,), (1353298041,), (1353298103,), (1353298117,), (1353298149,), (1353298242,), (1353298248,), (1353298339,), (1353298343,), (1353298557,), (1353298563,), (1353298570,), (1353298579,), (1353298615,), (1353298653,), (1353298656,), (1353298674,), (1353298715,), (1353298750,), (1353298759,), (1353298892,), (1353298898,), (1353298927,), (1353298947,), (1353299103,), (1353299193,), (1353299243,), (1353299262,), (1353299271,), (1353299273,), (1353299415,), (1353299423,), (1353299466,), (1353299709,), (1353299714,), (1353299718,), (1353299721,), (1353299725,), (1353299761,), (1353299987,), (1353300015,), (1353300032,), (1353300035,), (1353300066,), (1353300075,), (1353300086,), (1353300100,), (1353300120,), (1353300132,), (1353300194,), (1353300218,), (1353300234,), (1353300237,), (1353300503,), (1353300506,), (1353300545,), (1353300552,), (1353300557,), (1353300568,), (1353300713,), (1353300721,), (1353300727,), (1353300730,), (1353301055,), (1353300953,), (1353300961,), (1353300966,), (1353300982,), (1353301017,), (1353301174,), (1353301196,), (1353301213,), (1353301249,), (1353301284,), (1353301365,), (1353301530,), (1353301575,), (1353301621,), (1353301642,), (1353301847,), (1353301850,), (1353301854,), (1353301858,), (1353301946,), (1353301958,), (1353301961,), (1353301968,), (1353301977,), (1353302080,), (1353302082,), (1353302085,), (1353302088,), (1353302154,), (1353302158,), (1353302162,), (1353302165,), (1353302170,), (1353302174,), (1353302296,), (1353302301,), (1353302317,), (1353302351,), (1353302388,), (1353302530,), (1353302547,), (1353302555,), (1353302559,), (1353302610,), (1353302615,), (1353302618,), (1353302622,), (1353302626,), (1353302630,), (1353302690,), (1353302731,), (1353302760,), (1353302778,), (1353302961,), (1353302972,), (1353302982,), (1353303001,), (1353303006,), (1353303012,), (1353303060,), (1353303063,), (1353303067,), (1353303272,), (1353303371,), (1353303443,), (1353303510,), (1353303517,), (1353303681,), (1353303685,), (1353303692,), (1353303722,), (1353303732,), (1353303743,), (1353303825,), (1353303810,), (1353303814,), (1353303818,), (1353303928,), (1353303932,), (1353303939,), (1353303943,), (1353303947,), (1353303950,), (1353303997,), (1353304004,), (1353304008,), (1353304035,), (1353304042,), (1353304047,), (1353304198,), (1353304204,), (1353304207,), (1353304275,), (1353304280,), (1353304284,), (1353304288,), (1353304294,), (1353304299,), (1353304336,), (1353304340,), (1353304343,), (1353304379,), (1353304390,), (1353304405,), (1353304411,), (1353304502,), (1353304504,), (1353304508,), (1353304514,), (1353304517,), (1353304523,), (1353304653,), (1353304765,), (1353304833,), (1353305123,), (1353305129,), (1353305154,), (1353305158,), (1353305173,), (1353305180,), (1353305207,), (1353305211,), (1353305215,), (1353305218,), (1353305257,), (1353305268,), (1353305283,), (1353305291,), (1353305295,), (1353305322,), (1353305411,), (1353305443,), (1353305458,), (1353305479,), (1353305488,), (1353305537,), (1353305747,), (1353305753,), (1353305757,), (1353305769,), (1353305795,), (1353306018,), (1353306023,), (1353306025,), (1353306027,), (1353306032,), (1353306036,), (1353306427,), (1353306361,), (1353306411,), (1353306413,), (1353306416,), (1353306794,), (1353306870,), (1353306935,), (1353306938,), (1353306942,), (1353307354,), (1353307368,), (1353307398,), (1353307411,), (1353307437,), (1353307507,), (1353307568,), (1353307573,), (1353307575,), (1353307577,), (1353307649,), (1353307652,), (1353307655,), (1353307658,), (1353307663,), (1353307669,), (1353307766,), (1353307770,), (1353307773,), (1353308269,), (1353308337,), (1353308395,), (1353308442,), (1353308471,), (1353308502,), (1353308703,), (1353308706,), (1353308722,), (1353308730,), (1353308833,), (1353308838,), (1353308841,), (1353308843,), (1353308846,), (1353308847,), (1353309014,), (1353309048,), (1353309050,), (1353309054,), (1353309059,), (1353309085,), (1353309101,), (1353309127,), (1353309178,), (1353309206,), (1353309230,), (1353309272,), (1353309277,), (1353309289,), (1353309293,), (1353309297,), (1353309310,), (1353309323,), (1353309391,), (1353309394,), (1353309401,), (1353309428,), (1353362235,), (1353362230,), (1353362268,), (1353362314,), (1353362318,), (1353362642,), (1353362725,), (1353362953,), (1353363117,), (1353364038,), (1353364071,), (1353364488,), (1353364544,), (1353364593,), (1353365320,), (1353365381,), (1353365959,), (1353365953,), (1353365956,), (1353366415,), (1353366427,), (1353366486,), (1353366822,), (1353366848,), (1353366888,), (1353366925,), (1353366965,), (1353367443,), (1353367474,), (1353367505,), (1353367539,), (1353367571,), (1353367856,), (1353367862,), (1353367894,), (1353368789,), (1353368816,), (1353368845,), (1353368871,), (1353368898,), (1353368975,), (1353369006,), (1353369041,), (1353369079,), (1353369114,), (1353369146,), (1353369558,), (1353369602,), (1353369638,), (1353369842,), (1353369846,), (1353369851,), (1353369855,), (1353369860,), (1353370046,), (1353370066,), (1353370100,), (1353370105,), (1353370122,), (1353370130,), (1353370260,), (1353370262,), (1353370265,), (1353370268,), (1353370963,), (1353371016,), (1353371079,), (1353371106,), (1353371125,), (1353371380,), (1353371317,), (1353371336,), (1353371358,), (1353371734,), (1353371770,), (1353371800,), (1353371841,), (1353371877,), (1353372343,), (1353372412,), (1353372455,), (1353372484,), (1353372599,), (1353372644,), (1353372946,), (1353372982,), (1353373014,), (1353373043,), (1353373497,), (1353373499,), (1353373503,), (1353373507,), (1353373529,), (1353373942,), (1353373997,), (1353374015,), (1353374019,), (1353374023,), (1353374213,), (1353374328,), (1353374418,), (1353374429,), (1353374432,), (1353374487,), (1353374676,), (1353374679,), (1353374683,), (1353374730,), (1353374736,), (1353374740,), (1353374743,), (1353374748,), (1353374751,), (1353374891,), (1353374896,), (1353374911,), (1353375016,), (1353375043,), (1353375072,), (1353375682,), (1353375713,), (1353375746,), (1353375757,), (1353375780,), (1353375897,), (1353375924,), (1353375952,), (1353375981,), (1353376776,), (1353376830,), (1353376884,), (1353376951,), (1353377014,), (1353377070,), (1353377182,), (1353377217,), (1353377249,), (1353377286,), (1353377626,), (1353377305,), (1353377309,), (1353377314,), (1353377365,), (1353378189,), (1353378225,), (1353378255,), (1353378295,), (1353378313,), (1353378459,), (1353378467,), (1353378487,), (1353378514,), (1353378542,), (1353378893,), (1353378921,), (1353378948,), (1353378971,), (1353378975,), (1353378980,), (1353379106,), (1353379122,), (1353379150,), (1353379171,), (1353379457,), (1353379460,), (1353379491,), (1353379505,), (1353379510,), (1353379513,), (1353379659,), (1353379685,), (1353379694,), (1353379697,), (1353379699,), (1353379722,), (1353379726,), (1353379728,), (1353379731,), (1353379910,), (1353379915,), (1353379942,), (1353379949,), (1353380016,), (1353380020,), (1353380025,), (1353380030,), (1353380066,), (1353380070,), (1353380073,), (1353380341,), (1353380378,), (1353380407,), (1353380438,), (1353380442,), (1353380560,), (1353380573,), (1353380602,), (1353380623,), (1353380630,), (1353380633,), (1353380670,), (1353380673,), (1353380676,), (1353380680,), (1353380888,), (1353380905,), (1353380908,), (1353380929,), (1353380951,), (1353380957,), (1353381010,), (1353380993,), (1353380999,), (1353381003,), (1353381007,), (1353381371,), (1353381467,), (1353381473,), (1353381476,), (1353381747,), (1353381753,), (1353381771,), (1353381797,), (1353381802,), (1353381856,), (1353381860,), (1353382235,), (1353382239,), (1353382323,), (1353382327,), (1353382580,), (1353382592,), (1353382603,), (1353382631,), (1353382661,), (1353382822,), (1353382826,), (1353382845,), (1353383000,), (1353383020,), (1353383026,), (1353383062,), (1353383488,), (1353383541,), (1353383600,), (1353383679,), (1353384176,), (1353384214,), (1353384221,), (1353384225,), (1353384255,), (1353384261,), (1353384267,), (1353384334,), (1353390543,), (1353390811,), (1353390814,), (1353390961,), (1353390976,), (1353390979,), (1353390982,), (1353390985,), (1353390992,), (1353391178,), (1353391180,), (1353391192,), (1353391208,), (1353391211,), (1353391244,), (1353391247,), (1353391253,), (1353391317,), (1353391289,), (1353391296,), (1353391302,), (1353391307,), (1353391312,), (1353391347,), (1353391351,), (1353391370,), (1353391414,), (1353391427,), (1353391431,), (1353391441,), (1353391454,), (1353391463,), (1353391805,), (1353391833,), (1353391861,), (1353392014,), (1353392017,), (1353392021,), (1353392052,), (1353392079,), (1353392096,), (1353392132,), (1353392135,), (1353392138,), (1353392141,), (1353392184,), (1353392189,), (1353392202,), (1353392205,), (1353392211,), (1353392213,), (1353392262,), (1353392276,), (1353392280,), (1353392286,), (1353392290,), (1353392294,), (1353392356,), (1353392359,), (1353392363,), (1353392366,), (1353392396,), (1353392401,), (1353392406,), (1353392410,), (1353392415,), (1353392419,), (1353392450,), (1353392454,), (1353392458,), (1353392461,), (1353392466,), (1353392521,), (1353392524,), (1353392529,), (1353392533,), (1353392635,), (1353392637,), (1353392643,), (1353392662,), (1353392683,), (1353392715,), (1353392895,), (1353392898,), (1353392902,), (1353392906,), (1353392910,), (1353392919,), (1353393018,), (1353393022,), (1353393024,), (1353393084,), (1353393078,), (1353393080,), (1353393083,), (1353393131,), (1353393134,), (1353393136,), (1353393140,), (1353393143,), (1353393146,), (1353393186,), (1353393188,), (1353393191,), (1353393246,), (1353393249,), (1353393252,), (1353393254,), (1353393258,), (1353393261,), (1353393292,), (1353393302,), (1353393304,), (1353393307,), (1353393312,), (1353393321,), (1353393350,), (1353393353,), (1353393355,), (1353393358,), (1353393361,), (1353393405,), (1353393406,), (1353393408,), (1353393410,), (1353393411,), (1353393415,), (1353393463,), (1353393470,), (1353393474,), (1353393477,), (1353393482,), (1353393621,), (1353393627,), (1353393633,), (1353393658,), (1353393685,), (1353393806,), (1353393813,), (1353393826,), (1353393838,), (1353393962,), (1353393968,), (1353393971,), (1353393974,), (1353394008,), (1353394009,), (1353394012,), (1353394015,), (1353394018,), (1353394023,), (1353394055,), (1353394063,), (1353394065,), (1353394068,), (1353394180,), (1353394210,), (1353394250,), (1353394286,), (1353394320,), (1353394354,), (1353394436,), (1353394476,), (1353394526,), (1353394589,), (1353394667,), (1353395087,), (1353394895,), (1353395012,), (1353396042,), (1353396132,), (1353396210,), (1353396287,), (1353396364,), (1353396446,), (1353397228,), (1353397281,), (1353397338,), (1353397391,), (1353397446,), (1353397497,), (1353398076,), (1353398217,), (1353398287,), (1353398359,), (1353399061,), (1353399095,), (1353399131,), (1353399169,), (1353399226,), (1353399288,), (1353399640,), (1353399684,), (1353399744,), (1353399804,), (1353399856,), (1353399892,), (1353400027,), (1353400032,), (1353400043,), (1353400113,), (1353400115,), (1353400118,), (1353400120,), (1353400121,), (1353400124,), (1353400294,), (1353400321,), (1353400350,), (1353400440,), (1353400549,), (1353400947,), (1353401111,), (1353401273,), (1353401276,), (1353401329,), (1353401319,), (1353401321,), (1353401325,), (1353401360,), (1353401365,), (1353401369,), (1353401372,), (1353401415,), (1353401419,), (1353401424,), (1353401430,), (1353401476,), (1353401479,), (1353401482,), (1353401485,), (1353401489,), (1353401493,), (1353401601,), (1353401604,), (1353401615,), (1353401648,), (1353401687,), (1353401690,), (1353401692,), (1353401697,), (1353401701,), (1353401712,), (1353401749,), (1353401765,), (1353401768,), (1353401771,), (1353401811,), (1353401816,), (1353401821,), (1353401824,), (1353401871,), (1353401875,), (1353401885,), (1353401895,), (1353401899,), (1353401934,), (1353401939,), (1353401943,), (1353401972,), (1353401975,), (1353401979,), (1353401983,), (1353402006,), (1353402010,), (1353402099,), (1353402126,), (1353402130,), (1353402147,), (1353402154,), (1353402160,), (1353402290,), (1353402294,), (1353402420,), (1353402423,), (1353402425,), (1353402427,), (1353402431,), (1353402469,), (1353402471,), (1353402474,), (1353402477,), (1353402479,), (1353402483,), (1353402541,), (1353402524,), (1353402528,), (1353402532,), (1353402535,), (1353402569,), (1353402573,), (1353402576,), (1353402580,), (1353402821,), (1353402880,), (1353402902,), (1353402917,), (1353403067,), (1353403071,), (1353403075,), (1353403079,), (1353403084,), (1353403087,), (1353403125,), (1353403128,), (1353403131,), (1353403134,), (1353403138,), (1353403170,), (1353403173,), (1353403177,), (1353403181,), (1353403327,), (1353403330,), (1353403333,), (1353403356,), (1353403388,), (1353403607,), (1353403640,), (1353403669,), (1353403697,), (1353404169,), (1353404198,), (1353404216,), (1353404234,), (1353404490,), (1353404509,), (1353404513,), (1353404517,), (1353404523,), (1353404536,), (1353404651,), (1353404683,), (1353404720,), (1353404775,), (1353404814,), (1353405083,), (1353405086,), (1353405089,), (1353405760,), (1353405790,), (1353405815,), (1353405860,), (1353405895,), (1353405933,), (1353406380,), (1353406466,), (1353406493,), (1353406511,), (1353406527,), (1353406567,), (1353406731,), (1353406736,), (1353406740,), (1353406743,), (1353407182,), (1353406962,), (1353406992,), (1353407021,), (1353407073,), (1353407130,), (1353407401,), (1353407404,), (1353407408,), (1353407417,), (1353407710,), (1353407724,), (1353407729,), (1353407739,), (1353407760,), (1353407791,), (1353407854,), (1353407858,), (1353407860,), (1353407864,), (1353407911,), (1353407923,), (1353407933,), (1353407948,), (1353407956,), (1353407958,), (1353408035,), (1353408037,), (1353408043,), (1353408046,), (1353408050,), (1353408056,), (1353408094,), (1353408110,), (1353408117,), (1353408293,), (1353408297,), (1353408312,), (1353408320,), (1353408321,), (1353408324,), (1353408370,), (1353408382,), (1353408384,), (1353408388,), (1353408397,), (1353408499,), (1353408515,), (1353408525,), (1353408712,), (1353408745,), (1353408847,), (1353408850,), (1353408852,), (1353408854,), (1353408855,), (1353408925,), (1353408926,), (1353408928,), (1353408930,), (1353408932,), (1353408984,), (1353408991,), (1353409024,), (1353409051,), (1353409076,), (1353409105,), (1353409587,), (1353409619,), (1353409654,), (1353410244,), (1353410158,), (1353410187,), (1353410218,), (1353410580,), (1353410605,), (1353410632,), (1353410656,), (1353410686,), (1353411318,), (1353411366,), (1353411418,), (1353411453,), (1353411510,), (1353411578,), (1353412024,), (1353412099,), (1353412177,), (1353412253,), (1353412329,), (1353412899,), (1353412965,), (1353412995,), (1353413028,), (1353413478,), (1353413545,), (1353413598,), (1353413641,), (1353413685,), (1353413713,), (1353414057,), (1353414085,), (1353414111,), (1353414126,), (1353414162,), (1353414165,), (1353414168,), (1353414171,), (1353414174,), (1353414176,), (1353414215,), (1353414217,), (1353414218,), (1353414220,), (1353414539,), (1353414567,), (1353414596,), (1353414629,), (1353414664,), (1353414792,), (1353414794,), (1353414817,), (1353414842,), (1353414845,), (1353414916,), (1353414919,), (1353414921,), (1353414923,), (1353414926,), (1353414966,), (1353414968,), (1353414971,), (1353414974,), (1353414978,), (1353415017,), (1353415021,), (1353415025,), (1353415027,), (1353415208,), (1353415213,), (1353415218,), (1353415222,), (1353415314,), (1353415274,), (1353415291,), (1353415295,), (1353415305,), (1353415309,), (1353415351,), (1353415354,), (1353415358,), (1353415362,), (1353415397,), (1353415403,), (1353415405,), (1353415408,), (1353415413,), (1353415419,), (1353415444,), (1353415447,), (1353415450,), (1353415454,), (1353415491,), (1353415495,), (1353415500,), (1353415507,), (1353415520,), (1353415533,), (1353415566,), (1353415569,), (1353415574,), (1353415577,), (1353415581,), (1353415617,), (1353415621,), (1353415623,), (1353415687,), (1353415690,), (1353415694,), (1353415698,), (1353415701,), (1353415706,), (1353415736,), (1353415745,), (1353415748,), (1353415751,), (1353415782,), (1353415787,), (1353415790,), (1353415793,), (1353415843,), (1353415846,), (1353415850,), (1353415853,), (1353415856,), (1353415861,), (1353415901,), (1353415913,), (1353415917,), (1353415921,), (1353415924,), (1353415969,), (1353415973,), (1353415977,), (1353415980,), (1353415985,), (1353415988,), (1353416017,), (1353416020,), (1353416024,), (1353416028,), (1353416031,), (1353416035,), (1353416060,), (1353416063,), (1353416176,), (1353420383,), (1353421581,), (1353421665,), (1353421767,), (1353421879,), (1353421979,), (1353422914,), (1353422973,), (1353423025,), (1353423067,), (1353423137,), (1353423178,), (1353423708,), (1353423763,), (1353424677,), (1353424731,), (1353424742,), (1353424745,), (1353424751,), (1353424783,), (1353424885,), (1353424894,), (1353424921,), (1353424948,), (1353424976,), (1353425206,), (1353425210,), (1353425281,), (1353425427,), (1353425430,), (1353425433,), (1353425436,), (1353425440,), (1353425445,), (1353425472,), (1353425475,), (1353425479,), (1353425482,), (1353425486,), (1353425568,), (1353425571,), (1353425579,), (1353425658,), (1353425660,), (1353425663,), (1353425666,), (1353425764,), (1353425768,), (1353425772,), (1353425776,), (1353425785,), (1353425978,), (1353426012,), (1353426041,), (1353426068,), (1353426197,), (1353426200,), (1353426204,), (1353426208,), (1353426213,), (1353426217,), (1353426282,), (1353426311,), (1353426340,), (1353426409,), (1353426758,), (1353426710,), (1353426714,), (1353426748,), (1353426751,), (1353426753,), (1353426799,), (1353426804,), (1353426809,), (1353426814,), (1353426817,), (1353426871,), (1353426878,), (1353426886,), (1353426890,), (1353426994,), (1353426997,), (1353427001,), (1353427005,), (1353427010,), (1353427014,), (1353427052,), (1353427057,), (1353427060,), (1353427062,), (1353427065,), (1353427069,), (1353427095,), (1353427098,), (1353427102,), (1353427106,), (1353427143,), (1353427147,), (1353427149,), (1353427153,), (1353427157,), (1353427162,), (1353427202,), (1353427204,), (1353427207,), (1353427210,), (1353427244,), (1353427247,), (1353427251,), (1353427257,), (1353427267,), (1353427277,), (1353427306,), (1353427326,), (1353427329,), (1353427332,), (1353427381,), (1353427411,), (1353427413,), (1353427416,), (1353427420,), (1353427450,), (1353427454,), (1353427458,), (1353427462,), (1353427467,), (1353427472,), (1353427494,), (1353427498,), (1353427502,), (1353427505,), (1353427508,), (1353427545,), (1353427549,), (1353427552,), (1353427592,), (1353427596,), (1353427601,), (1353427610,), (1353427613,), (1353427664,), (1353427654,), (1353427658,), (1353427661,), (1353427710,), (1353427712,), (1353427715,), (1353427719,), (1353427763,), (1353427767,), (1353427770,), (1353427774,), (1353427824,), (1353427834,), (1353427842,), (1353427849,), (1353427853,), (1353427856,), (1353428015,), (1353428017,), (1353428022,), (1353428027,), (1353428059,), (1353428062,), (1353428066,), (1353428070,), (1353428100,), (1353428103,), (1353428106,), (1353428108,), (1353428111,), (1353428114,), (1353428157,), (1353428159,), (1353428162,), (1353428167,), (1353428178,), (1353428220,), (1353428223,), (1353428267,), (1353428367,), (1353428371,), (1353428419,), (1353428465,), (1353428612,), (1353428609,), (1353428659,), (1353428661,), (1353428663,), (1353428709,), (1353428713,), (1353428718,), (1353428722,), (1353428726,), (1353428761,), (1353428764,), (1353428805,), (1353428808,), (1353428811,), (1353428814,), (1353428816,), (1353428846,), (1353428847,), (1353428849,), (1353428851,), (1353428895,), (1353428902,), (1353428907,), (1353429023,), (1353429068,), (1353429072,), (1353429102,), (1353429104,), (1353429108,), (1353429111,), (1353429150,), (1353429152,), (1353429155,), (1353429158,), (1353429209,), (1353429214,), (1353429217,), (1353429221,), (1353429224,), (1353429228,), (1353429271,), (1353429277,), (1353429288,), (1353429301,), (1353429833,), (1353429839,), (1353429847,), (1353429855,), (1353429865,), (1353429872,), (1353429937,), (1353429962,), (1353429990,), (1353430153,), (1353430057,), (1353430073,), (1353430098,), (1353430126,), (1353430148,), (1353430228,), (1353430263,), (1353430294,), (1353430321,), (1353430346,), (1353430348,), (1353430497,), (1353430530,), (1353430557,), (1353430586,), (1353430915,), (1353430946,), (1353430974,), (1353431007,), (1353431036,), (1353431371,), (1353431397,), (1353431426,), (1353431455,), (1353431794,), (1353431825,), (1353431851,), (1353431886,), (1353431894,), (1353432392,), (1353432476,), (1353432555,), (1353432630,), (1353432712,), (1353432788,), (1353433683,), (1353433734,), (1353433775,), (1353433810,), (1353433838,), (1353434706,), (1353434746,), (1353434803,), (1353434821,), (1353434830,), (1353434846,), (1353435429,), (1353435445,), (1353435448,), (1353435493,), (1353435532,), (1353435817,), (1353435845,), (1353435878,), (1353435910,), (1353435966,), (1353436048,), (1353436190,), (1353436244,), (1353436297,), (1353436351,), (1353436407,), (1353436464,), (1353436680,), (1353436685,), (1353436688,), (1353436696,), (1353436814,), (1353436819,), (1353436824,), (1353436965,), (1353436968,), (1353436973,), (1353437007,), (1353437012,), (1353437017,), (1353437025,), (1353437031,), (1353437039,), (1353437080,), (1353437064,), (1353437068,), (1353437073,), (1353437155,), (1353437163,), (1353437192,), (1353437222,), (1353437250,), (1353437371,), (1353437373,), (1353437376,), (1353437379,), (1353437383,), (1353437509,), (1353437526,), (1353437530,), (1353437534,), (1353437538,), (1353437542,), (1353437677,), (1353437681,), (1353437684,), (1353437687,), (1353437720,), (1353437722,), (1353437725,), (1353437728,), (1353437731,), (1353437770,), (1353437776,), (1353437779,), (1353437782,), (1353437788,), (1353437793,), (1353437830,), (1353437835,), (1353437843,), (1353437848,), (1353437890,), (1353437905,), (1353437908,), (1353437912,), (1353437916,), (1353437920,), (1353437948,), (1353437953,), (1353437956,), (1353437959,), (1353437963,), (1353437998,), (1353438002,), (1353438003,), (1353438006,), (1353438011,), (1353438036,), (1353438038,), (1353438042,), (1353438045,), (1353438051,), (1353438055,), (1353438081,), (1353438083,), (1353438087,), (1353438091,), (1353438099,), (1353438136,), (1353438152,), (1353438181,), (1353438191,), (1353438196,), (1353438213,), (1353438301,), (1353438306,), (1353438338,), (1353438459,), (1353438447,), (1353438450,), (1353438453,), (1353438456,), (1353438584,), (1353438588,), (1353438591,), (1353438595,), (1353438598,), (1353438642,), (1353438648,), (1353438651,), (1353439053,), (1353439056,), (1353439060,), (1353439097,), (1353439129,), (1353439156,), (1353439284,), (1353439311,), (1353439327,), (1353439331,), (1353439333,), (1353439336,), (1353439361,), (1353439363,), (1353439370,), (1353439373,), (1353439533,), (1353439565,), (1353439595,), (1353439623,), (1353439665,), (1353439692,), (1353439814,), (1353439817,), (1353439821,), (1353439824,), (1353440019,), (1353440038,), (1353440040,), (1353440044,), (1353440075,), (1353440107,), (1353440245,), (1353440248,), (1353440251,), (1353440254,), (1353440257,), (1353440356,), (1353440366,), (1353440381,), (1353440385,), (1353440389,), (1353440458,), (1353440461,), (1353440478,), (1353440489,), (1353440543,), (1353440590,), (1353440616,), (1353440642,), (1353441723,), (1353441750,), (1353441782,), (1353441836,), (1353441885,), (1353442465,), (1353442347,), (1353442374,), (1353442422,), (1353442920,), (1353442949,), (1353442977,), (1353443006,), (1353443018,), (1353443131,), (1353443138,), (1353443142,), (1353443146,), (1353443150,), (1353443173,), (1353443253,), (1353443256,), (1353443261,), (1353443288,), (1353443901,), (1353443954,), (1353444005,), (1353444066,), (1353444129,), (1353444192,), (1353444499,), (1353444528,), (1353444558,), (1353444594,), (1353445104,), (1353445132,), (1353445159,), (1353445194,), (1353445205,), (1353445211,), (1353445420,), (1353445424,), (1353445431,), (1353445442,), (1353445447,), (1353445510,), (1353445514,), (1353445516,), (1353445565,), (1353445618,), (1353445675,), (1353446189,), (1353446218,), (1353446269,), (1353446357,), (1353446586,), (1353446599,), (1353446604,), (1353446608,), (1353446657,), (1353446881,), (1353446912,), (1353446939,), (1353447187,), (1353448347,), (1353448172,), (1353448224,), (1353448277,), (1353449468,), (1353449517,), (1353449571,), (1353449608,), (1353449671,), (1353449772,), (1353450120,), (1353450197,), (1353450266,), (1353450340,), (1353450407,), (1353450446,), (1353450599,), (1353450648,), (1353450699,), (1353450777,), (1353450976,), (1353451034,), (1353451040,), (1353451046,), (1353451050,), (1353451081,), (1353451092,), (1353451095,), (1353451103,), (1353451224,), (1353451226,), (1353451229,), (1353451233,), (1353451237,), (1353451241,), (1353451267,), (1353451271,), (1353451274,), (1353451277,), (1353451280,), (1353451284,), (1353451304,), (1353451308,), (1353451311,), (1353451314,), (1353451349,), (1353451352,), (1353451354,), (1353451369,), (1353451372,), (1353451392,), (1353451396,), (1353451400,), (1353451403,), (1353451407,), (1353451440,), (1353451447,), (1353451450,), (1353451454,), (1353451491,), (1353451497,), (1353451502,), (1353451504,), (1353451508,), (1353451546,), (1353451549,), (1353451554,), (1353451559,), (1353451564,), (1353451749,), (1353451738,), (1353451740,), (1353451741,), (1353451777,), (1353451779,), (1353451782,), (1353451785,), (1353451787,), (1353451799,), (1353451817,), (1353451823,), (1353451826,), (1353451830,), (1353451860,), (1353451866,), (1353451870,), (1353451875,), (1353451877,), (1353451883,), (1353451924,), (1353451927,), (1353451930,), (1353451938,), (1353451953,), (1353451958,), (1353451991,), (1353451994,), (1353451996,), (1353451999,), (1353452148,), (1353452177,), (1353452206,), (1353452236,), (1353452263,), (1353452301,), (1353452531,), (1353452534,), (1353452556,), (1353452618,), (1353452811,), (1353452820,), (1353452824,), (1353452834,), (1353452836,), (1353453038,), (1353453045,), (1353453049,), (1353453054,), (1353453059,), (1353453065,), (1353453098,), (1353453104,), (1353453109,), (1353453111,), (1353453149,), (1353453152,), (1353453159,), (1353453359,), (1353453361,), (1353453364,), (1353453414,), (1353453416,), (1353453421,), (1353453535,), (1353453612,), (1353453578,), (1353453582,), (1353453606,), (1353453610,), (1353454416,), (1353454483,), (1353454489,), (1353454493,), (1353454498,), (1353454519,), (1353454797,), (1353454802,), (1353454806,), (1353454809,), (1353454836,), (1353454839,), (1353454842,), (1353454847,), (1353454883,), (1353454891,), (1353454902,), (1353454917,), (1353454973,), (1353454979,), (1353454982,), (1353454985,), (1353454989,), (1353454992,), (1353455038,), (1353455041,), (1353455044,), (1353459179,), (1353459174,), (1353459211,), (1353459307,), (1353459419,), (1353459469,), (1353459472,), (1353459476,), (1353459480,), (1353459482,), (1353459516,), (1353459520,), (1353459523,), (1353459526,), (1353459556,), (1353459559,), (1353459596,), (1353459600,), (1353459611,), (1353459618,), (1353459625,), (1353459639,), (1353459676,), (1353459680,), (1353459683,), (1353459685,), (1353459689,), (1353459734,), (1353459720,), (1353459723,), (1353459728,), (1353459731,), (1353459776,), (1353459779,), (1353459782,), (1353459786,), (1353459820,), (1353459831,), (1353459834,), (1353459857,), (1353459862,), (1353459866,), (1353459871,), (1353459875,), (1353459879,), (1353459921,), (1353459924,), (1353459928,), (1353459932,), (1353459936,), (1353459940,), (1353459977,), (1353459981,), (1353459986,), (1353459990,), (1353460025,), (1353460028,), (1353460032,), (1353460038,), (1353460040,), (1353460089,), (1353460101,), (1353460213,), (1353460216,), (1353460220,), (1353460227,), (1353460237,), (1353460285,), (1353460290,), (1353460344,), (1353460346,), (1353460349,), (1353460352,), (1353460357,), (1353460360,), (1353460396,), (1353460399,), (1353460403,), (1353460408,), (1353460412,), (1353460418,), (1353460439,), (1353460444,), (1353460446,), (1353460496,), (1353460499,), (1353460507,), (1353460511,), (1353460547,), (1353460552,), (1353460556,), (1353460559,), (1353460618,), (1353460604,), (1353460607,), (1353460610,), (1353460648,), (1353460655,), (1353460689,), (1353460693,), (1353460814,), (1353460855,), (1353460867,), (1353460896,), (1353461062,), (1353461066,), (1353461277,), (1353461282,), (1353461289,), (1353461294,), (1353461386,), (1353461390,), (1353461396,), (1353461399,), (1353461402,), (1353461440,), (1353461445,), (1353461463,), (1353461502,), (1353461504,), (1353461506,), (1353461509,), (1353461512,), (1353461516,), (1353461743,), (1353461769,), (1353461794,), (1353461818,), (1353462030,), (1353462033,), (1353462037,), (1353462039,), (1353462042,), (1353462046,), (1353462109,), (1353462136,), (1353462163,), (1353462189,), (1353462226,), (1353462429,), (1353462432,), (1353462537,), (1353462542,), (1353462547,), (1353462552,), (1353462759,), (1353462787,), (1353462825,), (1353462876,), (1353463809,), (1353463633,), (1353463661,), (1353463688,), (1353463717,), (1353463754,), (1353464198,), (1353464430,), (1353464518,), (1353464832,), (1353464875,), (1353464917,), (1353464949,), (1353465927,), (1353466004,), (1353466080,), (1353466887,), (1353467090,), (1353467193,), (1353467241,), (1353467293,), (1353467998,), (1353468101,), (1353468225,), (1353469752,), (1353469831,), (1353469910,), (1353469992,), (1353470062,), (1353470781,), (1353470831,), (1353470881,), (1353470943,), (1353470997,), (1353471796,), (1353471871,), (1353471931,), (1353471984,), (1353473359,), (1353473416,), (1353473465,), (1353473519,), (1353474124,), (1353474293,), (1353474365,), (1353475009,), (1353475056,), (1353475105,), (1353475191,), (1353475244,), (1353475559,), (1353475590,), (1353475621,), (1353475647,), (1353475688,), (1353475714,), (1353476597,), (1353476630,), (1353477318,), (1353477160,), (1353477214,), (1353477263,), (1353477291,), (1353477620,), (1353477673,), (1353477689,), (1353477736,), (1353477739,), (1353477741,), (1353477744,), (1353477747,), (1353477751,), (1353477775,), (1353477790,), (1353477800,), (1353477802,), (1353477805,), (1353478067,), (1353478095,), (1353478491,), (1353478519,), (1353478548,), (1353478616,), (1353478655,), (1353478683,), (1353478797,), (1353478802,), (1353478807,), (1353478811,), (1353478817,), (1353478820,), (1353478897,), (1353478921,), (1353478948,), (1353478984,), (1353479015,), (1353480518,), (1353480754,), (1353480985,), (1353481942,), (1353482100,), (1353482216,), (1353482296,), (1353482431,), (1353483124,), (1353483267,), (1353483372,), (1353483439,), (1353483494,), (1353484544,), (1353484596,), (1353484646,), (1353484724,), (1353484876,), (1353485664,), (1353485742,), (1353485822,), (1353486905,), (1353488195,), (1353488249,), (1353488345,), (1353488521,), (1353488592,), (1353488696,), (1353490050,), (1353489620,), (1353489732,), (1353489846,), (1353489954,), (1353490787,), (1353490876,), (1353490958,), (1353491233,), (1353491250,), (1353491257,), (1353491290,), (1353491295,), (1353491299,), (1353491305,), (1353491340,), (1353492171,), (1353492201,), (1353492293,), (1353492365,), (1353492423,), (1353492652,), (1353492655,), (1353492682,), (1353492713,), (1353493101,), (1353493130,), (1353493159,), (1353493200,), (1353493231,), (1353493258,), (1353493530,), (1353493562,), (1353493569,), (1353493572,), (1353493575,), (1353493733,), (1353493739,), (1353493744,), (1353493777,), (1353493789,), (1353493795,), (1353493867,), (1353493872,), (1353493875,), (1353494217,), (1353494247,), (1353494277,), (1353494304,), (1353494336,), (1353494364,), (1353494435,), (1353494437,), (1353494440,), (1353494449,), (1353494478,), (1353494507,), (1353494803,), (1353494830,), (1353494853,), (1353494968,), (1353494972,), (1353494977,), (1353494980,), (1353494985,), (1353495012,), (1353495016,), (1353495024,), (1353495032,), (1353495039,), (1353495314,), (1353495229,), (1353495262,), (1353495285,), (1353495640,), (1353495669,), (1353495694,), (1353495719,), (1353496243,), (1353496324,), (1353496402,), (1353496500,), (1353496589,), (1353497415,), (1353497443,), (1353497474,), (1353498161,), (1353498226,), (1353498292,), (1353498362,), (1353498393,), (1353498663,), (1353498688,), (1353498703,), (1353498736,), (1353499181,), (1353499237,), (1353499330,), (1353499417,), (1353499447,), (1353499794,), (1353499832,), (1353499881,), (1353499934,), (1353499991,), (1353500011,), (1353500163,), (1353500174,), (1353500177,), (1353500181,), (1353500283,), (1353500288,), (1353500290,), (1353500293,), (1353500319,), (1353500636,), (1353500663,), (1353500701,), (1353500714,), (1353500737,), (1353500770,), (1353501012,), (1353501047,), (1353501054,), (1353501489,), (1353501528,), (1353501529,), (1353501531,), (1353501534,), (1353501674,), (1353501703,), (1353501741,), (1353501769,), (1353501798,), (1353502115,), (1353502147,), (1353502176,), (1353502206,), (1353502376,), (1353502373,), (1353502416,), (1353502420,), (1353502425,), (1353502429,), (1353502434,), (1353502475,), (1353502478,), (1353502481,), (1353502488,), (1353502497,), (1353502599,), (1353502637,), (1353502792,), (1353503043,), (1353503454,), (1353503479,), (1353503520,), (1353503827,), (1353503941,), (1353504127,), (1353504307,), (1353504495,), (1353504745,), (1353504960,), (1353504972,), (1353504978,), (1353504983,), (1353505220,), (1353506394,), (1353506443,), (1353506494,), (1353507244,), (1353507287,), (1353507314,), (1353507379,), (1353507985,), (1353508039,), (1353508224,), (1353508256,), (1353508284,), (1353508458,), (1353508405,), (1353508427,), (1353508705,), (1353508732,), (1353508782,), (1353508832,), (1353509738,), (1353509834,), (1353509931,), (1353510030,), (1353510268,), (1353510280,), (1353510310,), (1353510332,), (1353510352,), (1353510388,), (1353510440,), (1353510470,), (1353510519,), (1353510571,), (1353510622,), (1353512211,), (1353512494,), (1353512568,), (1353512668,), (1353513357,), (1353513432,), (1353513483,), (1353513537,), (1353514234,), (1353514286,), (1353514384,), (1353514489,), (1353514566,), (1353516704,), (1353516759,), (1353516798,), (1353517208,), (1353517237,), (1353517264,), (1353517319,), (1353517325,), (1353517342,), (1353517371,), (1353517397,), (1353517477,), (1353517612,), (1353517615,), (1353517634,), (1353517661,), (1353517778,), (1353517783,), (1353517786,), (1353517792,), (1353518630,), (1353518084,), (1353518170,), (1353518290,), (1353518517,), (1353519657,), (1353519706,), (1353519757,), (1353519810,), (1353519861,), (1353519960,), (1353520831,), (1353520929,), (1353521055,), (1353521189,), (1353521831,), (1353521882,), (1353521985,), (1353522096,), (1353522836,), (1353523081,), (1353523102,), (1353523107,), (1353523124,), (1353523632,), (1353523664,), (1353523700,), (1353523729,), (1353523743,), (1353524100,), (1353524105,), (1353524109,), (1353524259,), (1353524261,), (1353524293,), (1353524318,), (1353524344,), (1353524371,), (1353524844,), (1353524946,), (1353524997,), (1353525064,), (1353525120,), (1353525608,), (1353525659,), (1353525717,), (1353526437,), (1353526464,), (1353526490,), (1353526516,), (1353526541,), (1353526781,), (1353526785,), (1353526788,), (1353526790,), (1353526812,), (1353526817,), (1353526833,), (1353526859,), (1353526892,), (1353527244,), (1353527306,), (1353527370,), (1353527428,), (1353527822,), (1353527831,), (1353527842,), (1353527852,), (1353527864,), (1353527889,), (1353528165,), (1353528138,), (1353528163,), (1353528344,), (1353528346,), (1353528348,), (1353528349,), (1353528363,), (1353528364,), (1353528604,), (1353528658,), (1353528719,), (1353528782,), (1353528845,), (1353528895,), (1353529304,), (1353529332,), (1353529375,), (1353529410,), (1353529412,), (1353529414,), (1353529415,), (1353529417,), (1353529419,), (1353529443,), (1353529445,), (1353529447,), (1353529449,), (1353529476,), (1353529477,), (1353529478,), (1353529481,), (1353529483,), (1353529489,), (1353529521,), (1353529522,), (1353529524,), (1353529527,), (1353529528,), (1353529549,), (1353529550,), (1353529553,), (1353529555,), (1353529572,), (1353529578,), (1353529584,), (1353529585,), (1353529587,), (1353529605,), (1353529608,), (1353529610,), (1353529617,), (1353529621,), (1353529653,), (1353529658,), (1353529664,), (1353529669,), (1353529720,), (1353529761,), (1353529873,), (1353529781,), (1353529890,), (1353529892,), (1353529895,), (1353529918,), (1353529919,), (1353529921,), (1353529923,), (1353529924,), (1353529925,), (1353529939,), (1353529940,), (1353530087,), (1353530151,), (1353530153,), (1353530155,), (1353530157,), (1353530158,), (1353530159,), (1353530536,), (1353530825,), (1353530853,), (1353530904,), (1353530935,), (1353531191,), (1353531219,), (1353531240,), (1353531242,), (1353531244,), (1353531245,), (1353531383,), (1353531409,), (1353531435,), (1353531465,), (1353531676,), (1353531696,), (1353531700,), (1353531702,), (1353531705,), (1353531706,), (1353532319,), (1353532377,), (1353532430,), (1353533103,), (1353533123,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'24042025': {'nb_upload': 37, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22370495]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1353283923, 1353283624, 1353283621, 1353283619, 1353283603, 1353283596, 1353283591, 1353283583, 1353283575, 1353283007, 1353282974, 1353282942, 1353282914, 1353282885, 1353282857, 1353282681, 1353282678, 1353282677, 1353282674, 1353282651, 1353282648, 1353282645, 1353282642, 1353282639, 1353282635, 1353282601, 1353282599, 1353282596, 1353282574, 1353282571, 1353282567, 1353282565, 1353282563, 1353282561, 1353282534, 1353282531, 1353282527] map_info['map_portfolio_photo'] : {22370495: [1353283923, 1353283624, 1353283621, 1353283619, 1353283603, 1353283596, 1353283591, 1353283583, 1353283575, 1353283007, 1353282974, 1353282942, 1353282914, 1353282885, 1353282857, 1353282681, 1353282678, 1353282677, 1353282674, 1353282651, 1353282648, 1353282645, 1353282642, 1353282639, 1353282635, 1353282601, 1353282599, 1353282596, 1353282574, 1353282571, 1353282567, 1353282565, 1353282563, 1353282561, 1353282534, 1353282531, 1353282527]} final : True mtd_id 4302 list_pids : [1353283923, 1353283624, 1353283621, 1353283619, 1353283603, 1353283596, 1353283591, 1353283583, 1353283575, 1353283007, 1353282974, 1353282942, 1353282914, 1353282885, 1353282857, 1353282681, 1353282678, 1353282677, 1353282674, 1353282651, 1353282648, 1353282645, 1353282642, 1353282639, 1353282635, 1353282601, 1353282599, 1353282596, 1353282574, 1353282571, 1353282567, 1353282565, 1353282563, 1353282561, 1353282534, 1353282531, 1353282527] Looping around the photos to save general results len do output : 1 /22370495Didn'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, '2760775') ('4302', '22370495', '1353283923', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283624', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283621', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283619', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283603', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283596', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283591', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283583', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283575', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353283007', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282974', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282942', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282914', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282885', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282857', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282681', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282678', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282677', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282674', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282651', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282648', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282645', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282642', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282639', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282635', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282601', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282599', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282596', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282574', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282571', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282567', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282565', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282563', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282561', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282534', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282531', None, None, None, None, None, '2760775') ('4302', None, None, None, None, None, None, None, '2760775') ('4302', '22370495', '1353282527', None, None, None, None, None, '2760775') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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, '22370495', 'None', None, None, None, None, '2760775'), ('4302', '22370495', '1353283923', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283624', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283621', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283619', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283603', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283596', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283591', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283583', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283575', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353283007', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282974', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282942', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282914', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282885', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282857', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282681', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282678', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282677', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282674', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282651', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282648', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282645', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282642', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282639', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282635', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282601', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282599', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282596', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282574', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282571', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282567', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282565', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282563', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282561', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282534', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282531', None, None, None, None, None, '2760775'), ('4302', '22370495', '1353282527', None, None, None, None, None, '2760775')] time used for this insertion : 0.016562223434448242 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.3993234634399414 time spend to save output : 0.016950368881225586 total time spend for step 5 : 3.416273832321167 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 (2760775) 3.19user 2.41system 0:19.32elapsed 29%CPU (0avgtext+0avgdata 163840maxresident)k 416inputs+29456outputs (2major+77587minor)pagefaults 0swaps