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 : 289869 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 (3682602) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3682602) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26631533 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3682602'] with mtr_portfolio_ids : ['26631533'] and first list_photo_ids : [] new path : /proc/289869/ Name: python3 Umask: 0002 State: R (running) Tgid: 289869 Ngid: 0 Pid: 289869 PPid: 289867 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 289869 NSpid: 289869 NSpgid: 289445 NSsid: 289445 VmPeak: 812336 kB VmSize: 812336 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99304 kB VmRSS: 99304 kB RssAnon: 60168 kB RssFile: 39136 kB RssShmem: 0 kB VmData: 571088 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 576 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 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: 72 nonvoluntary_ctxt_switches: 212 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '289869', 'Ngid': '0', 'Pid': '289869', 'PPid': '289867', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '289869', 'NSpid': '289869', 'NSpgid': '289445', 'NSsid': '289445', 'VmPeak': '812336 kB', 'VmSize': '812336 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99304 kB', 'VmRSS': '99304 kB', 'RssAnon': '60168 kB', 'RssFile': '39136 kB', 'RssShmem': '0 kB', 'VmData': '571088 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '576 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', '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': '72', 'nonvoluntary_ctxt_switches': '212'} ('datou_batch_current', '289869', '812336', '0', '812336', '571088', '99304', b'', 'marlene', '3682602') 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 (26631533) 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 (3682602 ) ) 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 (26631533) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1382493205, 'portfolio_id': 26631533}, {'photo_id': 1382492761, 'portfolio_id': 26631533}, {'photo_id': 1382492758, 'portfolio_id': 26631533}, {'photo_id': 1382492755, 'portfolio_id': 26631533}, {'photo_id': 1382492751, 'portfolio_id': 26631533}, {'photo_id': 1382492622, 'portfolio_id': 26631533}, {'photo_id': 1382492616, 'portfolio_id': 26631533}, {'photo_id': 1382492611, 'portfolio_id': 26631533}, {'photo_id': 1382492607, 'portfolio_id': 26631533}, {'photo_id': 1382492603, 'portfolio_id': 26631533}, {'photo_id': 1382491477, 'portfolio_id': 26631533}, {'photo_id': 1382491476, 'portfolio_id': 26631533}, {'photo_id': 1382491475, 'portfolio_id': 26631533}, {'photo_id': 1382491474, 'portfolio_id': 26631533}, {'photo_id': 1382491473, 'portfolio_id': 26631533}, {'photo_id': 1382491396, 'portfolio_id': 26631533}, {'photo_id': 1382491395, 'portfolio_id': 26631533}, {'photo_id': 1382491394, 'portfolio_id': 26631533}, {'photo_id': 1382491393, 'portfolio_id': 26631533}, {'photo_id': 1382491392, 'portfolio_id': 26631533}, {'photo_id': 1382491391, 'portfolio_id': 26631533}, {'photo_id': 1382491309, 'portfolio_id': 26631533}, {'photo_id': 1382491308, 'portfolio_id': 26631533}, {'photo_id': 1382491307, 'portfolio_id': 26631533}, {'photo_id': 1382491306, 'portfolio_id': 26631533}, {'photo_id': 1382491265, 'portfolio_id': 26631533}, {'photo_id': 1382491264, 'portfolio_id': 26631533}, {'photo_id': 1382491263, 'portfolio_id': 26631533}, {'photo_id': 1382491262, 'portfolio_id': 26631533}, {'photo_id': 1382491230, 'portfolio_id': 26631533}, {'photo_id': 1382491229, 'portfolio_id': 26631533}, {'photo_id': 1382491183, 'portfolio_id': 26631533}, {'photo_id': 1382491182, 'portfolio_id': 26631533}, {'photo_id': 1382491181, 'portfolio_id': 26631533}, {'photo_id': 1382491179, 'portfolio_id': 26631533}, {'photo_id': 1382490839, 'portfolio_id': 26631533}, {'photo_id': 1382490837, 'portfolio_id': 26631533}, {'photo_id': 1382490784, 'portfolio_id': 26631533}, {'photo_id': 1382490163, 'portfolio_id': 26631533}, {'photo_id': 1382490162, 'portfolio_id': 26631533}, {'photo_id': 1382490128, 'portfolio_id': 26631533}] map_portfolio_id_photo_id: {26631533: [1382493205, 1382492761, 1382492758, 1382492755, 1382492751, 1382492622, 1382492616, 1382492611, 1382492607, 1382492603, 1382491477, 1382491476, 1382491475, 1382491474, 1382491473, 1382491396, 1382491395, 1382491394, 1382491393, 1382491392, 1382491391, 1382491309, 1382491308, 1382491307, 1382491306, 1382491265, 1382491264, 1382491263, 1382491262, 1382491230, 1382491229, 1382491183, 1382491182, 1382491181, 1382491179, 1382490839, 1382490837, 1382490784, 1382490163, 1382490162, 1382490128]} ##### 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.02079916000366211 #### 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 Tue Sep 9 05:40:27 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 (26631533) 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 : 26631533 get user id for portfolio 26631533 get sub ptf for main ptf 26631533, type 3726 and hashtags ['autre_refus', 'Carton_gris', 'metal', 'plastique', 'environnement', 'papier', 'mal_croppe', 'cartonnette', 'Carton_brun', 'kraft', 'flou', '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`=26631533 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_gris','metal','plastique','environnement','papier','mal_croppe','cartonnette','Carton_brun','kraft','flou','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`=26631533 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_gris','metal','plastique','environnement','papier','mal_croppe','cartonnette','Carton_brun','kraft','flou','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 26631533, 'sub_port_id': 26631538, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944552, 'last_updated_at': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 57)}, 'environnement': {'main_port_id': 26631533, 'sub_port_id': 26631539, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944553, 'last_updated_at': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 57)}, 'plastique': {'main_port_id': 26631533, 'sub_port_id': 26631540, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944554, 'last_updated_at': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 57)}, 'autre_refus': {'main_port_id': 26631533, 'sub_port_id': 26631541, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944555, 'last_updated_at': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 57)}, 'papier': {'main_port_id': 26631533, 'sub_port_id': 26631542, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944556, 'last_updated_at': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 57)}, 'flou': {'main_port_id': 26631533, 'sub_port_id': 26631543, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944557, 'last_updated_at': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 57)}, 'cartonnette': {'main_port_id': 26631533, 'sub_port_id': 26631544, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944558, 'last_updated_at': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 57)}, 'mal_croppe': {'main_port_id': 26631533, 'sub_port_id': 26631545, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944559, 'last_updated_at': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 57)}, 'kraft': {'main_port_id': 26631533, 'sub_port_id': 26631546, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944560, 'last_updated_at': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 57)}, 'Carton_gris': {'main_port_id': 26631533, 'sub_port_id': 26631547, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944561, 'last_updated_at': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 26631533, 'sub_port_id': 26631548, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944562, 'last_updated_at': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 57)}, 'metal': {'main_port_id': 26631533, 'sub_port_id': 26631549, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944563, 'last_updated_at': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26631538 , 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=26631533 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 (26631538) result : ((1382491298,), (1382491464,), (1382491465,), (1382495691,), (1382495692,), (1382497121,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26631533) result : ((1382490128,), (1382490162,), (1382490163,), (1382490784,), (1382490837,), (1382490839,), (1382491179,), (1382491181,), (1382491182,), (1382491183,), (1382491229,), (1382491230,), (1382491262,), (1382491263,), (1382491264,), (1382491265,), (1382491306,), (1382491307,), (1382491308,), (1382491309,), (1382491391,), (1382491392,), (1382491393,), (1382491394,), (1382491395,), (1382491396,), (1382491473,), (1382491474,), (1382491475,), (1382491476,), (1382491477,), (1382492603,), (1382492607,), (1382492611,), (1382492616,), (1382492622,), (1382492751,), (1382492755,), (1382492758,), (1382492761,), (1382493205,)) 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 26631539 , 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=26631533 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 (26631539) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26631533) result : ((1382490128,), (1382490162,), (1382490163,), (1382490784,), (1382490837,), (1382490839,), (1382491179,), (1382491181,), (1382491182,), (1382491183,), (1382491229,), (1382491230,), (1382491262,), (1382491263,), (1382491264,), (1382491265,), (1382491306,), (1382491307,), (1382491308,), (1382491309,), (1382491391,), (1382491392,), (1382491393,), (1382491394,), (1382491395,), (1382491396,), (1382491473,), (1382491474,), (1382491475,), (1382491476,), (1382491477,), (1382492603,), (1382492607,), (1382492611,), (1382492616,), (1382492622,), (1382492751,), (1382492755,), (1382492758,), (1382492761,), (1382493205,)) 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 26631540 , 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=26631533 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 (26631540) result : ((1382491466,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26631533) result : ((1382490128,), (1382490162,), (1382490163,), (1382490784,), (1382490837,), (1382490839,), (1382491179,), (1382491181,), (1382491182,), (1382491183,), (1382491229,), (1382491230,), (1382491262,), (1382491263,), (1382491264,), (1382491265,), (1382491306,), (1382491307,), (1382491308,), (1382491309,), (1382491391,), (1382491392,), (1382491393,), (1382491394,), (1382491395,), (1382491396,), (1382491473,), (1382491474,), (1382491475,), (1382491476,), (1382491477,), (1382492603,), (1382492607,), (1382492611,), (1382492616,), (1382492622,), (1382492751,), (1382492755,), (1382492758,), (1382492761,), (1382493205,)) 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 26631541 , 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=26631533 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 (26631541) result : ((1382495688,), (1382497119,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26631533) result : ((1382490128,), (1382490162,), (1382490163,), (1382490784,), (1382490837,), (1382490839,), (1382491179,), (1382491181,), (1382491182,), (1382491183,), (1382491229,), (1382491230,), (1382491262,), (1382491263,), (1382491264,), (1382491265,), (1382491306,), (1382491307,), (1382491308,), (1382491309,), (1382491391,), (1382491392,), (1382491393,), (1382491394,), (1382491395,), (1382491396,), (1382491473,), (1382491474,), (1382491475,), (1382491476,), (1382491477,), (1382492603,), (1382492607,), (1382492611,), (1382492616,), (1382492622,), (1382492751,), (1382492755,), (1382492758,), (1382492761,), (1382493205,)) 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 26631542 , 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=26631533 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 (26631542) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26631533) result : ((1382490128,), (1382490162,), (1382490163,), (1382490784,), (1382490837,), (1382490839,), (1382491179,), (1382491181,), (1382491182,), (1382491183,), (1382491229,), (1382491230,), (1382491262,), (1382491263,), (1382491264,), (1382491265,), (1382491306,), (1382491307,), (1382491308,), (1382491309,), (1382491391,), (1382491392,), (1382491393,), (1382491394,), (1382491395,), (1382491396,), (1382491473,), (1382491474,), (1382491475,), (1382491476,), (1382491477,), (1382492603,), (1382492607,), (1382492611,), (1382492616,), (1382492622,), (1382492751,), (1382492755,), (1382492758,), (1382492761,), (1382493205,)) 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 26631543 , 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=26631533 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 (26631543) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26631533) result : ((1382490128,), (1382490162,), (1382490163,), (1382490784,), (1382490837,), (1382490839,), (1382491179,), (1382491181,), (1382491182,), (1382491183,), (1382491229,), (1382491230,), (1382491262,), (1382491263,), (1382491264,), (1382491265,), (1382491306,), (1382491307,), (1382491308,), (1382491309,), (1382491391,), (1382491392,), (1382491393,), (1382491394,), (1382491395,), (1382491396,), (1382491473,), (1382491474,), (1382491475,), (1382491476,), (1382491477,), (1382492603,), (1382492607,), (1382492611,), (1382492616,), (1382492622,), (1382492751,), (1382492755,), (1382492758,), (1382492761,), (1382493205,)) 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 26631544 , 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=26631533 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 (26631544) result : ((1382491417,), (1382491418,), (1382491463,), (1382493485,), (1382493487,), (1382493834,), (1382493837,), (1382493840,), (1382493842,), (1382493845,), (1382493847,), (1382494391,), (1382497120,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26631533) result : ((1382490128,), (1382490162,), (1382490163,), (1382490784,), (1382490837,), (1382490839,), (1382491179,), (1382491181,), (1382491182,), (1382491183,), (1382491229,), (1382491230,), (1382491262,), (1382491263,), (1382491264,), (1382491265,), (1382491306,), (1382491307,), (1382491308,), (1382491309,), (1382491391,), (1382491392,), (1382491393,), (1382491394,), (1382491395,), (1382491396,), (1382491473,), (1382491474,), (1382491475,), (1382491476,), (1382491477,), (1382492603,), (1382492607,), (1382492611,), (1382492616,), (1382492622,), (1382492751,), (1382492755,), (1382492758,), (1382492761,), (1382493205,)) 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 26631545 , 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=26631533 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 (26631545) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26631533) result : ((1382490128,), (1382490162,), (1382490163,), (1382490784,), (1382490837,), (1382490839,), (1382491179,), (1382491181,), (1382491182,), (1382491183,), (1382491229,), (1382491230,), (1382491262,), (1382491263,), (1382491264,), (1382491265,), (1382491306,), (1382491307,), (1382491308,), (1382491309,), (1382491391,), (1382491392,), (1382491393,), (1382491394,), (1382491395,), (1382491396,), (1382491473,), (1382491474,), (1382491475,), (1382491476,), (1382491477,), (1382492603,), (1382492607,), (1382492611,), (1382492616,), (1382492622,), (1382492751,), (1382492755,), (1382492758,), (1382492761,), (1382493205,)) 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 26631546 , 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=26631533 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 (26631546) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26631533) result : ((1382490128,), (1382490162,), (1382490163,), (1382490784,), (1382490837,), (1382490839,), (1382491179,), (1382491181,), (1382491182,), (1382491183,), (1382491229,), (1382491230,), (1382491262,), (1382491263,), (1382491264,), (1382491265,), (1382491306,), (1382491307,), (1382491308,), (1382491309,), (1382491391,), (1382491392,), (1382491393,), (1382491394,), (1382491395,), (1382491396,), (1382491473,), (1382491474,), (1382491475,), (1382491476,), (1382491477,), (1382492603,), (1382492607,), (1382492611,), (1382492616,), (1382492622,), (1382492751,), (1382492755,), (1382492758,), (1382492761,), (1382493205,)) 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 26631547 , 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=26631533 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 (26631547) result : ((1382491462,), (1382493802,), (1382493805,), (1382493808,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26631533) result : ((1382490128,), (1382490162,), (1382490163,), (1382490784,), (1382490837,), (1382490839,), (1382491179,), (1382491181,), (1382491182,), (1382491183,), (1382491229,), (1382491230,), (1382491262,), (1382491263,), (1382491264,), (1382491265,), (1382491306,), (1382491307,), (1382491308,), (1382491309,), (1382491391,), (1382491392,), (1382491393,), (1382491394,), (1382491395,), (1382491396,), (1382491473,), (1382491474,), (1382491475,), (1382491476,), (1382491477,), (1382492603,), (1382492607,), (1382492611,), (1382492616,), (1382492622,), (1382492751,), (1382492755,), (1382492758,), (1382492761,), (1382493205,)) 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 26631548 , 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=26631533 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 (26631548) result : ((1382491416,), (1382492003,), (1382493478,), (1382493480,), (1382493788,), (1382494054,), (1382494055,), (1382494390,), (1382495684,), (1382495685,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26631533) result : ((1382490128,), (1382490162,), (1382490163,), (1382490784,), (1382490837,), (1382490839,), (1382491179,), (1382491181,), (1382491182,), (1382491183,), (1382491229,), (1382491230,), (1382491262,), (1382491263,), (1382491264,), (1382491265,), (1382491306,), (1382491307,), (1382491308,), (1382491309,), (1382491391,), (1382491392,), (1382491393,), (1382491394,), (1382491395,), (1382491396,), (1382491473,), (1382491474,), (1382491475,), (1382491476,), (1382491477,), (1382492603,), (1382492607,), (1382492611,), (1382492616,), (1382492622,), (1382492751,), (1382492755,), (1382492758,), (1382492761,), (1382493205,)) 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 26631549 , 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=26631533 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 (26631549) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26631533) result : ((1382490128,), (1382490162,), (1382490163,), (1382490784,), (1382490837,), (1382490839,), (1382491179,), (1382491181,), (1382491182,), (1382491183,), (1382491229,), (1382491230,), (1382491262,), (1382491263,), (1382491264,), (1382491265,), (1382491306,), (1382491307,), (1382491308,), (1382491309,), (1382491391,), (1382491392,), (1382491393,), (1382491394,), (1382491395,), (1382491396,), (1382491473,), (1382491474,), (1382491475,), (1382491476,), (1382491477,), (1382492603,), (1382492607,), (1382492611,), (1382492616,), (1382492622,), (1382492751,), (1382492755,), (1382492758,), (1382492761,), (1382493205,)) 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`=26631533 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_gris','metal','plastique','environnement','papier','mal_croppe','cartonnette','Carton_brun','kraft','flou','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`=26631533 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_gris','metal','plastique','environnement','papier','mal_croppe','cartonnette','Carton_brun','kraft','flou','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 26631533, 'sub_port_id': 26631550, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944564, 'last_updated_at': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 59)}, 'environnement': {'main_port_id': 26631533, 'sub_port_id': 26631551, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944565, 'last_updated_at': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 59)}, 'plastique': {'main_port_id': 26631533, 'sub_port_id': 26631552, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944566, 'last_updated_at': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 59)}, 'autre_refus': {'main_port_id': 26631533, 'sub_port_id': 26631553, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944567, 'last_updated_at': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 59)}, 'papier': {'main_port_id': 26631533, 'sub_port_id': 26631554, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944568, 'last_updated_at': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 59)}, 'flou': {'main_port_id': 26631533, 'sub_port_id': 26631555, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944569, 'last_updated_at': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 59)}, 'cartonnette': {'main_port_id': 26631533, 'sub_port_id': 26631556, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944570, 'last_updated_at': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 59)}, 'mal_croppe': {'main_port_id': 26631533, 'sub_port_id': 26631557, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944571, 'last_updated_at': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 59)}, 'kraft': {'main_port_id': 26631533, 'sub_port_id': 26631558, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944572, 'last_updated_at': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 59)}, 'Carton_gris': {'main_port_id': 26631533, 'sub_port_id': 26631559, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944573, 'last_updated_at': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 26631533, 'sub_port_id': 26631560, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944574, 'last_updated_at': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 9, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 59)}, 'metal': {'main_port_id': 26631533, 'sub_port_id': 26631561, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17944575, 'last_updated_at': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 8, 10, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 8, 9, 48, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26631550,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26631538 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26631551,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26631539 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26631552,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26631540 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26631553,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26631541 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26631554,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26631542 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26631555,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26631543 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26631556,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26631544 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26631557,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26631545 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26631558,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26631546 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26631559,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26631547 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26631560,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26631548 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26631561,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26631549 lien utilise dans velours : https://marlene.fotonower.com/velours/26631550,26631551,26631552,26631553,26631554,26631555,26631556,26631557,26631558,26631559,26631560,26631561?tags=Carton_brun,environnement,plastique,autre_refus,papier,flou,cartonnette,mal_croppe,kraft,Carton_gris,Teint_Dans_La_Masse,metal After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26631533]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1382493205, 1382492761, 1382492758, 1382492755, 1382492751, 1382492622, 1382492616, 1382492611, 1382492607, 1382492603, 1382491477, 1382491476, 1382491475, 1382491474, 1382491473, 1382491396, 1382491395, 1382491394, 1382491393, 1382491392, 1382491391, 1382491309, 1382491308, 1382491307, 1382491306, 1382491265, 1382491264, 1382491263, 1382491262, 1382491230, 1382491229, 1382491183, 1382491182, 1382491181, 1382491179, 1382490839, 1382490837, 1382490784, 1382490163, 1382490162, 1382490128] map_info['map_portfolio_photo'] : {26631533: [1382493205, 1382492761, 1382492758, 1382492755, 1382492751, 1382492622, 1382492616, 1382492611, 1382492607, 1382492603, 1382491477, 1382491476, 1382491475, 1382491474, 1382491473, 1382491396, 1382491395, 1382491394, 1382491393, 1382491392, 1382491391, 1382491309, 1382491308, 1382491307, 1382491306, 1382491265, 1382491264, 1382491263, 1382491262, 1382491230, 1382491229, 1382491183, 1382491182, 1382491181, 1382491179, 1382490839, 1382490837, 1382490784, 1382490163, 1382490162, 1382490128]} final : False mtd_id 4302 list_pids : [1382493205, 1382492761, 1382492758, 1382492755, 1382492751, 1382492622, 1382492616, 1382492611, 1382492607, 1382492603, 1382491477, 1382491476, 1382491475, 1382491474, 1382491473, 1382491396, 1382491395, 1382491394, 1382491393, 1382491392, 1382491391, 1382491309, 1382491308, 1382491307, 1382491306, 1382491265, 1382491264, 1382491263, 1382491262, 1382491230, 1382491229, 1382491183, 1382491182, 1382491181, 1382491179, 1382490839, 1382490837, 1382490784, 1382490163, 1382490162, 1382490128] Looping around the photos to save general results len do output : 1 /26631533. 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, '3682602') ('4302', '26631533', '1382493205', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492761', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492758', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492755', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492751', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492622', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492616', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492611', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492607', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492603', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491477', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491476', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491475', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491474', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491473', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491396', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491395', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491394', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491393', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491392', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491391', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491309', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491308', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491307', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491306', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491265', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491264', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491263', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491262', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491230', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491229', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491183', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491182', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491181', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491179', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490839', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490837', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490784', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490163', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490162', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490128', None, None, None, None, None, '3682602') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 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, '26631533', "{'Carton_brun': 26631538, 'environnement': 26631539, 'plastique': 26631540, 'autre_refus': 26631541, 'papier': 26631542, 'flou': 26631543, 'cartonnette': 26631544, 'mal_croppe': 26631545, 'kraft': 26631546, 'Carton_gris': 26631547, 'Teint_Dans_La_Masse': 26631548, 'metal': 26631549}", None, None, None, None, '3682602'), ('4302', '26631533', '1382493205', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492761', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492758', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492755', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492751', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492622', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492616', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492611', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492607', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492603', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491477', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491476', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491475', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491474', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491473', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491396', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491395', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491394', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491393', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491392', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491391', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491309', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491308', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491307', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491306', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491265', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491264', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491263', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491262', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491230', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491229', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491183', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491182', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491181', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491179', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382490839', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382490837', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382490784', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382490163', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382490162', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382490128', None, None, None, None, None, '3682602')] time used for this insertion : 0.029044151306152344 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6062040328979492 time spend to save output : 0.02948451042175293 total time spend for step 1 : 1.6356885433197021 step2:final Tue Sep 9 05:40:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (26631533) 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 26631533 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1382490128,1382490163,1382490162,1382490784,1382490839,1382490837,1382491183,1382491182,1382491181,1382491179,1382491230,1382491265,1382491229,1382491264,1382491263,1382491262,1382491309,1382491308,1382491307,1382491306,1382491396,1382491395,1382491394,1382491393,1382491392,1382491391,1382491477,1382491476,1382491475,1382491474,1382491473,1382492622,1382492616,1382492611,1382492607,1382492603,1382492761,1382492758,1382492755,1382492751,1382493205); 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([26631533]) Inside saveOutput : final : False verbose : True original output for save of step final : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} new output for save of step final : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} [1382493205, 1382492761, 1382492758, 1382492755, 1382492751, 1382492622, 1382492616, 1382492611, 1382492607, 1382492603, 1382491477, 1382491476, 1382491475, 1382491474, 1382491473, 1382491396, 1382491395, 1382491394, 1382491393, 1382491392, 1382491391, 1382491309, 1382491308, 1382491307, 1382491306, 1382491265, 1382491264, 1382491263, 1382491262, 1382491230, 1382491229, 1382491183, 1382491182, 1382491181, 1382491179, 1382490839, 1382490837, 1382490784, 1382490163, 1382490162, 1382490128] map_info['map_portfolio_photo'] : {26631533: [1382493205, 1382492761, 1382492758, 1382492755, 1382492751, 1382492622, 1382492616, 1382492611, 1382492607, 1382492603, 1382491477, 1382491476, 1382491475, 1382491474, 1382491473, 1382491396, 1382491395, 1382491394, 1382491393, 1382491392, 1382491391, 1382491309, 1382491308, 1382491307, 1382491306, 1382491265, 1382491264, 1382491263, 1382491262, 1382491230, 1382491229, 1382491183, 1382491182, 1382491181, 1382491179, 1382490839, 1382490837, 1382490784, 1382490163, 1382490162, 1382490128]} final : False mtd_id 4302 list_pids : [1382493205, 1382492761, 1382492758, 1382492755, 1382492751, 1382492622, 1382492616, 1382492611, 1382492607, 1382492603, 1382491477, 1382491476, 1382491475, 1382491474, 1382491473, 1382491396, 1382491395, 1382491394, 1382491393, 1382491392, 1382491391, 1382491309, 1382491308, 1382491307, 1382491306, 1382491265, 1382491264, 1382491263, 1382491262, 1382491230, 1382491229, 1382491183, 1382491182, 1382491181, 1382491179, 1382490839, 1382490837, 1382490784, 1382490163, 1382490162, 1382490128] Looping around the photos to save general results len do output : 41 /1382493205.Didn't retrieve data . /1382492761.Didn't retrieve data . /1382492758.Didn't retrieve data . /1382492755.Didn't retrieve data . /1382492751.Didn't retrieve data . /1382492622.Didn't retrieve data . /1382492616.Didn't retrieve data . /1382492611.Didn't retrieve data . /1382492607.Didn't retrieve data . /1382492603.Didn't retrieve data . /1382491477.Didn't retrieve data . /1382491476.Didn't retrieve data . /1382491475.Didn't retrieve data . /1382491474.Didn't retrieve data . /1382491473.Didn't retrieve data . /1382491396.Didn't retrieve data . /1382491395.Didn't retrieve data . /1382491394.Didn't retrieve data . /1382491393.Didn't retrieve data . /1382491392.Didn't retrieve data . /1382491391.Didn't retrieve data . /1382491309.Didn't retrieve data . /1382491308.Didn't retrieve data . /1382491307.Didn't retrieve data . /1382491306.Didn't retrieve data . /1382491265.Didn't retrieve data . /1382491264.Didn't retrieve data . /1382491263.Didn't retrieve data . /1382491262.Didn't retrieve data . /1382491230.Didn't retrieve data . /1382491229.Didn't retrieve data . /1382491183.Didn't retrieve data . /1382491182.Didn't retrieve data . /1382491181.Didn't retrieve data . /1382491179.Didn't retrieve data . /1382490839.Didn't retrieve data . /1382490837.Didn't retrieve data . /1382490784.Didn't retrieve data . /1382490163.Didn't retrieve data . /1382490162.Didn't retrieve data . /1382490128.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, '3682602') ('4302', '26631533', '1382493205', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492761', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492758', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492755', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492751', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492622', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492616', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492611', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492607', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492603', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491477', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491476', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491475', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491474', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491473', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491396', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491395', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491394', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491393', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491392', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491391', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491309', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491308', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491307', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491306', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491265', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491264', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491263', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491262', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491230', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491229', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491183', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491182', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491181', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491179', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490839', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490837', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490784', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490163', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490162', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490128', None, None, None, None, None, '3682602') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 123 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', '26631533', '1382493205', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382492761', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382492758', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382492755', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382492751', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382492622', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382492616', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382492611', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382492607', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382492603', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491477', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491476', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491475', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491474', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491473', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491396', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491395', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491394', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491393', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491392', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491391', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491309', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491308', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491307', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491306', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491265', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491264', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491263', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491262', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491230', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491229', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491183', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491182', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491181', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382491179', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382490839', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382490837', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382490784', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382490163', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382490162', '0.01930724803363772', None, None, None, None, '3682602'), ('4302', '26631533', '1382490128', '0.01930724803363772', None, None, None, None, '3682602')] time used for this insertion : 0.028650760650634766 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06975936889648438 time spend to save output : 0.03023838996887207 total time spend for step 2 : 0.09999775886535645 step3:velours_tree Tue Sep 9 05:40:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {26631533: [{'Carton_brun': 26631538, 'environnement': 26631539, 'plastique': 26631540, 'autre_refus': 26631541, 'papier': 26631542, 'flou': 26631543, 'cartonnette': 26631544, 'mal_croppe': 26631545, 'kraft': 26631546, 'Carton_gris': 26631547, 'Teint_Dans_La_Masse': 26631548, 'metal': 26631549}]} input_args_next_step : {26631533: ()} output_args : {26631533: [{'Carton_brun': 26631538, 'environnement': 26631539, 'plastique': 26631540, 'autre_refus': 26631541, 'papier': 26631542, 'flou': 26631543, 'cartonnette': 26631544, 'mal_croppe': 26631545, 'kraft': 26631546, 'Carton_gris': 26631547, 'Teint_Dans_La_Masse': 26631548, 'metal': 26631549}]} args : 26631533 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 : ({'Carton_brun': 26631538, 'environnement': 26631539, 'plastique': 26631540, 'autre_refus': 26631541, 'papier': 26631542, 'flou': 26631543, 'cartonnette': 26631544, 'mal_croppe': 26631545, 'kraft': 26631546, 'Carton_gris': 26631547, 'Teint_Dans_La_Masse': 26631548, 'metal': 26631549},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26631533) 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([26631533]) 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.3338019847869873 time spend to save output : 5.078315734863281e-05 total time spend for step 3 : 0.33385276794433594 step4:send_mail_cod Tue Sep 9 05:40:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} input_args_next_step : {1382493205: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382493205 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382492761 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382492758 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382492755 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382492751 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382492622 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382492616 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382492611 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382492607 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382492603 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491477 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491476 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491475 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491474 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491473 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491396 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491395 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491394 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491393 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491392 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491391 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491309 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491308 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491307 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491306 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491265 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491264 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491263 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491262 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491230 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491229 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491183 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491182 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491181 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382491179 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382490839 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382490837 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382490784 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382490163 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382490162 depend.output_id : 0 input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ()} output_args : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',)} args : 1382490128 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 : {26631533: [{'Carton_brun': 26631538, 'environnement': 26631539, 'plastique': 26631540, 'autre_refus': 26631541, 'papier': 26631542, 'flou': 26631543, 'cartonnette': 26631544, 'mal_croppe': 26631545, 'kraft': 26631546, 'Carton_gris': 26631547, 'Teint_Dans_La_Masse': 26631548, 'metal': 26631549}]} input_args_next_step : {1382493205: ('0.01930724803363772',), 1382492761: ('0.01930724803363772',), 1382492758: ('0.01930724803363772',), 1382492755: ('0.01930724803363772',), 1382492751: ('0.01930724803363772',), 1382492622: ('0.01930724803363772',), 1382492616: ('0.01930724803363772',), 1382492611: ('0.01930724803363772',), 1382492607: ('0.01930724803363772',), 1382492603: ('0.01930724803363772',), 1382491477: ('0.01930724803363772',), 1382491476: ('0.01930724803363772',), 1382491475: ('0.01930724803363772',), 1382491474: ('0.01930724803363772',), 1382491473: ('0.01930724803363772',), 1382491396: ('0.01930724803363772',), 1382491395: ('0.01930724803363772',), 1382491394: ('0.01930724803363772',), 1382491393: ('0.01930724803363772',), 1382491392: ('0.01930724803363772',), 1382491391: ('0.01930724803363772',), 1382491309: ('0.01930724803363772',), 1382491308: ('0.01930724803363772',), 1382491307: ('0.01930724803363772',), 1382491306: ('0.01930724803363772',), 1382491265: ('0.01930724803363772',), 1382491264: ('0.01930724803363772',), 1382491263: ('0.01930724803363772',), 1382491262: ('0.01930724803363772',), 1382491230: ('0.01930724803363772',), 1382491229: ('0.01930724803363772',), 1382491183: ('0.01930724803363772',), 1382491182: ('0.01930724803363772',), 1382491181: ('0.01930724803363772',), 1382491179: ('0.01930724803363772',), 1382490839: ('0.01930724803363772',), 1382490837: ('0.01930724803363772',), 1382490784: ('0.01930724803363772',), 1382490163: ('0.01930724803363772',), 1382490162: ('0.01930724803363772',), 1382490128: ('0.01930724803363772',), 26631533: ()} output_args : {26631533: [{'Carton_brun': 26631538, 'environnement': 26631539, 'plastique': 26631540, 'autre_refus': 26631541, 'papier': 26631542, 'flou': 26631543, 'cartonnette': 26631544, 'mal_croppe': 26631545, 'kraft': 26631546, 'Carton_gris': 26631547, 'Teint_Dans_La_Masse': 26631548, 'metal': 26631549}]} args : 26631533 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 :42, first value : ('0.01930724803363772',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26631533) 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 (1382493205,1382492761,1382492758,1382492755,1382492751,1382492622,1382492616,1382492611,1382492607,1382492603,1382491477,1382491476,1382491475,1382491474,1382491473,1382491396,1382491395,1382491394,1382491393,1382491392,1382491391,1382491309,1382491308,1382491307,1382491306,1382491265,1382491264,1382491263,1382491262,1382491230,1382491229,1382491183,1382491182,1382491181,1382491179,1382490839,1382490837,1382490784,1382490163,1382490162,1382490128) Found this number of photos: 41 ##### Call download_photos : nb_thread : 5 begin to download photo : 1382490128 begin to download photo : 1382491183 begin to download photo : 1382491308 begin to download photo : 1382491474 begin to download photo : 1382492751 download finish for photo 1382492751 begin to download photo : 1382492755 download finish for photo 1382491474 begin to download photo : 1382491475 download finish for photo 1382491308 begin to download photo : 1382491309 download finish for photo 1382491183 begin to download photo : 1382491229 download finish for photo 1382491475 begin to download photo : 1382491476 download finish for photo 1382492755 begin to download photo : 1382492758 download finish for photo 1382491309 begin to download photo : 1382491391 download finish for photo 1382491229 begin to download photo : 1382491230 download finish for photo 1382490128 begin to download photo : 1382490162 download finish for photo 1382491476 begin to download photo : 1382491477 download finish for photo 1382491391 begin to download photo : 1382491392 download finish for photo 1382490162 begin to download photo : 1382490163 download finish for photo 1382491230 begin to download photo : 1382491262 download finish for photo 1382491477 begin to download photo : 1382492603 download finish for photo 1382491392 begin to download photo : 1382491393 download finish for photo 1382490163 begin to download photo : 1382490784 download finish for photo 1382492603 begin to download photo : 1382492607 download finish for photo 1382491262 begin to download photo : 1382491263 download finish for photo 1382491393 begin to download photo : 1382491394 download finish for photo 1382490784 begin to download photo : 1382490837 download finish for photo 1382492607 begin to download photo : 1382492611 download finish for photo 1382491263 begin to download photo : 1382491264 download finish for photo 1382490837 begin to download photo : 1382490839 download finish for photo 1382491394 begin to download photo : 1382491395 download finish for photo 1382492611 begin to download photo : 1382492616 download finish for photo 1382491264 begin to download photo : 1382491265 download finish for photo 1382490839 begin to download photo : 1382491179 download finish for photo 1382492616 begin to download photo : 1382492622 download finish for photo 1382491395 begin to download photo : 1382491396 download finish for photo 1382491265 begin to download photo : 1382491306 download finish for photo 1382491396 begin to download photo : 1382491473 download finish for photo 1382491179 begin to download photo : 1382491181 download finish for photo 1382492622 download finish for photo 1382491181 begin to download photo : 1382491182 download finish for photo 1382491306 begin to download photo : 1382491307 download finish for photo 1382491473 download finish for photo 1382491307 download finish for photo 1382491182 download finish for photo 1382492758 begin to download photo : 1382492761 download finish for photo 1382492761 begin to download photo : 1382493205 download finish for photo 1382493205 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 41 ; length of list_pids : 41 ; length of list_args : 41 results_Auto_P26631533_09-09-2025_05_40_32.pdf 26631540 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=26631540 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1382491466: '1757318244_1455367_1382491306_08a6c2988a1dd8972995f7b2ec4b8957_64490555_rle_crop_3950590532_0.png'} change filename to text .imagette266315401757389232/ imagette266315401757389232/1757318244_1455367_1382491306_08a6c2988a1dd8972995f7b2ec4b8957_64490555_rle_crop_3950590532_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/9158238d09ff5586fb356f632b041616_19683703.png imagette266315401757389232 26631541 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=26631541 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1382495688: '1757319188_1524448_1382491182_de9819b21cfa4d71565c20a87075dfa6_49364064_rle_crop_3950606607_0.png', 1382497119: '1757319807_1551963_1382491392_dcadff3077a976b082369cb616b3b731_55494791_rle_crop_3950617578_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/0338406e5fb2cab5c74285cf6cc622db_71734479.png change filename to text .imagette266315411757389232/ imagette266315411757389232/1757319807_1551963_1382491392_dcadff3077a976b082369cb616b3b731_55494791_rle_crop_3950617578_0.png.png imagette266315411757389232/1757319188_1524448_1382491182_de9819b21cfa4d71565c20a87075dfa6_49364064_rle_crop_3950606607_0.png.png imagette266315431757389232/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/47f1a893fd54d535b419887081d68c66_45515840.png imagette266315411757389232 26631543 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=26631543 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette266315431757389232 26631544 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=26631544 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1382491417: '1757318224_1454905_1382491309_90ac63f78aef5887e4b034d454563eec_26604833_rle_crop_3950590300_0.png', 1382491418: '1757318224_1454905_1382491262_b3741e7c2efe664cd70bc267e9d3fa4a_597374_rle_crop_3950590321_0.png', 1382491463: '1757318244_1455367_1382491306_08a6c2988a1dd8972995f7b2ec4b8957_64490555_rle_crop_3950590533_0.png', 1382493485: '1757318465_1487250_1382492758_155d9dc3cdab7a801269447d5599a7a5_83458462_rle_crop_3950595974_0.png', 1382493487: '1757318465_1487250_1382492751_70239db08a2ad7addee3aa5da50c80ab_24606436_rle_crop_3950596003_0.png', 1382493834: '1757318486_1488793_1382492761_2b71aec59d6cd3f65326d35143962964_84040215_rle_crop_3950596138_0.png', 1382493837: '1757318486_1488793_1382492761_2b71aec59d6cd3f65326d35143962964_84040215_rle_crop_3950596139_0.png', 1382493840: '1757318486_1488793_1382492616_9410e3538d84a0216ee3b9d5f8d4e265_49892946_rle_crop_3950596151_0.png', 1382493842: '1757318486_1488793_1382492611_e65bb95f0debe27c80dc0b7d5c7fe5fc_19862924_rle_crop_3950596160_0.png', 1382493845: '1757318486_1488793_1382492607_835aef46f9ef406188a9455ad49a03d6_84437177_rle_crop_3950596170_0.png', 1382493847: '1757318486_1488793_1382492603_96399fd610511afcf254096dd1c9566c_70489071_rle_crop_3950596179_0.png', 1382494391: '1757318707_1501020_1382491263_30ff0df2d98ac007a5d0f03d3eeda340_86411481_rle_crop_3950597530_0.png', 1382497120: '1757319807_1551963_1382491391_208334e3a7036729afe97a6d8942b04c_59556782_rle_crop_3950617587_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/05094b82960419a8e78cbda2bb02311f_18413813.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/43bacb235e27656355ce3a0a16e00473_88461966.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/a2ce03b70cc661e8dc5e5804b2f1f610_99777705.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/25154dfc2357ea474a5b2b0064aedab8_3436638.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/3e0716da286ce96cd5d92a33fdd3a923_85178840.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/1f239f97549ad1c33e35079215ba7e07_81420277.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/2e3f5dbb46c8054d259c4c4cfe20dd5a_96601641.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/7ad53f6d9cc7e5bf23e6c9a97e043a0b_87903169.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/23ca3fc464e7bf54b5df14bad6c91513_12874534.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/81de3bc98715997280d4862a9382d794_52269707.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/82443c9e22c03aa3ae4c7a5ebd6d6019_67123430.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/e1e348d67ed14de4e9190b80ba08db25_7481202.png change filename to text .imagette266315441757389232/ imagette266315441757389232/1757318486_1488793_1382492761_2b71aec59d6cd3f65326d35143962964_84040215_rle_crop_3950596139_0.png.png imagette266315441757389232/1757319807_1551963_1382491391_208334e3a7036729afe97a6d8942b04c_59556782_rle_crop_3950617587_0.png.png imagette266315441757389232/1757318486_1488793_1382492603_96399fd610511afcf254096dd1c9566c_70489071_rle_crop_3950596179_0.png.png imagette266315441757389232/1757318707_1501020_1382491263_30ff0df2d98ac007a5d0f03d3eeda340_86411481_rle_crop_3950597530_0.png.png imagette266315441757389232/1757318244_1455367_1382491306_08a6c2988a1dd8972995f7b2ec4b8957_64490555_rle_crop_3950590533_0.png.png imagette266315441757389232/1757318486_1488793_1382492607_835aef46f9ef406188a9455ad49a03d6_84437177_rle_crop_3950596170_0.png.png imagette266315441757389232/1757318224_1454905_1382491309_90ac63f78aef5887e4b034d454563eec_26604833_rle_crop_3950590300_0.png.png imagette266315441757389232/1757318486_1488793_1382492761_2b71aec59d6cd3f65326d35143962964_84040215_rle_crop_3950596138_0.png.png imagette266315441757389232/1757318465_1487250_1382492758_155d9dc3cdab7a801269447d5599a7a5_83458462_rle_crop_3950595974_0.png.png imagette266315441757389232/1757318486_1488793_1382492611_e65bb95f0debe27c80dc0b7d5c7fe5fc_19862924_rle_crop_3950596160_0.png.png imagette266315441757389232/1757318486_1488793_1382492616_9410e3538d84a0216ee3b9d5f8d4e265_49892946_rle_crop_3950596151_0.png.png imagette266315441757389232/1757318465_1487250_1382492751_70239db08a2ad7addee3aa5da50c80ab_24606436_rle_crop_3950596003_0.png.png imagette266315441757389232/1757318224_1454905_1382491262_b3741e7c2efe664cd70bc267e9d3fa4a_597374_rle_crop_3950590321_0.png.png imagette266315451757389234/ imagette266315461757389234/ imagette266315491757389234/ wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/ebcdeb5e5378b557d18b1265bc634cb1_47637214.png imagette266315441757389232 26631545 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=26631545 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette266315451757389234 26631546 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=26631546 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette266315461757389234 26631549 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=26631549 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette266315491757389234 26631538 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=26631538 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1382491298: '1757318107_1450395_1382491183_a369c401a95ff14d066c27d956d5c651_4441430_rle_crop_3950578873_0.png', 1382491464: '1757318244_1455367_1382491308_c8b83495f61811027361c093400840f7_85728119_rle_crop_3950590510_0.png', 1382491465: '1757318244_1455367_1382491306_08a6c2988a1dd8972995f7b2ec4b8957_64490555_rle_crop_3950590535_0.png', 1382495691: '1757319188_1524448_1382491181_ccb9ed40bede9424dc4a864b07a28776_25861189_rle_crop_3950606670_0.png', 1382495692: '1757319188_1524448_1382491179_288fd1d6f97388c9525fac45b07aa821_12752788_rle_crop_3950606680_0.png', 1382497121: '1757319807_1551963_1382491477_dac69d2499a007bca70abaf2af5c25df_15168006_rle_crop_3950617523_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/1ffed4637b2bc074319db4b1fbdd4f19_4372564.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/fba13a14cdc49a015c01e1a3ff8a75e4_56636725.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/52509baf35aa0ad13049938fa6aec346_64987760.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/fdbaa8ea141eebcfee35bdf37dd7e28e_42917942.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/45438a9cc8a64fa49284a95fa2c88ed8_72103778.png change filename to text .imagette266315381757389234/ imagette266315381757389234/1757319807_1551963_1382491477_dac69d2499a007bca70abaf2af5c25df_15168006_rle_crop_3950617523_0.png.png imagette266315381757389234/1757319188_1524448_1382491179_288fd1d6f97388c9525fac45b07aa821_12752788_rle_crop_3950606680_0.png.png imagette266315381757389234/1757318244_1455367_1382491306_08a6c2988a1dd8972995f7b2ec4b8957_64490555_rle_crop_3950590535_0.png.png imagette266315381757389234/1757318107_1450395_1382491183_a369c401a95ff14d066c27d956d5c651_4441430_rle_crop_3950578873_0.png.png imagette266315381757389234/1757318244_1455367_1382491308_c8b83495f61811027361c093400840f7_85728119_rle_crop_3950590510_0.png.png imagette266315381757389234/1757319188_1524448_1382491181_ccb9ed40bede9424dc4a864b07a28776_25861189_rle_crop_3950606670_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/40041e9873ae683af962ed9091a47e38_49553820.png imagette266315381757389234 26631547 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=26631547 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1382491462: '1757318244_1455367_1382491308_c8b83495f61811027361c093400840f7_85728119_rle_crop_3950590505_0.png', 1382493802: '1757318486_1488793_1382492616_9410e3538d84a0216ee3b9d5f8d4e265_49892946_rle_crop_3950596150_0.png', 1382493805: '1757318486_1488793_1382492611_e65bb95f0debe27c80dc0b7d5c7fe5fc_19862924_rle_crop_3950596158_0.png', 1382493808: '1757318486_1488793_1382492607_835aef46f9ef406188a9455ad49a03d6_84437177_rle_crop_3950596168_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/b1637b54c0960b02a08f88cf268fbbdd_37584029.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/cdd9d7f02ecd1d950cf00b419d017a16_44553722.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/a242f2276a41256482e77e955f7ce754_59224719.png change filename to text .imagette266315471757389234/ imagette266315471757389234/1757318244_1455367_1382491308_c8b83495f61811027361c093400840f7_85728119_rle_crop_3950590505_0.png.png imagette266315471757389234/1757318486_1488793_1382492616_9410e3538d84a0216ee3b9d5f8d4e265_49892946_rle_crop_3950596150_0.png.png imagette266315471757389234/1757318486_1488793_1382492611_e65bb95f0debe27c80dc0b7d5c7fe5fc_19862924_rle_crop_3950596158_0.png.png imagette266315471757389234/1757318486_1488793_1382492607_835aef46f9ef406188a9455ad49a03d6_84437177_rle_crop_3950596168_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/4251c3fbd53edf67565abc69f9672d53_1993037.png imagette266315471757389234 26631548 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=26631548 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1382491416: '1757318224_1454905_1382491309_90ac63f78aef5887e4b034d454563eec_26604833_rle_crop_3950590303_0.png', 1382492003: '1757318346_1460774_1382491473_3040dd15c5cddc0df95f65154759e570_59965623_rle_crop_3950593213_0.png', 1382493478: '1757318465_1487250_1382492758_155d9dc3cdab7a801269447d5599a7a5_83458462_rle_crop_3950595980_0.png', 1382493480: '1757318465_1487250_1382492751_70239db08a2ad7addee3aa5da50c80ab_24606436_rle_crop_3950596009_0.png', 1382493788: '1757318486_1488793_1382492761_2b71aec59d6cd3f65326d35143962964_84040215_rle_crop_3950596144_0.png', 1382494054: '1757318586_1495270_1382493205_35bf5377906c3975d9fb9582e61648c3_84053250_rle_crop_3950596293_0.png', 1382494055: '1757318586_1495270_1382493205_35bf5377906c3975d9fb9582e61648c3_84053250_rle_crop_3950596292_0.png', 1382494390: '1757318707_1501020_1382491263_30ff0df2d98ac007a5d0f03d3eeda340_86411481_rle_crop_3950597529_0.png', 1382495684: '1757319188_1524448_1382491265_14f0aba8cbdbe3cec495f09302fac914_32369569_rle_crop_3950606587_0.png', 1382495685: '1757319188_1524448_1382491230_14f0aba8cbdbe3cec495f09302fac914_24663231_rle_crop_3950606596_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/51e5debb0c205bb727424f211a41225e_51612608.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/c6fc58930b98ecef5c03c09b7440bd84_44090491.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/522d39729c206ca090a5cb2f8a4609f6_55693791.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/74648366c3fdb09d6af212fb3f587a58_95350944.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/e93dce4973e5fc49310f72ec1fef5f62_59353988.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/bbc9942215479b42ef3afa0a492f4d87_44281806.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/fa4fecbe6af6bb7a8d27ff5d4bfe92a1_55180594.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/8146db7b73dc481c859536788ae209e7_25629541.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/6c834e2a269c05d5589b72c4e6fad88f_33274895.png change filename to text .imagette266315481757389235/ imagette266315481757389235/1757318224_1454905_1382491309_90ac63f78aef5887e4b034d454563eec_26604833_rle_crop_3950590303_0.png.png imagette266315481757389235/1757318586_1495270_1382493205_35bf5377906c3975d9fb9582e61648c3_84053250_rle_crop_3950596292_0.png.png imagette266315481757389235/1757318346_1460774_1382491473_3040dd15c5cddc0df95f65154759e570_59965623_rle_crop_3950593213_0.png.png imagette266315481757389235/1757319188_1524448_1382491230_14f0aba8cbdbe3cec495f09302fac914_24663231_rle_crop_3950606596_0.png.png imagette266315481757389235/1757318465_1487250_1382492751_70239db08a2ad7addee3aa5da50c80ab_24606436_rle_crop_3950596009_0.png.png imagette266315481757389235/1757319188_1524448_1382491265_14f0aba8cbdbe3cec495f09302fac914_32369569_rle_crop_3950606587_0.png.png imagette266315481757389235/1757318465_1487250_1382492758_155d9dc3cdab7a801269447d5599a7a5_83458462_rle_crop_3950595980_0.png.png imagette266315481757389235/1757318486_1488793_1382492761_2b71aec59d6cd3f65326d35143962964_84040215_rle_crop_3950596144_0.png.png imagette266315481757389235/1757318586_1495270_1382493205_35bf5377906c3975d9fb9582e61648c3_84053250_rle_crop_3950596293_0.png.png imagette266315481757389235/1757318707_1501020_1382491263_30ff0df2d98ac007a5d0f03d3eeda340_86411481_rle_crop_3950597529_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/6c834e2a269c05d5589b72c4e6fad88f_13961642.png imagette266315481757389235 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26631533 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26631550,26631551,26631552,26631553,26631554,26631555,26631556,26631557,26631558,26631559,26631560,26631561?tags=Carton_brun,environnement,plastique,autre_refus,papier,flou,cartonnette,mal_croppe,kraft,Carton_gris,Teint_Dans_La_Masse,metal your option no_mail is active, we will not send the real mail to your client args[1382493205] : ('0.01930724803363772',) no score found for photo 1382493205 We are sending mail with results at report@fotonower.com args[1382492761] : ('0.01930724803363772',) no score found for photo 1382492761 We are sending mail with results at report@fotonower.com args[1382492758] : ('0.01930724803363772',) no score found for photo 1382492758 We are sending mail with results at report@fotonower.com args[1382492755] : ('0.01930724803363772',) no score found for photo 1382492755 We are sending mail with results at report@fotonower.com args[1382492751] : ('0.01930724803363772',) no score found for photo 1382492751 We are sending mail with results at report@fotonower.com args[1382492622] : ('0.01930724803363772',) no score found for photo 1382492622 We are sending mail with results at report@fotonower.com args[1382492616] : ('0.01930724803363772',) no score found for photo 1382492616 We are sending mail with results at report@fotonower.com args[1382492611] : ('0.01930724803363772',) no score found for photo 1382492611 We are sending mail with results at report@fotonower.com args[1382492607] : ('0.01930724803363772',) no score found for photo 1382492607 We are sending mail with results at report@fotonower.com args[1382492603] : ('0.01930724803363772',) no score found for photo 1382492603 We are sending mail with results at report@fotonower.com args[1382491477] : ('0.01930724803363772',) no score found for photo 1382491477 We are sending mail with results at report@fotonower.com args[1382491476] : ('0.01930724803363772',) no score found for photo 1382491476 We are sending mail with results at report@fotonower.com args[1382491475] : ('0.01930724803363772',) no score found for photo 1382491475 We are sending mail with results at report@fotonower.com args[1382491474] : ('0.01930724803363772',) no score found for photo 1382491474 We are sending mail with results at report@fotonower.com args[1382491473] : ('0.01930724803363772',) no score found for photo 1382491473 We are sending mail with results at report@fotonower.com args[1382491396] : ('0.01930724803363772',) no score found for photo 1382491396 We are sending mail with results at report@fotonower.com args[1382491395] : ('0.01930724803363772',) no score found for photo 1382491395 We are sending mail with results at report@fotonower.com args[1382491394] : ('0.01930724803363772',) no score found for photo 1382491394 We are sending mail with results at report@fotonower.com args[1382491393] : ('0.01930724803363772',) no score found for photo 1382491393 We are sending mail with results at report@fotonower.com args[1382491392] : ('0.01930724803363772',) no score found for photo 1382491392 We are sending mail with results at report@fotonower.com args[1382491391] : ('0.01930724803363772',) no score found for photo 1382491391 We are sending mail with results at report@fotonower.com args[1382491309] : ('0.01930724803363772',) no score found for photo 1382491309 We are sending mail with results at report@fotonower.com args[1382491308] : ('0.01930724803363772',) no score found for photo 1382491308 We are sending mail with results at report@fotonower.com args[1382491307] : ('0.01930724803363772',) no score found for photo 1382491307 We are sending mail with results at report@fotonower.com args[1382491306] : ('0.01930724803363772',) no score found for photo 1382491306 We are sending mail with results at report@fotonower.com args[1382491265] : ('0.01930724803363772',) no score found for photo 1382491265 We are sending mail with results at report@fotonower.com args[1382491264] : ('0.01930724803363772',) no score found for photo 1382491264 We are sending mail with results at report@fotonower.com args[1382491263] : ('0.01930724803363772',) no score found for photo 1382491263 We are sending mail with results at report@fotonower.com args[1382491262] : ('0.01930724803363772',) no score found for photo 1382491262 We are sending mail with results at report@fotonower.com args[1382491230] : ('0.01930724803363772',) no score found for photo 1382491230 We are sending mail with results at report@fotonower.com args[1382491229] : ('0.01930724803363772',) no score found for photo 1382491229 We are sending mail with results at report@fotonower.com args[1382491183] : ('0.01930724803363772',) no score found for photo 1382491183 We are sending mail with results at report@fotonower.com args[1382491182] : ('0.01930724803363772',) no score found for photo 1382491182 We are sending mail with results at report@fotonower.com args[1382491181] : ('0.01930724803363772',) no score found for photo 1382491181 We are sending mail with results at report@fotonower.com args[1382491179] : ('0.01930724803363772',) no score found for photo 1382491179 We are sending mail with results at report@fotonower.com args[1382490839] : ('0.01930724803363772',) no score found for photo 1382490839 We are sending mail with results at report@fotonower.com args[1382490837] : ('0.01930724803363772',) no score found for photo 1382490837 We are sending mail with results at report@fotonower.com args[1382490784] : ('0.01930724803363772',) no score found for photo 1382490784 We are sending mail with results at report@fotonower.com args[1382490163] : ('0.01930724803363772',) no score found for photo 1382490163 We are sending mail with results at report@fotonower.com args[1382490162] : ('0.01930724803363772',) no score found for photo 1382490162 We are sending mail with results at report@fotonower.com args[1382490128] : ('0.01930724803363772',) no score found for photo 1382490128 We are sending mail with results at report@fotonower.com refus_total : 0.01930724803363772 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=26631533 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_P26631533_09-09-2025_05_40_32.pdf results_Auto_P26631533_09-09-2025_05_40_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26631533_09-09-2025_05_40_32.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','26631533','results_Auto_P26631533_09-09-2025_05_40_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26631533_09-09-2025_05_40_32.pdf','pdf','','0.35','0.01930724803363772') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26631533]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1382493205, 1382492761, 1382492758, 1382492755, 1382492751, 1382492622, 1382492616, 1382492611, 1382492607, 1382492603, 1382491477, 1382491476, 1382491475, 1382491474, 1382491473, 1382491396, 1382491395, 1382491394, 1382491393, 1382491392, 1382491391, 1382491309, 1382491308, 1382491307, 1382491306, 1382491265, 1382491264, 1382491263, 1382491262, 1382491230, 1382491229, 1382491183, 1382491182, 1382491181, 1382491179, 1382490839, 1382490837, 1382490784, 1382490163, 1382490162, 1382490128] map_info['map_portfolio_photo'] : {26631533: [1382493205, 1382492761, 1382492758, 1382492755, 1382492751, 1382492622, 1382492616, 1382492611, 1382492607, 1382492603, 1382491477, 1382491476, 1382491475, 1382491474, 1382491473, 1382491396, 1382491395, 1382491394, 1382491393, 1382491392, 1382491391, 1382491309, 1382491308, 1382491307, 1382491306, 1382491265, 1382491264, 1382491263, 1382491262, 1382491230, 1382491229, 1382491183, 1382491182, 1382491181, 1382491179, 1382490839, 1382490837, 1382490784, 1382490163, 1382490162, 1382490128]} final : False mtd_id 4302 list_pids : [1382493205, 1382492761, 1382492758, 1382492755, 1382492751, 1382492622, 1382492616, 1382492611, 1382492607, 1382492603, 1382491477, 1382491476, 1382491475, 1382491474, 1382491473, 1382491396, 1382491395, 1382491394, 1382491393, 1382491392, 1382491391, 1382491309, 1382491308, 1382491307, 1382491306, 1382491265, 1382491264, 1382491263, 1382491262, 1382491230, 1382491229, 1382491183, 1382491182, 1382491181, 1382491179, 1382490839, 1382490837, 1382490784, 1382490163, 1382490162, 1382490128] 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, '3682602') ('4302', '26631533', '1382493205', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492761', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492758', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492755', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492751', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492622', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492616', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492611', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492607', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492603', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491477', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491476', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491475', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491474', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491473', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491396', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491395', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491394', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491393', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491392', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491391', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491309', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491308', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491307', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491306', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491265', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491264', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491263', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491262', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491230', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491229', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491183', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491182', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491181', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491179', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490839', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490837', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490784', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490163', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490162', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490128', None, None, None, None, None, '3682602') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 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', '26631533', '1382493205', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492761', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492758', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492755', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492751', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492622', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492616', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492611', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492607', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492603', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491477', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491476', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491475', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491474', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491473', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491396', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491395', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491394', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491393', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491392', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491391', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491309', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491308', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491307', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491306', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491265', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491264', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491263', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491262', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491230', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491229', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491183', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491182', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491181', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491179', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382490839', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382490837', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382490784', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382490163', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382490162', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382490128', None, None, None, None, None, '3682602')] time used for this insertion : 0.02508258819580078 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.537548303604126 time spend to save output : 0.02558302879333496 total time spend for step 4 : 9.563131332397461 step5:split_time_score Tue Sep 9 05:40:38 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 : ['26631533'] 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 : [('26631533',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26631533) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1382491474: {'path': 'temp/1757389229_289869_1382491474_66cb7dfd11766d428d3850805000486b_59540994.jpg', 'extension': 'jpg'}, 1382491475: {'path': 'temp/1757389229_289869_1382491475_b3dc5ed876962757346fc8f9c5ac768e_79086635.jpg', 'extension': 'jpg'}, 1382491476: {'path': 'temp/1757389229_289869_1382491476_b8e6f40da82c366da6730e569d14e76f_92150799.jpg', 'extension': 'jpg'}, 1382491477: {'path': 'temp/1757389229_289869_1382491477_dac69d2499a007bca70abaf2af5c25df_15168006.jpg', 'extension': 'jpg'}, 1382492603: {'path': 'temp/1757389229_289869_1382492603_96399fd610511afcf254096dd1c9566c_70489071.jpg', 'extension': 'jpg'}, 1382492607: {'path': 'temp/1757389229_289869_1382492607_835aef46f9ef406188a9455ad49a03d6_84437177.jpg', 'extension': 'jpg'}, 1382492611: {'path': 'temp/1757389229_289869_1382492611_e65bb95f0debe27c80dc0b7d5c7fe5fc_19862924.jpg', 'extension': 'jpg'}, 1382492616: {'path': 'temp/1757389229_289869_1382492616_9410e3538d84a0216ee3b9d5f8d4e265_49892946.jpg', 'extension': 'jpg'}, 1382492622: {'path': 'temp/1757389229_289869_1382492622_1f6198ed66d38ec697d0cd84b73a37d9_85131298.jpg', 'extension': 'jpg'}, 1382491308: {'path': 'temp/1757389229_289869_1382491308_c8b83495f61811027361c093400840f7_85728119.jpg', 'extension': 'jpg'}, 1382491309: {'path': 'temp/1757389229_289869_1382491309_90ac63f78aef5887e4b034d454563eec_26604833.jpg', 'extension': 'jpg'}, 1382491391: {'path': 'temp/1757389229_289869_1382491391_208334e3a7036729afe97a6d8942b04c_59556782.jpg', 'extension': 'jpg'}, 1382491392: {'path': 'temp/1757389229_289869_1382491392_dcadff3077a976b082369cb616b3b731_55494791.jpg', 'extension': 'jpg'}, 1382491393: {'path': 'temp/1757389229_289869_1382491393_410d56e4a60bb1693b3e7af27ea5c764_8779083.jpg', 'extension': 'jpg'}, 1382491394: {'path': 'temp/1757389229_289869_1382491394_362cf9a8e79adaf42e5aa2eaf6ee1206_25430584.jpg', 'extension': 'jpg'}, 1382491395: {'path': 'temp/1757389229_289869_1382491395_e8ecf0365b983c7a29e9c6c3ecf1d0ee_81433963.jpg', 'extension': 'jpg'}, 1382491396: {'path': 'temp/1757389229_289869_1382491396_e8f9b0c425a60b9a21599d3ecbf95cf4_94149537.jpg', 'extension': 'jpg'}, 1382491473: {'path': 'temp/1757389229_289869_1382491473_3040dd15c5cddc0df95f65154759e570_59965623.jpg', 'extension': 'jpg'}, 1382491183: {'path': 'temp/1757389229_289869_1382491183_a369c401a95ff14d066c27d956d5c651_4441430.jpg', 'extension': 'jpg'}, 1382491229: {'path': 'temp/1757389229_289869_1382491229_d68b1ec68f28eb52f848f39a690c7bb1_4843811.jpg', 'extension': 'jpg'}, 1382491230: {'path': 'temp/1757389229_289869_1382491230_14f0aba8cbdbe3cec495f09302fac914_24663231.jpg', 'extension': 'jpg'}, 1382491262: {'path': 'temp/1757389229_289869_1382491262_b3741e7c2efe664cd70bc267e9d3fa4a_597374.jpg', 'extension': 'jpg'}, 1382491263: {'path': 'temp/1757389229_289869_1382491263_30ff0df2d98ac007a5d0f03d3eeda340_86411481.jpg', 'extension': 'jpg'}, 1382491264: {'path': 'temp/1757389229_289869_1382491264_d68b1ec68f28eb52f848f39a690c7bb1_35119761.jpg', 'extension': 'jpg'}, 1382491265: {'path': 'temp/1757389229_289869_1382491265_14f0aba8cbdbe3cec495f09302fac914_32369569.jpg', 'extension': 'jpg'}, 1382491306: {'path': 'temp/1757389229_289869_1382491306_08a6c2988a1dd8972995f7b2ec4b8957_64490555.jpg', 'extension': 'jpg'}, 1382491307: {'path': 'temp/1757389229_289869_1382491307_a69ed633af084d56f40cf066bc05ece4_39278954.jpg', 'extension': 'jpg'}, 1382490128: {'path': 'temp/1757389229_289869_1382490128_19c5060951f33e33fa1e88b4397cde52_72540598.jpg', 'extension': 'jpg'}, 1382490162: {'path': 'temp/1757389229_289869_1382490162_6b02843b835f0aebb1bcd15ae5b1b74f_83435911.jpg', 'extension': 'jpg'}, 1382490163: {'path': 'temp/1757389229_289869_1382490163_7cadecd0374d00cc46f25de5553ab2fc_92537899.jpg', 'extension': 'jpg'}, 1382490784: {'path': 'temp/1757389229_289869_1382490784_927e7861ee1bc11ffea86737f1b45ff2_93915207.jpg', 'extension': 'jpg'}, 1382490837: {'path': 'temp/1757389229_289869_1382490837_1560ff8d000aaa563261d78d3f55edd6_93095573.jpg', 'extension': 'jpg'}, 1382490839: {'path': 'temp/1757389229_289869_1382490839_1fec1602f58073f390964460aa366e0d_32375073.jpg', 'extension': 'jpg'}, 1382491179: {'path': 'temp/1757389229_289869_1382491179_288fd1d6f97388c9525fac45b07aa821_12752788.jpg', 'extension': 'jpg'}, 1382491181: {'path': 'temp/1757389229_289869_1382491181_ccb9ed40bede9424dc4a864b07a28776_25861189.jpg', 'extension': 'jpg'}, 1382491182: {'path': 'temp/1757389229_289869_1382491182_de9819b21cfa4d71565c20a87075dfa6_49364064.jpg', 'extension': 'jpg'}, 1382492751: {'path': 'temp/1757389229_289869_1382492751_70239db08a2ad7addee3aa5da50c80ab_24606436.jpg', 'extension': 'jpg'}, 1382492755: {'path': 'temp/1757389229_289869_1382492755_fe37294680235c867b9c0ae6c26e603f_45037552.jpg', 'extension': 'jpg'}, 1382492758: {'path': 'temp/1757389229_289869_1382492758_155d9dc3cdab7a801269447d5599a7a5_83458462.jpg', 'extension': 'jpg'}, 1382492761: {'path': 'temp/1757389229_289869_1382492761_2b71aec59d6cd3f65326d35143962964_84040215.jpg', 'extension': 'jpg'}, 1382493205: {'path': 'temp/1757389229_289869_1382493205_35bf5377906c3975d9fb9582e61648c3_84053250.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 = 26631533; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) 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 = 26631533 group by h (('09', 41),) 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=26631533 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 (26631533) 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 (26631533) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 08092025 26631533 Nombre de photos uploadées : 41 / 23040 (0%) 08092025 26631533 Nombre de photos taguées (types de déchets): 0 / 41 (0%) 08092025 26631533 Nombre de photos taguées (volume) : 0 / 41 (0%) [{'photo_id': 1382490128, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/19c5060951f33e33fa1e88b4397cde52_72540598.jpg', 'username': None, 'uploaded_at': 1757317572, 'text': 'image_08092025_09_45_14_010134m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1382490163, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/7cadecd0374d00cc46f25de5553ab2fc_92537899.jpg', 'username': None, 'uploaded_at': 1757317632, 'text': 'image_08092025_09_45_24_010134m0.jpg 2e-05 for time 1, id_amount 0 this amount prod time diff : 1e-05'}, {'photo_id': 1382490162, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/6b02843b835f0aebb1bcd15ae5b1b74f_83435911.jpg', 'username': None, 'uploaded_at': 1757317632, 'text': 'image_08092025_09_46_04_010138m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1382490784, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/8/927e7861ee1bc11ffea86737f1b45ff2_93915207.jpg', 'username': None, 'uploaded_at': 1757317871, 'text': 'image_08092025_09_46_54_009123m0.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.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0019059181213378906 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26631533, '2025-09-08' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-09-08' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2247147,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20230340957641602 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= 2247147 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26626191, 'dashboard_result_id': 14925593, '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_P26626191_09-09-2025_05_34_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26626192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26626193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26626194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26626195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26626196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26626197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26626198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26626199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26626200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26626201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26626202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26626203, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26626437, 'dashboard_result_id': 14925594, '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_P26626437_09-09-2025_05_35_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26626499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26626500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26626501, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26626503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26626504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26626505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26626507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26626508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26626509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26626511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26626512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26626513, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26628100, 'dashboard_result_id': 14925595, '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_P26628100_09-09-2025_05_36_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26628189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26628190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26628191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26628192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26628193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26628194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26628195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26628196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26628197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26628198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26628199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26628200, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26628102, 'dashboard_result_id': 14925596, '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_P26628102_09-09-2025_05_37_09.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26628158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26628159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26628160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26628161, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26628162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26628163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26628164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26628165, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26628166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26628167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26628168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26628169, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26628116, 'dashboard_result_id': 14925597, '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_P26628116_09-09-2025_05_37_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26628132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26628133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26628134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26628135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26628136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26628137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26628138, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26628139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26628140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26628141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26628142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26628143, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26629001, 'dashboard_result_id': 14925598, '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_P26629001_09-09-2025_05_37_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26629009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26629010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26629011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26629012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26629013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26629014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26629015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26629016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26629017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26629018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26629019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26629020, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26630241, 'dashboard_result_id': 14925599, '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_P26630241_09-09-2025_05_38_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26630309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26630310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26630311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26630312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26630313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26630314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26630315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26630316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26630317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26630318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26630319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26630320, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26630243, 'dashboard_result_id': 14925600, '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_P26630243_09-09-2025_05_39_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26630272, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26630273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26630274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26630275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26630276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26630277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26630278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26630279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26630280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26630281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26630282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26630283, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26631124, 'dashboard_result_id': 14925601, '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_P26631124_09-09-2025_05_40_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26631166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26631167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26631168, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26631169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26631170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26631171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26631172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26631173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26631174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26631175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26631176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26631177, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26631533, 'dashboard_result_id': 14925602, '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_P26631533_08-09-2025_10_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26631538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26631539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26631540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26631541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26631542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26631543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26631544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26631545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26631546, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26631547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26631548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26631549, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26631982, 'dashboard_result_id': 14925603, '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_P26631982_08-09-2025_10_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26632036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26632037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26632038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26632039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26632040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26632041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26632042, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26632043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26632044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26632045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26632046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26632047, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26632644, 'dashboard_result_id': 14925604, '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_P26632644_08-09-2025_10_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26632678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26632679, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26632680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26632681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26632682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26632683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26632684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26632685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26632686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26632687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26632688, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26632689, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26633406, 'dashboard_result_id': 14925605, '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_P26633406_08-09-2025_10_47_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26633443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26633444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26633445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26633446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26633447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26633448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26633449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26633450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26633451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26633452, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26633453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26633454, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26633894, 'dashboard_result_id': 14925606, '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_P26633894_08-09-2025_11_02_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26633933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26633934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26633935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26633936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26633937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26633938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26633939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26633940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26633941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26633942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26633943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26633944, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26634596, 'dashboard_result_id': 14925607, '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_P26634596_08-09-2025_11_17_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26634627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26634628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26634629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26634630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26634631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26634632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26634633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26634634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26634635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26634636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26634637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26634638, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26635579, 'dashboard_result_id': 14925608, '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_P26635579_08-09-2025_11_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26635598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26635599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26635600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26635601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26635602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26635603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26635604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26635605, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26635606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26635607, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26635608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26635609, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26635971, 'dashboard_result_id': 14925609, '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_P26635971_08-09-2025_11_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26635987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26635988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26635989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26635990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26635991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26635992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26635993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26635995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26635996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26635997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26635998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26635999, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26636452, 'dashboard_result_id': 14925610, '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_P26636452_08-09-2025_12_03_28.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26636470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26636471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26636472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26636473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26636474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26636475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26636476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26636477, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26636478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26636479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26636480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26636481, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26637109, 'dashboard_result_id': 14925611, '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_P26637109_08-09-2025_14_00_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26637117, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26637118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26637119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26637120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26637121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26637122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26637123, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26637124, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26637125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26637126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26637127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26637128, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26640229, 'dashboard_result_id': 14925612, '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_P26640229_08-09-2025_14_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26640236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26640237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26640238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26640239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26640240, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26640241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26640242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26640243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26640244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26640245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26640246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26640247, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26640535, 'dashboard_result_id': 14925613, '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_P26640535_08-09-2025_14_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26640579, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26640580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26640581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26640582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26640583, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26640584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26640585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26640586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26640587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26640588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26640589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26640590, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26641225, 'dashboard_result_id': 14925614, '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_P26641225_08-09-2025_14_32_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26641230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26641231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26641232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26641233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26641234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26641235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26641236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26641237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26641238, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26641239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26641240, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26641241, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26641784, 'dashboard_result_id': 14925615, '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_P26641784_08-09-2025_14_49_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26641828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26641829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26641830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26641831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26641832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26641833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26641834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26641835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26641836, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26641837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26641838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26641839, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26642617, 'dashboard_result_id': 14925616, '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_P26642617_08-09-2025_15_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26642629, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26642630, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26642631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26642632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26642633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26642634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26642635, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26642636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26642637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26642638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26642639, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26642640, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26643845, 'dashboard_result_id': 14925617, '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_P26643845_08-09-2025_15_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26643852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26643853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26643854, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26643855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26643856, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26643857, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26643858, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26643859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26643860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26643861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26643862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26643863, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26644176, 'dashboard_result_id': 14925618, '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_P26644176_08-09-2025_15_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26644198, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26644199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26644200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26644201, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26644202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26644203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26644204, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26644205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26644206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26644207, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26644208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26644209, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26644886, 'dashboard_result_id': 14925619, '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_P26644886_08-09-2025_16_08_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26644906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26644907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26644908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26644909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26644910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26644911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26644912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26644913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26644914, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26644915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26644916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26644917, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26645376, 'dashboard_result_id': 14925620, '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_P26645376_08-09-2025_16_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26645468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26645470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26645471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26645472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26645473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26645474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26645475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26645476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26645477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26645478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26645479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26645480, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26646340, 'dashboard_result_id': 14925621, '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_P26646340_08-09-2025_16_32_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26646359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26646360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26646361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26646362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26646363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26646364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26646365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26646366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26646367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26646369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26646370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26646371, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26647083, 'dashboard_result_id': 14925622, '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_P26647083_08-09-2025_16_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26647102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26647103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26647105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26647106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26647107, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26647109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26647110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26647111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26647113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26647114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26647115, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26647117, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26647785, 'dashboard_result_id': 14925623, '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_P26647785_08-09-2025_19_00_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26647803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26647804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26647805, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26647806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26647807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26647808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26647809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26647811, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26647812, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26647813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26647814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26647815, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26650285, 'dashboard_result_id': 14925624, '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_P26650285_08-09-2025_18_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26650289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26650290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26650291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26650292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26650293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26650294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26650295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26650296, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26650297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26650298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26650299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26650300, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26650636, 'dashboard_result_id': 14925625, '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_P26650636_08-09-2025_18_34_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26650648, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26650649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26650650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26650651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26650652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26650653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26650654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26650655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26650656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26650657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26650658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26650659, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26651099, 'dashboard_result_id': 14925626, '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_P26651099_08-09-2025_18_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26651127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26651128, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26651129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26651130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26651131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26651132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26651133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26651134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26651135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26651136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26651137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26651138, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26651751, 'dashboard_result_id': 14925627, '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_P26651751_08-09-2025_19_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26651781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26651782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26651783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26651784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26651785, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26651786, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26651787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26651788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26651789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26651790, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26651791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26651792, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26652362, 'dashboard_result_id': 14925628, '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_P26652362_08-09-2025_19_18_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26652415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26652416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26652417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26652418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26652419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26652420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26652421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26652422, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26652423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26652424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26652425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26652426, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26653274, 'dashboard_result_id': 14925629, '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_P26653274_08-09-2025_19_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26653328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26653329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26653330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26653331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26653332, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26653333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26653334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26653335, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26653336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26653337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26653338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26653339, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26654061, 'dashboard_result_id': 14925630, '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_P26654061_08-09-2025_19_50_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26654071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26654072, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26654073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26654074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26654075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26654076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26654077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26654078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26654079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26654080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26654081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26654082, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26654783, 'dashboard_result_id': 14925631, '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_P26654783_08-09-2025_20_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26654801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26654802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26654803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26654804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26654805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26654806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26654807, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26654809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26654810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26654811, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26654812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26654813, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26655325, 'dashboard_result_id': 14925632, '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_P26655325_08-09-2025_20_18_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26655363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26655364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26655365, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26655366, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26655367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26655368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26655369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26655370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26655371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26655372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26655373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26655374, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26656129, 'dashboard_result_id': 14925633, '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_P26656129_08-09-2025_20_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26656144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26656145, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26656146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26656147, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26656148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26656149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26656150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26656151, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26656152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26656153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26656154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26656155, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26656655, 'dashboard_result_id': 14925634, '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_P26656655_08-09-2025_20_58_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26656677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26656678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26656679, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26656680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26656681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26656682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26656683, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26656684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26656685, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26656686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26656687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26656688, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26657776, 'dashboard_result_id': 14925635, '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_P26657776_08-09-2025_21_16_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26657781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26657782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26657783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26657784, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26657785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26657786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26657787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26657788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26657789, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26657790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26657791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26657792, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26658564, 'dashboard_result_id': 14925636, '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_P26658564_08-09-2025_21_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26658581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26658582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26658583, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26658584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26658585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26658586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26658587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26658588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26658589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26658590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26658591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26658592, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26658906, 'dashboard_result_id': 14925637, '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_P26658906_08-09-2025_21_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26659016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26659017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26659018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26659019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26659020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26659021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26659022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26659023, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26659024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26659025, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26659026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26659027, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26659576, 'dashboard_result_id': 14925638, '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_P26659576_08-09-2025_22_03_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26659587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26659588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26659589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26659590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26659591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26659592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26659593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26659594, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26659595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26659596, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26659597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26659598, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26660203, 'dashboard_result_id': 14925639, '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_P26660203_08-09-2025_22_18_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26660208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26660209, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26660210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26660211, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26660212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26660213, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26660214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26660215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26660216, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26660217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26660218, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26660219, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26661011, 'dashboard_result_id': 14925640, '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_P26661011_08-09-2025_22_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26661024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26661025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26661026, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26661027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26661028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26661029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26661030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26661031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26661032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26661033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26661034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26661035, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26661664, 'dashboard_result_id': 14925641, '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_P26661664_08-09-2025_22_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26661696, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26661697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26661698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26661699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26661700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26661701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26661702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26661703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26661704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26661705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26661706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26661707, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26662372, 'dashboard_result_id': 14925642, '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_P26662372_08-09-2025_23_04_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26662439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26662440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26662441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26662442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26662443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26662444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26662445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26662446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26662447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26662448, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26662449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26662450, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26663126, 'dashboard_result_id': 14925643, '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_P26663126_08-09-2025_23_21_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26663173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26663174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26663175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26663176, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26663177, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26663178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26663179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26663180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26663181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26663182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26663183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26663184, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26663999, 'dashboard_result_id': 14925644, '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_P26663999_08-09-2025_23_33_27.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26664096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26664097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26664098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26664099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26664100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26664101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26664102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26664103, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26664104, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26664105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26664106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26664107, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26664550, 'dashboard_result_id': 14925645, '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_P26664550_08-09-2025_23_49_28.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26664624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26664625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26664626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26664627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26664628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26664629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26664630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26664631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26664632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26664633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26664634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26664635, 'pht': 3726}}"}, {'dashboat_entry_day': 2247147, 'dashboard_run_id': 2262143, 'mtr_portfolio_id': 26665276, 'dashboard_result_id': 14925646, '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_P26665276_09-09-2025_01_15_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26665283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26665284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26665285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26665286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26665287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26665288, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26665289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26665290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26665291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26665292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26665293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26665294, '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 = 26626191 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': 3682593, 'mtr_portfolio_id': 26626191, 'created_at': datetime.datetime(2025, 9, 9, 5, 34, 29), 'result': '0.0400330909262992', 'result_long': None, 'result_double': None}] Qualite : 0.0400330909262992 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26626191 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26626191_09-09-2025_05_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26626191 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_P26626191_09-09-2025_05_34_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26626192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26626193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26626194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26626195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26626196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26626197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26626198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26626199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26626200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26626201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26626202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26626203, 'pht': 3726}}" where mtr_portfolio_id = 26626191 and dashboard_run_id = 2262143 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`=26626191 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925593, 0.0400330909262992, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26626191_09-09-2025_05_34_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26626192, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26626193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26626194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26626195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26626196, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26626197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26626198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26626199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26626200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26626201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26626202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26626203, '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 = 26626437 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': 3682594, 'mtr_portfolio_id': 26626437, 'created_at': datetime.datetime(2025, 9, 9, 5, 35, 29), 'result': '0.08271884324514443', 'result_long': None, 'result_double': None}] Qualite : 0.08271884324514443 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26626437 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26626437_09-09-2025_05_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26626437 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_P26626437_09-09-2025_05_35_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26626499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26626500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26626501, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26626503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26626504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26626505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26626507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26626508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26626509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26626511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26626512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26626513, 'pht': 3726}}" where mtr_portfolio_id = 26626437 and dashboard_run_id = 2262143 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`=26626437 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925594, 0.08271884324514443, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26626437_09-09-2025_05_35_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26626499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26626500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26626501, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26626503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26626504, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26626505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26626507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26626508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26626509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26626511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26626512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26626513, '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 = 26628100 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': 3682595, 'mtr_portfolio_id': 26628100, 'created_at': datetime.datetime(2025, 9, 9, 5, 35, 57), 'result': '0.04466565682612582', 'result_long': None, 'result_double': None}] Qualite : 0.04466565682612582 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26628100 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26628100_09-09-2025_05_36_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26628100 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_P26628100_09-09-2025_05_36_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26628189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26628190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26628191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26628192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26628193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26628194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26628195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26628196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26628197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26628198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26628199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26628200, 'pht': 3726}}" where mtr_portfolio_id = 26628100 and dashboard_run_id = 2262143 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`=26628100 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925595, 0.04466565682612582, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26628100_09-09-2025_05_36_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26628189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26628190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26628191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26628192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26628193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26628194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26628195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26628196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26628197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26628198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26628199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26628200, '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 = 26628102 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': 3682596, 'mtr_portfolio_id': 26628102, 'created_at': datetime.datetime(2025, 9, 9, 5, 37, 5), 'result': '0.0459477028866879', 'result_long': None, 'result_double': None}] Qualite : 0.0459477028866879 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26628102 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26628102_09-09-2025_05_37_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26628102 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_P26628102_09-09-2025_05_37_09.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26628158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26628159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26628160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26628161, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26628162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26628163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26628164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26628165, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26628166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26628167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26628168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26628169, 'pht': 3726}}" where mtr_portfolio_id = 26628102 and dashboard_run_id = 2262143 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`=26628102 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925596, 0.0459477028866879, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26628102_09-09-2025_05_37_09.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26628158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26628159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26628160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26628161, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26628162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26628163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26628164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26628165, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26628166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26628167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26628168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26628169, '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 = 26628116 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': 3682597, 'mtr_portfolio_id': 26628116, 'created_at': datetime.datetime(2025, 9, 9, 5, 37, 31), 'result': '0.056352358181226386', 'result_long': None, 'result_double': None}] Qualite : 0.056352358181226386 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26628116 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26628116_09-09-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26628116 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_P26628116_09-09-2025_05_37_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26628132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26628133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26628134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26628135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26628136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26628137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26628138, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26628139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26628140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26628141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26628142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26628143, 'pht': 3726}}" where mtr_portfolio_id = 26628116 and dashboard_run_id = 2262143 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`=26628116 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925597, 0.056352358181226386, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26628116_09-09-2025_05_37_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26628132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26628133, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26628134, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26628135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26628136, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26628137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26628138, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26628139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26628140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26628141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26628142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26628143, '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 = 26629001 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': 3682598, 'mtr_portfolio_id': 26629001, 'created_at': datetime.datetime(2025, 9, 9, 5, 37, 58), 'result': '0.06451120726467724', 'result_long': None, 'result_double': None}] Qualite : 0.06451120726467724 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26629001 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26629001_09-09-2025_05_37_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26629001 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_P26629001_09-09-2025_05_37_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26629009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26629010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26629011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26629012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26629013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26629014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26629015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26629016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26629017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26629018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26629019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26629020, 'pht': 3726}}" where mtr_portfolio_id = 26629001 and dashboard_run_id = 2262143 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`=26629001 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925598, 0.06451120726467724, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26629001_09-09-2025_05_37_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26629009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26629010, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26629011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26629012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26629013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26629014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26629015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26629016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26629017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26629018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26629019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26629020, '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 = 26630241 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': 3682599, 'mtr_portfolio_id': 26630241, 'created_at': datetime.datetime(2025, 9, 9, 5, 38, 28), 'result': '0.04320589533337566', 'result_long': None, 'result_double': None}] Qualite : 0.04320589533337566 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26630241 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26630241_09-09-2025_05_38_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26630241 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_P26630241_09-09-2025_05_38_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26630309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26630310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26630311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26630312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26630313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26630314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26630315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26630316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26630317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26630318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26630319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26630320, 'pht': 3726}}" where mtr_portfolio_id = 26630241 and dashboard_run_id = 2262143 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`=26630241 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925599, 0.04320589533337566, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26630241_09-09-2025_05_38_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26630309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26630310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26630311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26630312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26630313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26630314, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26630315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26630316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26630317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26630318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26630319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26630320, '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 = 26630243 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': 3682600, 'mtr_portfolio_id': 26630243, 'created_at': datetime.datetime(2025, 9, 9, 5, 39, 27), 'result': '0.03972888889945434', 'result_long': None, 'result_double': None}] Qualite : 0.03972888889945434 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26630243 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26630243_09-09-2025_05_39_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26630243 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_P26630243_09-09-2025_05_39_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26630272, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26630273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26630274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26630275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26630276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26630277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26630278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26630279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26630280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26630281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26630282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26630283, 'pht': 3726}}" where mtr_portfolio_id = 26630243 and dashboard_run_id = 2262143 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`=26630243 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925600, 0.03972888889945434, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26630243_09-09-2025_05_39_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26630272, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26630273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26630274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26630275, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26630276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26630277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26630278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26630279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26630280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26630281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26630282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26630283, '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 = 26631124 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': 3682601, 'mtr_portfolio_id': 26631124, 'created_at': datetime.datetime(2025, 9, 9, 5, 39, 59), 'result': '0.03837218350295206', 'result_long': None, 'result_double': None}] Qualite : 0.03837218350295206 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26631124 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26631124_09-09-2025_05_40_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26631124 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_P26631124_09-09-2025_05_40_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26631166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26631167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26631168, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26631169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26631170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26631171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26631172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26631173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26631174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26631175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26631176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26631177, 'pht': 3726}}" where mtr_portfolio_id = 26631124 and dashboard_run_id = 2262143 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`=26631124 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925601, 0.03837218350295206, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26631124_09-09-2025_05_40_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26631166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26631167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26631168, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26631169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26631170, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26631171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26631172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26631173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26631174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26631175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26631176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26631177, '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 = 26631533 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': 3682602, 'mtr_portfolio_id': 26631533, 'created_at': datetime.datetime(2025, 9, 9, 5, 40, 28), 'result': '0.01930724803363772', 'result_long': None, 'result_double': None}] Qualite : 0.01930724803363772 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26631533 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26631533_09-09-2025_05_40_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26631533 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_P26631533_09-09-2025_05_40_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26631538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26631539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26631540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26631541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26631542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26631543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26631544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26631545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26631546, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26631547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26631548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26631549, 'pht': 3726}}" where mtr_portfolio_id = 26631533 and dashboard_run_id = 2262143 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`=26631533 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925602, 0.01930724803363772, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26631533_09-09-2025_05_40_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26631538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26631539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26631540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26631541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26631542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26631543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26631544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26631545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26631546, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26631547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26631548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26631549, '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 = 26631982 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': 3677194, 'mtr_portfolio_id': 26631982, 'created_at': datetime.datetime(2025, 9, 8, 10, 16, 58), 'result': '0.07313993208863147', 'result_long': None, 'result_double': None}] Qualite : 0.07313993208863147 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26631982 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26631982_08-09-2025_10_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26631982 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_P26631982_08-09-2025_10_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26632036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26632037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26632038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26632039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26632040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26632041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26632042, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26632043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26632044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26632045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26632046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26632047, 'pht': 3726}}" where mtr_portfolio_id = 26631982 and dashboard_run_id = 2262143 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`=26631982 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925603, 0.07313993208863147, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26631982_08-09-2025_10_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26632036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26632037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26632038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26632039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26632040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26632041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26632042, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26632043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26632044, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26632045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26632046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26632047, '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 = 26632644 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': 3677285, 'mtr_portfolio_id': 26632644, 'created_at': datetime.datetime(2025, 9, 8, 10, 32, 59), 'result': '0.04720224858145797', 'result_long': None, 'result_double': None}] Qualite : 0.04720224858145797 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26632644 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26632644_08-09-2025_10_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26632644 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_P26632644_08-09-2025_10_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26632678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26632679, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26632680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26632681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26632682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26632683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26632684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26632685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26632686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26632687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26632688, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26632689, 'pht': 3726}}" where mtr_portfolio_id = 26632644 and dashboard_run_id = 2262143 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`=26632644 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925604, 0.04720224858145797, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26632644_08-09-2025_10_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26632678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26632679, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26632680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26632681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26632682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26632683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26632684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26632685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26632686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26632687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26632688, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26632689, '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 = 26633406 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': 3677453, 'mtr_portfolio_id': 26633406, 'created_at': datetime.datetime(2025, 9, 8, 10, 46, 59), 'result': '0.029791162809496112', 'result_long': None, 'result_double': None}] Qualite : 0.029791162809496112 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26633406 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26633406_08-09-2025_10_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26633406 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_P26633406_08-09-2025_10_47_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26633443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26633444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26633445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26633446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26633447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26633448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26633449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26633450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26633451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26633452, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26633453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26633454, 'pht': 3726}}" where mtr_portfolio_id = 26633406 and dashboard_run_id = 2262143 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`=26633406 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925605, 0.029791162809496112, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26633406_08-09-2025_10_47_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26633443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26633444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26633445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26633446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26633447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26633448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26633449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26633450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26633451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26633452, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26633453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26633454, '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 = 26633894 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': 3677531, 'mtr_portfolio_id': 26633894, 'created_at': datetime.datetime(2025, 9, 8, 11, 2, 59), 'result': '0.05312641378778945', 'result_long': None, 'result_double': None}] Qualite : 0.05312641378778945 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26633894 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26633894_08-09-2025_11_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26633894 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_P26633894_08-09-2025_11_02_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26633933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26633934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26633935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26633936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26633937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26633938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26633939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26633940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26633941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26633942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26633943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26633944, 'pht': 3726}}" where mtr_portfolio_id = 26633894 and dashboard_run_id = 2262143 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`=26633894 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925606, 0.05312641378778945, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26633894_08-09-2025_11_02_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26633933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26633934, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26633935, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26633936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26633937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26633938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26633939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26633940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26633941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26633942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26633943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26633944, '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 = 26634596 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': 3677628, 'mtr_portfolio_id': 26634596, 'created_at': datetime.datetime(2025, 9, 8, 11, 16, 59), 'result': '0.05477247346638851', 'result_long': None, 'result_double': None}] Qualite : 0.05477247346638851 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26634596 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26634596_08-09-2025_11_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26634596 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_P26634596_08-09-2025_11_17_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26634627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26634628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26634629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26634630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26634631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26634632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26634633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26634634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26634635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26634636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26634637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26634638, 'pht': 3726}}" where mtr_portfolio_id = 26634596 and dashboard_run_id = 2262143 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`=26634596 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925607, 0.05477247346638851, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26634596_08-09-2025_11_17_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26634627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26634628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26634629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26634630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26634631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26634632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26634633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26634634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26634635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26634636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26634637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26634638, '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 = 26635579 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': 3677740, 'mtr_portfolio_id': 26635579, 'created_at': datetime.datetime(2025, 9, 8, 11, 32, 58), 'result': '0.04803114076644756', 'result_long': None, 'result_double': None}] Qualite : 0.04803114076644756 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26635579 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26635579_08-09-2025_11_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26635579 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_P26635579_08-09-2025_11_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26635598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26635599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26635600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26635601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26635602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26635603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26635604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26635605, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26635606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26635607, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26635608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26635609, 'pht': 3726}}" where mtr_portfolio_id = 26635579 and dashboard_run_id = 2262143 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`=26635579 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925608, 0.04803114076644756, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26635579_08-09-2025_11_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26635598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26635599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26635600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26635601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26635602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26635603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26635604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26635605, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26635606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26635607, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26635608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26635609, '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 = 26635971 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': 3677803, 'mtr_portfolio_id': 26635971, 'created_at': datetime.datetime(2025, 9, 8, 11, 46, 58), 'result': '0.06106104364603964', 'result_long': None, 'result_double': None}] Qualite : 0.06106104364603964 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26635971 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26635971_08-09-2025_11_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26635971 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_P26635971_08-09-2025_11_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26635987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26635988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26635989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26635990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26635991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26635992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26635993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26635995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26635996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26635997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26635998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26635999, 'pht': 3726}}" where mtr_portfolio_id = 26635971 and dashboard_run_id = 2262143 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`=26635971 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925609, 0.06106104364603964, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26635971_08-09-2025_11_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26635987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26635988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26635989, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26635990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26635991, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26635992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26635993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26635995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26635996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26635997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26635998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26635999, '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 = 26636452 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': 3677892, 'mtr_portfolio_id': 26636452, 'created_at': datetime.datetime(2025, 9, 8, 12, 3, 28), 'result': '0.06029805194606596', 'result_long': None, 'result_double': None}] Qualite : 0.06029805194606596 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26636452 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26636452_08-09-2025_12_03_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26636452 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_P26636452_08-09-2025_12_03_28.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26636470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26636471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26636472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26636473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26636474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26636475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26636476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26636477, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26636478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26636479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26636480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26636481, 'pht': 3726}}" where mtr_portfolio_id = 26636452 and dashboard_run_id = 2262143 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`=26636452 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925610, 0.06029805194606596, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26636452_08-09-2025_12_03_28.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26636470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26636471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26636472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26636473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26636474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26636475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26636476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26636477, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26636478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26636479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26636480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26636481, '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 = 26637109 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': 3677978, 'mtr_portfolio_id': 26637109, 'created_at': datetime.datetime(2025, 9, 8, 14, 0), 'result': '0.03798362242261165', 'result_long': None, 'result_double': None}] Qualite : 0.03798362242261165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26637109 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26637109_08-09-2025_14_00_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26637109 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_P26637109_08-09-2025_14_00_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26637117, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26637118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26637119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26637120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26637121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26637122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26637123, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26637124, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26637125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26637126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26637127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26637128, 'pht': 3726}}" where mtr_portfolio_id = 26637109 and dashboard_run_id = 2262143 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`=26637109 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925611, 0.03798362242261165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26637109_08-09-2025_14_00_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26637117, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26637118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26637119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26637120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26637121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26637122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26637123, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26637124, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26637125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26637126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26637127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26637128, '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 = 26640229 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': 3678304, 'mtr_portfolio_id': 26640229, 'created_at': datetime.datetime(2025, 9, 8, 14, 2, 57), 'result': '0.03820305517211497', 'result_long': None, 'result_double': None}] Qualite : 0.03820305517211497 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26640229 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26640229_08-09-2025_14_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26640229 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_P26640229_08-09-2025_14_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26640236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26640237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26640238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26640239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26640240, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26640241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26640242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26640243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26640244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26640245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26640246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26640247, 'pht': 3726}}" where mtr_portfolio_id = 26640229 and dashboard_run_id = 2262143 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`=26640229 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925612, 0.03820305517211497, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26640229_08-09-2025_14_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26640236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26640237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26640238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26640239, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26640240, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26640241, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26640242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26640243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26640244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26640245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26640246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26640247, '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 = 26640535 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': 3678345, 'mtr_portfolio_id': 26640535, 'created_at': datetime.datetime(2025, 9, 8, 14, 18, 59), 'result': '0.06484242209571692', 'result_long': None, 'result_double': None}] Qualite : 0.06484242209571692 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26640535 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26640535_08-09-2025_14_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26640535 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_P26640535_08-09-2025_14_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26640579, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26640580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26640581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26640582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26640583, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26640584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26640585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26640586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26640587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26640588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26640589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26640590, 'pht': 3726}}" where mtr_portfolio_id = 26640535 and dashboard_run_id = 2262143 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`=26640535 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925613, 0.06484242209571692, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26640535_08-09-2025_14_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26640579, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26640580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26640581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26640582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26640583, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26640584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26640585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26640586, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26640587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26640588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26640589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26640590, '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 = 26641225 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': 3678402, 'mtr_portfolio_id': 26641225, 'created_at': datetime.datetime(2025, 9, 8, 14, 32, 56), 'result': '0.041457543558107754', 'result_long': None, 'result_double': None}] Qualite : 0.041457543558107754 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26641225 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26641225_08-09-2025_14_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26641225 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_P26641225_08-09-2025_14_32_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26641230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26641231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26641232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26641233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26641234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26641235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26641236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26641237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26641238, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26641239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26641240, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26641241, 'pht': 3726}}" where mtr_portfolio_id = 26641225 and dashboard_run_id = 2262143 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`=26641225 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925614, 0.041457543558107754, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26641225_08-09-2025_14_32_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26641230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26641231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26641232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26641233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26641234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26641235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26641236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26641237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26641238, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26641239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26641240, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26641241, '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 = 26641784 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': 3678470, 'mtr_portfolio_id': 26641784, 'created_at': datetime.datetime(2025, 9, 8, 14, 49, 1), 'result': '0.05261400261689281', 'result_long': None, 'result_double': None}] Qualite : 0.05261400261689281 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26641784 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26641784_08-09-2025_14_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26641784 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_P26641784_08-09-2025_14_49_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26641828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26641829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26641830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26641831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26641832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26641833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26641834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26641835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26641836, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26641837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26641838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26641839, 'pht': 3726}}" where mtr_portfolio_id = 26641784 and dashboard_run_id = 2262143 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`=26641784 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925615, 0.05261400261689281, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26641784_08-09-2025_14_49_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26641828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26641829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26641830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26641831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26641832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26641833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26641834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26641835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26641836, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26641837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26641838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26641839, '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 = 26642617 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': 3678550, 'mtr_portfolio_id': 26642617, 'created_at': datetime.datetime(2025, 9, 8, 15, 16, 58), 'result': '0.04053870187889799', 'result_long': None, 'result_double': None}] Qualite : 0.04053870187889799 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26642617 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26642617_08-09-2025_15_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26642617 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_P26642617_08-09-2025_15_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26642629, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26642630, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26642631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26642632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26642633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26642634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26642635, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26642636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26642637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26642638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26642639, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26642640, 'pht': 3726}}" where mtr_portfolio_id = 26642617 and dashboard_run_id = 2262143 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`=26642617 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925616, 0.04053870187889799, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26642617_08-09-2025_15_16_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26642629, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26642630, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26642631, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26642632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26642633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26642634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26642635, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26642636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26642637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26642638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26642639, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26642640, '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 = 26643845 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': 3678695, 'mtr_portfolio_id': 26643845, 'created_at': datetime.datetime(2025, 9, 8, 15, 32, 58), 'result': '0.039574446290246874', 'result_long': None, 'result_double': None}] Qualite : 0.039574446290246874 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26643845 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26643845_08-09-2025_15_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26643845 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_P26643845_08-09-2025_15_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26643852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26643853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26643854, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26643855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26643856, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26643857, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26643858, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26643859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26643860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26643861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26643862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26643863, 'pht': 3726}}" where mtr_portfolio_id = 26643845 and dashboard_run_id = 2262143 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`=26643845 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925617, 0.039574446290246874, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26643845_08-09-2025_15_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26643852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26643853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26643854, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26643855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26643856, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26643857, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26643858, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26643859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26643860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26643861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26643862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26643863, '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 = 26644176 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': 3678732, 'mtr_portfolio_id': 26644176, 'created_at': datetime.datetime(2025, 9, 8, 15, 49, 1), 'result': '0.05057812861559474', 'result_long': None, 'result_double': None}] Qualite : 0.05057812861559474 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26644176 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26644176_08-09-2025_15_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26644176 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_P26644176_08-09-2025_15_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26644198, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26644199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26644200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26644201, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26644202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26644203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26644204, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26644205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26644206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26644207, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26644208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26644209, 'pht': 3726}}" where mtr_portfolio_id = 26644176 and dashboard_run_id = 2262143 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`=26644176 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925618, 0.05057812861559474, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26644176_08-09-2025_15_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26644198, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26644199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26644200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26644201, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26644202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26644203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26644204, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26644205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26644206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26644207, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26644208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26644209, '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 = 26644886 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': 3678825, 'mtr_portfolio_id': 26644886, 'created_at': datetime.datetime(2025, 9, 8, 16, 8, 58), 'result': '0.048473842126593246', 'result_long': None, 'result_double': None}] Qualite : 0.048473842126593246 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26644886 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26644886_08-09-2025_16_08_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26644886 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_P26644886_08-09-2025_16_08_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26644906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26644907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26644908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26644909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26644910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26644911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26644912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26644913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26644914, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26644915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26644916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26644917, 'pht': 3726}}" where mtr_portfolio_id = 26644886 and dashboard_run_id = 2262143 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`=26644886 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925619, 0.048473842126593246, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26644886_08-09-2025_16_08_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26644906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26644907, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26644908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26644909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26644910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26644911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26644912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26644913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26644914, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26644915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26644916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26644917, '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 = 26645376 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': 3678944, 'mtr_portfolio_id': 26645376, 'created_at': datetime.datetime(2025, 9, 8, 16, 18, 58), 'result': '0.05849586941555016', 'result_long': None, 'result_double': None}] Qualite : 0.05849586941555016 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26645376 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26645376_08-09-2025_16_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26645376 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_P26645376_08-09-2025_16_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26645468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26645470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26645471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26645472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26645473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26645474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26645475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26645476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26645477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26645478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26645479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26645480, 'pht': 3726}}" where mtr_portfolio_id = 26645376 and dashboard_run_id = 2262143 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`=26645376 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925620, 0.05849586941555016, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26645376_08-09-2025_16_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26645468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26645470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26645471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26645472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26645473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26645474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26645475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26645476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26645477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26645478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26645479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26645480, '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 = 26646340 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': 3679045, 'mtr_portfolio_id': 26646340, 'created_at': datetime.datetime(2025, 9, 8, 16, 32, 29), 'result': '0.04116769654040147', 'result_long': None, 'result_double': None}] Qualite : 0.04116769654040147 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26646340 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26646340_08-09-2025_16_32_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26646340 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_P26646340_08-09-2025_16_32_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26646359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26646360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26646361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26646362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26646363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26646364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26646365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26646366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26646367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26646369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26646370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26646371, 'pht': 3726}}" where mtr_portfolio_id = 26646340 and dashboard_run_id = 2262143 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`=26646340 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925621, 0.04116769654040147, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26646340_08-09-2025_16_32_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26646359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26646360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26646361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26646362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26646363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26646364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26646365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26646366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26646367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26646369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26646370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26646371, '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 = 26647083 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': 3679143, 'mtr_portfolio_id': 26647083, 'created_at': datetime.datetime(2025, 9, 8, 16, 48, 58), 'result': '0.039291330217023766', 'result_long': None, 'result_double': None}] Qualite : 0.039291330217023766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26647083 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26647083_08-09-2025_16_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26647083 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_P26647083_08-09-2025_16_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26647102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26647103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26647105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26647106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26647107, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26647109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26647110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26647111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26647113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26647114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26647115, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26647117, 'pht': 3726}}" where mtr_portfolio_id = 26647083 and dashboard_run_id = 2262143 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`=26647083 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925622, 0.039291330217023766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26647083_08-09-2025_16_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26647102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26647103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26647105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26647106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26647107, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26647109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26647110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26647111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26647113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26647114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26647115, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26647117, '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 = 26647785 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': 3679227, 'mtr_portfolio_id': 26647785, 'created_at': datetime.datetime(2025, 9, 8, 19, 0, 57), 'result': '0.0570759460236853', 'result_long': None, 'result_double': None}] Qualite : 0.0570759460236853 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26647785 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26647785_08-09-2025_19_00_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26647785 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_P26647785_08-09-2025_19_00_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26647803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26647804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26647805, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26647806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26647807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26647808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26647809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26647811, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26647812, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26647813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26647814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26647815, 'pht': 3726}}" where mtr_portfolio_id = 26647785 and dashboard_run_id = 2262143 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`=26647785 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925623, 0.0570759460236853, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26647785_08-09-2025_19_00_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26647803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26647804, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26647805, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26647806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26647807, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26647808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26647809, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26647811, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26647812, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26647813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26647814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26647815, '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 = 26650285 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': 3679516, 'mtr_portfolio_id': 26650285, 'created_at': datetime.datetime(2025, 9, 8, 18, 18, 59), 'result': '0.041966433223547955', 'result_long': None, 'result_double': None}] Qualite : 0.041966433223547955 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26650285 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26650285_08-09-2025_18_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26650285 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_P26650285_08-09-2025_18_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26650289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26650290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26650291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26650292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26650293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26650294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26650295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26650296, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26650297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26650298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26650299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26650300, 'pht': 3726}}" where mtr_portfolio_id = 26650285 and dashboard_run_id = 2262143 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`=26650285 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925624, 0.041966433223547955, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26650285_08-09-2025_18_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26650289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26650290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26650291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26650292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26650293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26650294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26650295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26650296, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26650297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26650298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26650299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26650300, '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 = 26650636 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': 3679551, 'mtr_portfolio_id': 26650636, 'created_at': datetime.datetime(2025, 9, 8, 18, 34, 56), 'result': '0.043205407008590574', 'result_long': None, 'result_double': None}] Qualite : 0.043205407008590574 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26650636 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26650636_08-09-2025_18_34_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26650636 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_P26650636_08-09-2025_18_34_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26650648, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26650649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26650650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26650651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26650652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26650653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26650654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26650655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26650656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26650657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26650658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26650659, 'pht': 3726}}" where mtr_portfolio_id = 26650636 and dashboard_run_id = 2262143 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`=26650636 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925625, 0.043205407008590574, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26650636_08-09-2025_18_34_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26650648, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26650649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26650650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26650651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26650652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26650653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26650654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26650655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26650656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26650657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26650658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26650659, '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 = 26651099 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': 3679606, 'mtr_portfolio_id': 26651099, 'created_at': datetime.datetime(2025, 9, 8, 18, 48, 58), 'result': '0.03500708415311105', 'result_long': None, 'result_double': None}] Qualite : 0.03500708415311105 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26651099 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26651099_08-09-2025_18_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26651099 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_P26651099_08-09-2025_18_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26651127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26651128, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26651129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26651130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26651131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26651132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26651133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26651134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26651135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26651136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26651137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26651138, 'pht': 3726}}" where mtr_portfolio_id = 26651099 and dashboard_run_id = 2262143 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`=26651099 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925626, 0.03500708415311105, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26651099_08-09-2025_18_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26651127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26651128, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26651129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26651130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26651131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26651132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26651133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26651134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26651135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26651136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26651137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26651138, '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 = 26651751 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': 3679683, 'mtr_portfolio_id': 26651751, 'created_at': datetime.datetime(2025, 9, 8, 19, 3), 'result': '0.04963984450170747', 'result_long': None, 'result_double': None}] Qualite : 0.04963984450170747 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26651751 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26651751_08-09-2025_19_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26651751 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_P26651751_08-09-2025_19_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26651781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26651782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26651783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26651784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26651785, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26651786, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26651787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26651788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26651789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26651790, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26651791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26651792, 'pht': 3726}}" where mtr_portfolio_id = 26651751 and dashboard_run_id = 2262143 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`=26651751 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925627, 0.04963984450170747, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26651751_08-09-2025_19_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26651781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26651782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26651783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26651784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26651785, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26651786, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26651787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26651788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26651789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26651790, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26651791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26651792, '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 = 26652362 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': 3679765, 'mtr_portfolio_id': 26652362, 'created_at': datetime.datetime(2025, 9, 8, 19, 18, 57), 'result': '0.03771955712595665', 'result_long': None, 'result_double': None}] Qualite : 0.03771955712595665 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26652362 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26652362_08-09-2025_19_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26652362 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_P26652362_08-09-2025_19_18_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26652415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26652416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26652417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26652418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26652419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26652420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26652421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26652422, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26652423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26652424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26652425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26652426, 'pht': 3726}}" where mtr_portfolio_id = 26652362 and dashboard_run_id = 2262143 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`=26652362 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925628, 0.03771955712595665, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26652362_08-09-2025_19_18_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26652415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26652416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26652417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26652418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26652419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26652420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26652421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26652422, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26652423, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26652424, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26652425, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26652426, '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 = 26653274 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': 3679847, 'mtr_portfolio_id': 26653274, 'created_at': datetime.datetime(2025, 9, 8, 19, 33), 'result': '0.04438664595653279', 'result_long': None, 'result_double': None}] Qualite : 0.04438664595653279 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26653274 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26653274_08-09-2025_19_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26653274 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_P26653274_08-09-2025_19_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26653328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26653329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26653330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26653331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26653332, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26653333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26653334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26653335, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26653336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26653337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26653338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26653339, 'pht': 3726}}" where mtr_portfolio_id = 26653274 and dashboard_run_id = 2262143 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`=26653274 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925629, 0.04438664595653279, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26653274_08-09-2025_19_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26653328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26653329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26653330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26653331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26653332, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26653333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26653334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26653335, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26653336, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26653337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26653338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26653339, '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 = 26654061 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': 3679949, 'mtr_portfolio_id': 26654061, 'created_at': datetime.datetime(2025, 9, 8, 19, 50, 58), 'result': '0.04242676694833518', 'result_long': None, 'result_double': None}] Qualite : 0.04242676694833518 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26654061 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26654061_08-09-2025_19_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26654061 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_P26654061_08-09-2025_19_50_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26654071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26654072, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26654073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26654074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26654075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26654076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26654077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26654078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26654079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26654080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26654081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26654082, 'pht': 3726}}" where mtr_portfolio_id = 26654061 and dashboard_run_id = 2262143 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`=26654061 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925630, 0.04242676694833518, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26654061_08-09-2025_19_50_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26654071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26654072, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26654073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26654074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26654075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26654076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26654077, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26654078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26654079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26654080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26654081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26654082, '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 = 26654783 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': 3680023, 'mtr_portfolio_id': 26654783, 'created_at': datetime.datetime(2025, 9, 8, 20, 3), 'result': '0.031579426702374264', 'result_long': None, 'result_double': None}] Qualite : 0.031579426702374264 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26654783 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26654783_08-09-2025_20_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26654783 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_P26654783_08-09-2025_20_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26654801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26654802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26654803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26654804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26654805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26654806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26654807, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26654809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26654810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26654811, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26654812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26654813, 'pht': 3726}}" where mtr_portfolio_id = 26654783 and dashboard_run_id = 2262143 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`=26654783 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925631, 0.031579426702374264, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26654783_08-09-2025_20_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26654801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26654802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26654803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26654804, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26654805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26654806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26654807, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26654809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26654810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26654811, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26654812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26654813, '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 = 26655325 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': 3680128, 'mtr_portfolio_id': 26655325, 'created_at': datetime.datetime(2025, 9, 8, 20, 18, 59), 'result': '0.04926858806767726', 'result_long': None, 'result_double': None}] Qualite : 0.04926858806767726 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26655325 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26655325_08-09-2025_20_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26655325 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_P26655325_08-09-2025_20_18_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26655363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26655364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26655365, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26655366, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26655367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26655368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26655369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26655370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26655371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26655372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26655373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26655374, 'pht': 3726}}" where mtr_portfolio_id = 26655325 and dashboard_run_id = 2262143 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`=26655325 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925632, 0.04926858806767726, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26655325_08-09-2025_20_18_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26655363, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26655364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26655365, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26655366, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26655367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26655368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26655369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26655370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26655371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26655372, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26655373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26655374, '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 = 26656129 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': 3680208, 'mtr_portfolio_id': 26656129, 'created_at': datetime.datetime(2025, 9, 8, 20, 32, 56), 'result': '0.06900354286636598', 'result_long': None, 'result_double': None}] Qualite : 0.06900354286636598 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26656129 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26656129_08-09-2025_20_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26656129 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_P26656129_08-09-2025_20_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26656144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26656145, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26656146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26656147, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26656148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26656149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26656150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26656151, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26656152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26656153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26656154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26656155, 'pht': 3726}}" where mtr_portfolio_id = 26656129 and dashboard_run_id = 2262143 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`=26656129 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925633, 0.06900354286636598, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26656129_08-09-2025_20_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26656144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26656145, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26656146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26656147, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26656148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26656149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26656150, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26656151, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26656152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26656153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26656154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26656155, '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 = 26656655 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': 3680288, 'mtr_portfolio_id': 26656655, 'created_at': datetime.datetime(2025, 9, 8, 20, 58, 29), 'result': '0.07096958065768949', 'result_long': None, 'result_double': None}] Qualite : 0.07096958065768949 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26656655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26656655_08-09-2025_20_58_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26656655 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_P26656655_08-09-2025_20_58_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26656677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26656678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26656679, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26656680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26656681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26656682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26656683, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26656684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26656685, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26656686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26656687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26656688, 'pht': 3726}}" where mtr_portfolio_id = 26656655 and dashboard_run_id = 2262143 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`=26656655 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925634, 0.07096958065768949, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26656655_08-09-2025_20_58_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26656677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26656678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26656679, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26656680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26656681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26656682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26656683, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26656684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26656685, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26656686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26656687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26656688, '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 = 26657776 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': 3680451, 'mtr_portfolio_id': 26657776, 'created_at': datetime.datetime(2025, 9, 8, 21, 16, 30), 'result': '0.010338167213416316', 'result_long': None, 'result_double': None}] Qualite : 0.010338167213416316 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26657776 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26657776_08-09-2025_21_16_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26657776 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_P26657776_08-09-2025_21_16_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26657781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26657782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26657783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26657784, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26657785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26657786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26657787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26657788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26657789, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26657790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26657791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26657792, 'pht': 3726}}" where mtr_portfolio_id = 26657776 and dashboard_run_id = 2262143 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`=26657776 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925635, 0.010338167213416316, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26657776_08-09-2025_21_16_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26657781, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26657782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26657783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26657784, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26657785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26657786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26657787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26657788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26657789, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26657790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26657791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26657792, '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 = 26658564 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': 3680499, 'mtr_portfolio_id': 26658564, 'created_at': datetime.datetime(2025, 9, 8, 21, 32, 59), 'result': '0.0922964211965547', 'result_long': None, 'result_double': None}] Qualite : 0.0922964211965547 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26658564 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26658564_08-09-2025_21_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26658564 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_P26658564_08-09-2025_21_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26658581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26658582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26658583, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26658584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26658585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26658586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26658587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26658588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26658589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26658590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26658591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26658592, 'pht': 3726}}" where mtr_portfolio_id = 26658564 and dashboard_run_id = 2262143 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`=26658564 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925636, 0.0922964211965547, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26658564_08-09-2025_21_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26658581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26658582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26658583, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26658584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26658585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26658586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26658587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26658588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26658589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26658590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26658591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26658592, '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 = 26658906 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': 3680528, 'mtr_portfolio_id': 26658906, 'created_at': datetime.datetime(2025, 9, 8, 21, 47), 'result': '0.04486575356097367', 'result_long': None, 'result_double': None}] Qualite : 0.04486575356097367 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26658906 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26658906_08-09-2025_21_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26658906 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_P26658906_08-09-2025_21_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26659016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26659017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26659018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26659019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26659020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26659021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26659022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26659023, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26659024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26659025, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26659026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26659027, 'pht': 3726}}" where mtr_portfolio_id = 26658906 and dashboard_run_id = 2262143 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`=26658906 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925637, 0.04486575356097367, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26658906_08-09-2025_21_47_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26659016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26659017, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26659018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26659019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26659020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26659021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26659022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26659023, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26659024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26659025, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26659026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26659027, '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 = 26659576 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': 3680577, 'mtr_portfolio_id': 26659576, 'created_at': datetime.datetime(2025, 9, 8, 22, 3, 28), 'result': '0.043360540741205024', 'result_long': None, 'result_double': None}] Qualite : 0.043360540741205024 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26659576 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26659576_08-09-2025_22_03_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26659576 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_P26659576_08-09-2025_22_03_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26659587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26659588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26659589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26659590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26659591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26659592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26659593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26659594, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26659595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26659596, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26659597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26659598, 'pht': 3726}}" where mtr_portfolio_id = 26659576 and dashboard_run_id = 2262143 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`=26659576 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925638, 0.043360540741205024, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26659576_08-09-2025_22_03_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26659587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26659588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26659589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26659590, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26659591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26659592, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26659593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26659594, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26659595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26659596, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26659597, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26659598, '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 = 26660203 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': 3680676, 'mtr_portfolio_id': 26660203, 'created_at': datetime.datetime(2025, 9, 8, 22, 18, 57), 'result': '0.04139766352351433', 'result_long': None, 'result_double': None}] Qualite : 0.04139766352351433 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26660203 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26660203_08-09-2025_22_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26660203 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_P26660203_08-09-2025_22_18_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26660208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26660209, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26660210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26660211, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26660212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26660213, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26660214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26660215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26660216, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26660217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26660218, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26660219, 'pht': 3726}}" where mtr_portfolio_id = 26660203 and dashboard_run_id = 2262143 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`=26660203 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925639, 0.04139766352351433, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26660203_08-09-2025_22_18_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26660208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26660209, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26660210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26660211, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26660212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26660213, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26660214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26660215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26660216, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26660217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26660218, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26660219, '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 = 26661011 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': 3680747, 'mtr_portfolio_id': 26661011, 'created_at': datetime.datetime(2025, 9, 8, 22, 32, 59), 'result': '0.021882527025565323', 'result_long': None, 'result_double': None}] Qualite : 0.021882527025565323 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26661011 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26661011_08-09-2025_22_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26661011 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_P26661011_08-09-2025_22_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26661024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26661025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26661026, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26661027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26661028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26661029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26661030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26661031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26661032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26661033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26661034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26661035, 'pht': 3726}}" where mtr_portfolio_id = 26661011 and dashboard_run_id = 2262143 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`=26661011 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925640, 0.021882527025565323, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26661011_08-09-2025_22_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26661024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26661025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26661026, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26661027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26661028, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26661029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26661030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26661031, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26661032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26661033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26661034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26661035, '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 = 26661664 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': 3680828, 'mtr_portfolio_id': 26661664, 'created_at': datetime.datetime(2025, 9, 8, 22, 48, 58), 'result': '0.0627065339498005', 'result_long': None, 'result_double': None}] Qualite : 0.0627065339498005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26661664 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26661664_08-09-2025_22_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26661664 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_P26661664_08-09-2025_22_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26661696, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26661697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26661698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26661699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26661700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26661701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26661702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26661703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26661704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26661705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26661706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26661707, 'pht': 3726}}" where mtr_portfolio_id = 26661664 and dashboard_run_id = 2262143 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`=26661664 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925641, 0.0627065339498005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26661664_08-09-2025_22_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26661696, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26661697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26661698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26661699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26661700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26661701, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26661702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26661703, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26661704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26661705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26661706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26661707, '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 = 26662372 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': 3680943, 'mtr_portfolio_id': 26662372, 'created_at': datetime.datetime(2025, 9, 8, 23, 4, 57), 'result': '0.06947688772870117', 'result_long': None, 'result_double': None}] Qualite : 0.06947688772870117 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26662372 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26662372_08-09-2025_23_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26662372 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_P26662372_08-09-2025_23_04_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26662439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26662440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26662441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26662442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26662443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26662444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26662445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26662446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26662447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26662448, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26662449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26662450, 'pht': 3726}}" where mtr_portfolio_id = 26662372 and dashboard_run_id = 2262143 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`=26662372 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925642, 0.06947688772870117, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26662372_08-09-2025_23_04_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26662439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26662440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26662441, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26662442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26662443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26662444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26662445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26662446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26662447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26662448, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26662449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26662450, '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 = 26663126 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': 3681013, 'mtr_portfolio_id': 26663126, 'created_at': datetime.datetime(2025, 9, 8, 23, 21, 29), 'result': '0.06389467978239528', 'result_long': None, 'result_double': None}] Qualite : 0.06389467978239528 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26663126 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26663126_08-09-2025_23_21_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26663126 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_P26663126_08-09-2025_23_21_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26663173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26663174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26663175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26663176, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26663177, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26663178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26663179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26663180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26663181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26663182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26663183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26663184, 'pht': 3726}}" where mtr_portfolio_id = 26663126 and dashboard_run_id = 2262143 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`=26663126 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925643, 0.06389467978239528, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26663126_08-09-2025_23_21_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26663173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26663174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26663175, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26663176, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26663177, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26663178, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26663179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26663180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26663181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26663182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26663183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26663184, '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 = 26663999 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': 3681099, 'mtr_portfolio_id': 26663999, 'created_at': datetime.datetime(2025, 9, 8, 23, 33, 27), 'result': '0.06722691050799993', 'result_long': None, 'result_double': None}] Qualite : 0.06722691050799993 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26663999 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26663999_08-09-2025_23_33_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26663999 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_P26663999_08-09-2025_23_33_27.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26664096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26664097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26664098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26664099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26664100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26664101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26664102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26664103, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26664104, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26664105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26664106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26664107, 'pht': 3726}}" where mtr_portfolio_id = 26663999 and dashboard_run_id = 2262143 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`=26663999 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925644, 0.06722691050799993, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26663999_08-09-2025_23_33_27.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26664096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26664097, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26664098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26664099, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26664100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26664101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26664102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26664103, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26664104, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26664105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26664106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26664107, '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 = 26664550 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': 3681178, 'mtr_portfolio_id': 26664550, 'created_at': datetime.datetime(2025, 9, 8, 23, 49, 27), 'result': '0.06032122757496106', 'result_long': None, 'result_double': None}] Qualite : 0.06032122757496106 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26664550 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26664550_08-09-2025_23_49_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26664550 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_P26664550_08-09-2025_23_49_28.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26664624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26664625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26664626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26664627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26664628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26664629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26664630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26664631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26664632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26664633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26664634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26664635, 'pht': 3726}}" where mtr_portfolio_id = 26664550 and dashboard_run_id = 2262143 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`=26664550 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925645, 0.06032122757496106, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26664550_08-09-2025_23_49_28.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26664624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26664625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26664626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26664627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26664628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26664629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26664630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26664631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26664632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26664633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26664634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26664635, '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 = 26665276 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': 3681243, 'mtr_portfolio_id': 26665276, 'created_at': datetime.datetime(2025, 9, 9, 1, 15, 57), 'result': '0.08630518537386025', 'result_long': None, 'result_double': None}] Qualite : 0.08630518537386025 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26665276 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26665276_09-09-2025_01_15_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26665276 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_P26665276_09-09-2025_01_15_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26665283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26665284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26665285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26665286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26665287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26665288, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26665289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26665290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26665291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26665292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26665293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26665294, 'pht': 3726}}" where mtr_portfolio_id = 26665276 and dashboard_run_id = 2262143 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`=26665276 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14925646, 0.08630518537386025, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26665276_09-09-2025_01_15_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26665283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26665284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26665285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26665286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26665287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26665288, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26665289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26665290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26665291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26665292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26665293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26665294, '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 (26626191,26626437,26628100,26628102,26628116,26629001,26630241,26630243,26631124,26631533,26631982,26632644,26633406,26633894,26634596,26635579,26635971,26636452,26637109,26640229,26640535,26641225,26641784,26642617,26643845,26644176,26644886,26645376,26646340,26647083,26647785,26650285,26650636,26651099,26651751,26652362,26653274,26654061,26654783,26655325,26656129,26656655,26657776,26658564,26658906,26659576,26660203,26661011,26661664,26662372,26663126,26663999,26664550,26665276) result : ((1382464638,), (1382464639,), (1382464661,), (1382464662,), (1382464688,), (1382464689,), (1382464724,), (1382464725,), (1382464726,), (1382464728,), (1382464765,), (1382464766,), (1382464767,), (1382464768,), (1382465313,), (1382465316,), (1382465319,), (1382468244,), (1382467139,), (1382468243,), (1382468287,), (1382468339,), (1382468340,), (1382468431,), (1382468513,), (1382468514,), (1382468566,), (1382468567,), (1382468568,), (1382468569,), (1382468772,), (1382468775,), (1382468778,), (1382468969,), (1382468970,), (1382469027,), (1382469028,), (1382469029,), (1382469030,), (1382469072,), (1382469141,), (1382469142,), (1382469227,), (1382469228,), (1382469229,), (1382469230,), (1382469231,), (1382469232,), (1382469280,), (1382469282,), (1382469283,), (1382469284,), (1382469285,), (1382469286,), (1382469341,), (1382469352,), (1382469353,), (1382469354,), (1382469355,), (1382469417,), (1382469419,), (1382469421,), (1382469422,), (1382469457,), (1382469459,), (1382469462,), (1382469464,), (1382469515,), (1382469516,), (1382469517,), (1382469543,), (1382469544,), (1382469545,), (1382469546,), (1382469547,), (1382469548,), (1382469553,), (1382469596,), (1382469597,), (1382469598,), (1382469599,), (1382469600,), (1382469677,), (1382469678,), (1382469679,), (1382469680,), (1382469681,), (1382469828,), (1382469829,), (1382469830,), (1382469831,), (1382469832,), (1382469926,), (1382469928,), (1382469931,), (1382469933,), (1382470071,), (1382470072,), (1382470073,), (1382470074,), (1382470075,), (1382470132,), (1382470127,), (1382470128,), (1382470129,), (1382470130,), (1382470131,), (1382470217,), (1382470218,), (1382470219,), (1382470296,), (1382470298,), (1382470300,), (1382470364,), (1382470365,), (1382470366,), (1382470367,), (1382470368,), (1382470369,), (1382470407,), (1382470408,), (1382470409,), (1382470410,), (1382470412,), (1382470413,), (1382470420,), (1382470421,), (1382470423,), (1382470425,), (1382470476,), (1382470477,), (1382470478,), (1382470479,), (1382470549,), (1382470550,), (1382470551,), (1382470552,), (1382470553,), (1382470620,), (1382470621,), (1382470622,), (1382470623,), (1382470624,), (1382470704,), (1382470734,), (1382470735,), (1382470736,), (1382470737,), (1382470738,), (1382470928,), (1382470930,), (1382470932,), (1382470934,), (1382470936,), (1382470938,), (1382471052,), (1382471053,), (1382471054,), (1382471055,), (1382471056,), (1382471120,), (1382471121,), (1382471122,), (1382471123,), (1382471195,), (1382471196,), (1382471197,), (1382471198,), (1382471199,), (1382471200,), (1382471389,), (1382471390,), (1382471391,), (1382471437,), (1382471438,), (1382471439,), (1382471440,), (1382471441,), (1382471442,), (1382471448,), (1382471449,), (1382471450,), (1382471512,), (1382471508,), (1382471509,), (1382471510,), (1382471511,), (1382471563,), (1382471564,), (1382471565,), (1382471611,), (1382471625,), (1382471627,), (1382471628,), (1382471629,), (1382471630,), (1382471681,), (1382471682,), (1382471683,), (1382471684,), (1382471685,), (1382471760,), (1382471762,), (1382471763,), (1382471825,), (1382471826,), (1382471827,), (1382471828,), (1382471829,), (1382471904,), (1382471905,), (1382471906,), (1382471907,), (1382471908,), (1382472041,), (1382472042,), (1382472043,), (1382472176,), (1382472177,), (1382472178,), (1382472179,), (1382472180,), (1382472181,), (1382472255,), (1382472256,), (1382472257,), (1382472259,), (1382472260,), (1382472261,), (1382472266,), (1382472267,), (1382472268,), (1382472269,), (1382472270,), (1382472310,), (1382472311,), (1382472312,), (1382472313,), (1382472314,), (1382472315,), (1382472356,), (1382472357,), (1382472358,), (1382472359,), (1382472439,), (1382472440,), (1382472441,), (1382472442,), (1382472859,), (1382472862,), (1382472865,), (1382472868,), (1382473504,), (1382473501,), (1382474202,), (1382474205,), (1382474208,), (1382474211,), (1382474214,), (1382474996,), (1382475000,), (1382475004,), (1382475008,), (1382475012,), (1382475799,), (1382475800,), (1382475801,), (1382475802,), (1382476328,), (1382476330,), (1382476333,), (1382476335,), (1382476337,), (1382476339,), (1382476387,), (1382476388,), (1382476390,), (1382476578,), (1382476579,), (1382476580,), (1382476581,), (1382476582,), (1382476626,), (1382476628,), (1382476630,), (1382476723,), (1382476724,), (1382476725,), (1382476726,), (1382476727,), (1382479354,), (1382479350,), (1382479351,), (1382479352,), (1382479353,), (1382479409,), (1382479411,), (1382479413,), (1382479415,), (1382479417,), (1382479419,), (1382479690,), (1382479692,), (1382480079,), (1382480080,), (1382480081,), (1382480082,), (1382480242,), (1382480243,), (1382480244,), (1382480245,), (1382480246,), (1382480384,), (1382480385,), (1382480386,), (1382480387,), (1382480388,), (1382480415,), (1382480416,), (1382480417,), (1382480504,), (1382480505,), (1382480506,), (1382480699,), (1382480700,), (1382480701,), (1382480702,), (1382480703,), (1382480704,), (1382480708,), (1382480709,), (1382480796,), (1382480792,), (1382480793,), (1382480794,), (1382480795,), (1382480900,), (1382480901,), (1382480902,), (1382480903,), (1382480904,), (1382480987,), (1382480988,), (1382480989,), (1382480990,), (1382480991,), (1382481180,), (1382481181,), (1382481182,), (1382481183,), (1382481184,), (1382481225,), (1382481226,), (1382481227,), (1382481228,), (1382481229,), (1382481298,), (1382481299,), (1382481300,), (1382481301,), (1382481302,), (1382481303,), (1382481444,), (1382481445,), (1382481446,), (1382481516,), (1382481517,), (1382481518,), (1382481519,), (1382481520,), (1382481521,), (1382481555,), (1382481556,), (1382481557,), (1382481558,), (1382481559,), (1382481590,), (1382481591,), (1382481592,), (1382481639,), (1382481839,), (1382488671,), (1382488669,), (1382489017,), (1382489284,), (1382489285,), (1382489286,), (1382489396,), (1382489556,), (1382489602,), (1382489603,), (1382489690,), (1382489694,), (1382489699,), (1382489908,), (1382489978,), (1382490017,), (1382490018,), (1382490019,), (1382490047,), (1382490048,), (1382490049,), (1382490050,), (1382490129,), (1382490128,), (1382490162,), (1382490163,), (1382490784,), (1382490837,), (1382490839,), (1382491179,), (1382491181,), (1382491182,), (1382491183,), (1382491229,), (1382491230,), (1382491262,), (1382491263,), (1382491264,), (1382491265,), (1382491306,), (1382491307,), (1382491308,), (1382491309,), (1382491391,), (1382491392,), (1382491393,), (1382491394,), (1382491395,), (1382491396,), (1382491473,), (1382491474,), (1382491475,), (1382491476,), (1382491477,), (1382492603,), (1382492607,), (1382492611,), (1382492616,), (1382492622,), (1382492751,), (1382492755,), (1382492758,), (1382492761,), (1382493205,), (1382493200,), (1382493202,), (1382493707,), (1382493711,), (1382493715,), (1382493719,), (1382493723,), (1382493727,), (1382494038,), (1382494039,), (1382494040,), (1382494041,), (1382494042,), (1382494208,), (1382494210,), (1382494212,), (1382494214,), (1382494364,), (1382494365,), (1382494366,), (1382494367,), (1382494368,), (1382494369,), (1382494379,), (1382494381,), (1382494383,), (1382494415,), (1382494416,), (1382494418,), (1382494420,), (1382494422,), (1382494424,), (1382494480,), (1382494481,), (1382494482,), (1382494483,), (1382494484,), (1382494553,), (1382494555,), (1382494556,), (1382494615,), (1382494616,), (1382494617,), (1382494618,), (1382494619,), (1382494620,), (1382494817,), (1382494818,), (1382494819,), (1382494820,), (1382494821,), (1382494886,), (1382494887,), (1382494888,), (1382494889,), (1382494890,), (1382494891,), (1382495152,), (1382495154,), (1382495156,), (1382495158,), (1382495608,), (1382495610,), (1382495612,), (1382495614,), (1382495616,), (1382495618,), (1382495753,), (1382495754,), (1382495755,), (1382495777,), (1382495778,), (1382495779,), (1382495780,), (1382495781,), (1382495783,), (1382495790,), (1382495792,), (1382495793,), (1382495846,), (1382495836,), (1382495838,), (1382495840,), (1382495842,), (1382495844,), (1382495919,), (1382495920,), (1382495921,), (1382495922,), (1382496189,), (1382496191,), (1382496193,), (1382496195,), (1382496339,), (1382496340,), (1382496341,), (1382496342,), (1382496343,), (1382496400,), (1382496401,), (1382496402,), (1382496403,), (1382496771,), (1382496773,), (1382496775,), (1382496778,), (1382496780,), (1382496901,), (1382496903,), (1382496905,), (1382496907,), (1382497070,), (1382497071,), (1382497072,), (1382497073,), (1382497074,), (1382497075,), (1382497123,), (1382497134,), (1382497135,), (1382497136,), (1382497301,), (1382497302,), (1382497303,), (1382497304,), (1382497305,), (1382497306,), (1382497511,), (1382497513,), (1382497515,), (1382497517,), (1382497519,), (1382497625,), (1382497626,), (1382497627,), (1382497628,), (1382497712,), (1382497713,), (1382497714,), (1382497715,), (1382497716,), (1382497781,), (1382497782,), (1382497783,), (1382497784,), (1382497785,), (1382497994,), (1382497995,), (1382497996,), (1382498088,), (1382498083,), (1382498084,), (1382498085,), (1382498086,), (1382498087,), (1382498299,), (1382498301,), (1382498303,), (1382498306,), (1382498309,), (1382498781,), (1382498783,), (1382498785,), (1382498787,), (1382499017,), (1382499019,), (1382499021,), (1382499023,), (1382499025,), (1382499358,), (1382499359,), (1382499360,), (1382499361,), (1382499362,), (1382499363,), (1382499421,), (1382499424,), (1382499427,), (1382499430,), (1382499432,), (1382499664,), (1382499666,), (1382499668,), (1382499670,), (1382499971,), (1382499972,), (1382499973,), (1382499974,), (1382499975,), (1382500361,), (1382500362,), (1382500468,), (1382500471,), (1382500681,), (1382500682,), (1382500773,), (1382500774,), (1382500775,), (1382500776,), (1382500826,), (1382500822,), (1382500823,), (1382500824,), (1382500825,), (1382501346,), (1382501495,), (1382501496,), (1382501497,), (1382501574,), (1382501575,), (1382501576,), (1382501577,), (1382501927,), (1382501929,), (1382501931,), (1382501933,), (1382501934,), (1382502213,), (1382502215,), (1382502217,), (1382502219,), (1382502221,), (1382502398,), (1382502400,), (1382502402,), (1382502404,), (1382502406,), (1382502820,), (1382502822,), (1382502824,), (1382503020,), (1382503021,), (1382503022,), (1382503023,), (1382503026,), (1382503130,), (1382503132,), (1382503134,), (1382503136,), (1382503137,), (1382503138,), (1382503422,), (1382503423,), (1382503424,), (1382503425,), (1382503550,), (1382503551,), (1382503552,), (1382504446,), (1382504450,), (1382504453,), (1382504456,), (1382504459,), (1382504462,), (1382504577,), (1382504580,), (1382504583,), (1382504587,), (1382504590,), (1382505300,), (1382505295,), (1382505297,), (1382506243,), (1382506247,), (1382506251,), (1382506255,), (1382506259,), (1382507043,), (1382507045,), (1382507047,), (1382507049,), (1382507051,), (1382507487,), (1382507489,), (1382507491,), (1382507493,), (1382507495,), (1382507712,), (1382507714,), (1382507716,), (1382507718,), (1382507720,), (1382507722,), (1382507781,), (1382507783,), (1382507785,), (1382507787,), (1382508014,), (1382508015,), (1382508016,), (1382508285,), (1382508286,), (1382508287,), (1382508288,), (1382508289,), (1382508290,), (1382508485,), (1382508487,), (1382508489,), (1382508491,), (1382508493,), (1382508496,), (1382508567,), (1382508568,), (1382508569,), (1382508605,), (1382508606,), (1382508607,), (1382508608,), (1382508609,), (1382508610,), (1382508659,), (1382508660,), (1382508661,), (1382508662,), (1382508798,), (1382508800,), (1382508802,), (1382508968,), (1382508969,), (1382508970,), (1382509328,), (1382509329,), (1382509330,), (1382509457,), (1382509459,), (1382509461,), (1382509464,), (1382509466,), (1382509592,), (1382509837,), (1382509839,), (1382509841,), (1382510098,), (1382510326,), (1382510328,), (1382510401,), (1382510402,), (1382510403,), (1382510404,), (1382510405,), (1382510778,), (1382510781,), (1382510784,), (1382511136,), (1382511137,), (1382511138,), (1382511140,), (1382511252,), (1382511253,), (1382511254,), (1382511255,), (1382511256,), (1382511413,), (1382511415,), (1382511417,), (1382511419,), (1382511421,), (1382511423,), (1382511433,), (1382511434,), (1382511435,), (1382511437,), (1382511439,), (1382511551,), (1382511552,), (1382511553,), (1382511729,), (1382511731,), (1382511734,), (1382511736,), (1382511738,), (1382511740,), (1382512041,), (1382512060,), (1382512061,), (1382512062,), (1382512064,), (1382512200,), (1382512201,), (1382512202,), (1382512203,), (1382512204,), (1382512205,), (1382512318,), (1382512319,), (1382512320,), (1382512321,), (1382512322,), (1382512323,), (1382512440,), (1382512436,), (1382512437,), (1382512438,), (1382512439,), (1382512532,), (1382512533,), (1382512534,), (1382512535,), (1382512536,), (1382512565,), (1382512566,), (1382512567,), (1382512568,), (1382512569,), (1382512715,), (1382512716,), (1382512717,), (1382513027,), (1382513029,), (1382513031,), (1382513033,), (1382513035,), (1382513037,), (1382513087,), (1382513089,), (1382513251,), (1382513252,), (1382513253,), (1382513254,), (1382513255,), (1382513256,), (1382513622,), (1382513625,), (1382513627,), (1382513629,), (1382513631,), (1382513633,), (1382513685,), (1382513686,), (1382513688,), (1382513689,), (1382513690,), (1382513691,), (1382513714,), (1382513718,), (1382513722,), (1382513726,), (1382513730,), (1382513888,), (1382513892,), (1382513896,), (1382513900,), (1382513905,), (1382513908,), (1382513995,), (1382513996,), (1382513997,), (1382513998,), (1382514388,), (1382514390,), (1382514392,), (1382514394,), (1382514396,), (1382514499,), (1382514500,), (1382514501,), (1382514502,), (1382514503,), (1382514589,), (1382514590,), (1382514591,), (1382514592,), (1382514593,), (1382514684,), (1382514685,), (1382514686,), (1382514687,), (1382514719,), (1382514720,), (1382514721,), (1382514722,), (1382514723,), (1382514724,), (1382514730,), (1382514733,), (1382514735,), (1382514736,), (1382514758,), (1382514751,), (1382514755,), (1382514756,), (1382514757,), (1382514793,), (1382514795,), (1382514797,), (1382514799,), (1382514801,), (1382514803,), (1382514948,), (1382514949,), (1382514950,), (1382514951,), (1382514952,), (1382515071,), (1382515072,), (1382515073,), (1382515074,), (1382515163,), (1382515164,), (1382515165,), (1382515166,), (1382515167,), (1382515168,), (1382515216,), (1382515217,), (1382515218,), (1382515219,), (1382515220,), (1382515261,), (1382515262,), (1382515263,), (1382515264,), (1382515298,), (1382515299,), (1382515300,), (1382515301,), (1382515302,), (1382515303,), (1382515349,), (1382515350,), (1382515351,), (1382515352,), (1382515353,), (1382515354,), (1382515711,), (1382515712,), (1382515713,), (1382515714,), (1382515716,), (1382515717,), (1382515723,), (1382515724,), (1382515729,), (1382515844,), (1382515845,), (1382515846,), (1382515847,), (1382515848,), (1382515849,), (1382515978,), (1382515979,), (1382515980,), (1382515981,), (1382515982,), (1382515983,), (1382516114,), (1382516115,), (1382516116,), (1382516117,), (1382516760,), (1382516762,), (1382516764,), (1382516765,), (1382516766,), (1382516767,), (1382516780,), (1382516782,), (1382516784,), (1382516785,), (1382517382,), (1382517363,), (1382517367,), (1382517371,), (1382517375,), (1382517378,), (1382518230,), (1382518233,), (1382518236,), (1382518239,), (1382518243,), (1382518995,), (1382518997,), (1382518999,), (1382519001,), (1382519003,), (1382519005,), (1382519294,), (1382519295,), (1382519296,), (1382519297,), (1382519298,), (1382519299,), (1382519663,), (1382519666,), (1382519669,), (1382519672,), (1382519675,), (1382519678,), (1382519708,), (1382519709,), (1382519710,), (1382519711,), (1382519854,), (1382519855,), (1382519856,), (1382519857,), (1382519858,), (1382519901,), (1382519902,), (1382519903,), (1382519905,), (1382519906,), (1382519942,), (1382519943,), (1382535475,), (1382536121,), (1382536126,), (1382536128,), (1382536132,), (1382536160,), (1382536162,), (1382536164,), (1382536167,), (1382536172,), (1382536198,), (1382536202,), (1382536205,), (1382536208,), (1382536212,), (1382536217,), (1382536245,), (1382536247,), (1382536249,), (1382536254,), (1382536259,), (1382536360,), (1382536367,), (1382536372,), (1382536377,), (1382536399,), (1382536406,), (1382536410,), (1382536415,), (1382536424,), (1382536426,), (1382536434,), (1382537526,), (1382537629,), (1382539011,), (1382538904,), (1382538957,), (1382539229,), (1382539232,), (1382539235,), (1382539241,), (1382539251,), (1382539320,), (1382539323,), (1382539324,), (1382539327,), (1382539356,), (1382539358,), (1382539361,), (1382539366,), (1382539370,), (1382539376,), (1382539396,), (1382539399,), (1382539402,), (1382539407,), (1382539413,), (1382539419,), (1382539451,), (1382539455,), (1382539458,), (1382539463,), (1382539467,), (1382539472,), (1382539508,), (1382539518,), (1382539525,), (1382539535,), (1382539551,), (1382539581,), (1382540360,), (1382540362,), (1382540398,), (1382540400,), (1382540405,), (1382540410,), (1382540414,), (1382540424,), (1382540431,), (1382540510,), (1382540497,), (1382540502,), (1382540506,), (1382540552,), (1382540565,), (1382540594,), (1382540606,), (1382540612,), (1382540674,), (1382540704,), (1382540734,), (1382540764,), (1382540786,), (1382540790,), (1382540854,), (1382540857,), (1382540862,), (1382540870,), (1382540889,), (1382540928,), (1382541006,), (1382541034,), (1382541050,), (1382541061,), (1382541143,), (1382541146,), (1382541149,), (1382541152,), (1382541155,), (1382541195,), (1382541197,), (1382541198,), (1382541202,), (1382541206,), (1382541209,), (1382541229,), (1382541232,), (1382541239,), (1382541245,), (1382541277,), (1382541280,), (1382541282,), (1382541288,), (1382541293,), (1382541297,), (1382541315,), (1382541316,), (1382541320,), (1382541323,), (1382541326,), (1382541333,), (1382541343,), (1382541360,), (1382541374,), (1382541379,), (1382541400,), (1382541409,), (1382541434,), (1382541436,), (1382541440,), (1382541443,), (1382541487,), (1382541518,), (1382541558,), (1382541595,), (1382541629,), (1382541646,), (1382541741,), (1382541750,), (1382541752,), (1382541757,), (1382541770,), (1382542043,), (1382542046,), (1382542047,), (1382542051,), (1382542053,), (1382542057,), (1382542127,), (1382542146,), (1382542154,), (1382542162,), (1382542174,), (1382542385,), (1382542350,), (1382542355,), (1382542373,), (1382542376,), (1382542381,), (1382542415,), (1382542421,), (1382542424,), (1382542426,), (1382542436,), (1382542456,), (1382542618,), (1382542641,), (1382542659,), (1382542666,), (1382542672,), (1382542705,), (1382542710,), (1382542713,), (1382542718,), (1382542723,), (1382542822,), (1382542851,), (1382542873,), (1382542888,), (1382542904,), (1382542930,), (1382542943,), (1382542954,), (1382542961,), (1382542963,), (1382542988,), (1382542989,), (1382543027,), (1382543031,), (1382543063,), (1382543065,), (1382543097,), (1382543099,), (1382543128,), (1382543131,), (1382543158,), (1382543167,), (1382543308,), (1382543338,), (1382543371,), (1382543402,), (1382543434,), (1382543687,), (1382543744,), (1382543804,), (1382543844,), (1382543893,), (1382543946,), (1382544297,), (1382544328,), (1382544342,), (1382544347,), (1382544382,), (1382544385,), (1382544390,), (1382544410,), (1382544418,), (1382544439,), (1382544684,), (1382544742,), (1382544801,), (1382544867,), (1382544915,), (1382545099,), (1382545138,), (1382545180,), (1382545236,), (1382545266,), (1382545289,), (1382545290,), (1382545291,), (1382545293,), (1382545297,), (1382545321,), (1382545569,), (1382545599,), (1382545651,), (1382545691,), (1382545736,), (1382545918,), (1382545920,), (1382545922,), (1382545928,), (1382545932,), (1382545940,), (1382545961,), (1382545967,), (1382545973,), (1382545976,), (1382546005,), (1382545989,), (1382545992,), (1382545996,), (1382545999,), (1382546003,), (1382546027,), (1382546036,), (1382546037,), (1382546040,), (1382546081,), (1382546084,), (1382546085,), (1382546089,), (1382546113,), (1382546118,), (1382546124,), (1382546130,), (1382546133,), (1382546136,), (1382546163,), (1382546174,), (1382546179,), (1382546185,), (1382546225,), (1382546227,), (1382546231,), (1382546236,), (1382546241,), (1382546245,), (1382546279,), (1382546284,), (1382546287,), (1382546290,), (1382546297,), (1382546351,), (1382546354,), (1382546360,), (1382546366,), (1382546374,), (1382546383,), (1382546409,), (1382546413,), (1382546416,), (1382546419,), (1382546445,), (1382546448,), (1382546453,), (1382546458,), (1382546464,), (1382546469,), (1382546479,), (1382546482,), (1382546506,), (1382546509,), (1382546520,), (1382546531,), (1382546535,), (1382546542,), (1382546555,), (1382546559,), (1382546565,), (1382546571,), (1382546606,), (1382546609,), (1382546612,), (1382546616,), (1382546620,), (1382546626,), (1382547252,), (1382553893,), (1382554412,), (1382554441,), (1382554456,), (1382554718,), (1382554808,), (1382554836,), (1382555025,), (1382555033,), (1382555048,), (1382555278,), (1382555280,), (1382555284,), (1382555302,), (1382555307,), (1382555312,), (1382555381,), (1382555410,), (1382555442,), (1382555471,), (1382555711,), (1382555716,), (1382555720,), (1382555726,), (1382555760,), (1382555762,), (1382555763,), (1382555766,), (1382555771,), (1382555774,), (1382555780,), (1382555781,), (1382555782,), (1382555784,), (1382555790,), (1382555810,), (1382555814,), (1382555819,), (1382555823,), (1382555827,), (1382555838,), (1382555846,), (1382555851,), (1382555860,), (1382555863,), (1382555869,), (1382555875,), (1382555880,), (1382555883,), (1382555887,), (1382555891,), (1382555967,), (1382555999,), (1382556030,), (1382556061,), (1382556085,), (1382556088,), (1382556139,), (1382556143,), (1382556146,), (1382556157,), (1382556183,), (1382556294,), (1382556297,), (1382556299,), (1382556302,), (1382556307,), (1382556311,), (1382556326,), (1382556328,), (1382556330,), (1382556333,), (1382556368,), (1382556370,), (1382556371,), (1382556375,), (1382556383,), (1382556388,), (1382556426,), (1382556406,), (1382556411,), (1382556415,), (1382556420,), (1382556443,), (1382556446,), (1382556449,), (1382556451,), (1382556465,), (1382556466,), (1382556467,), (1382556469,), (1382556475,), (1382556481,), (1382556511,), (1382556520,), (1382556552,), (1382556648,), (1382557027,), (1382557086,), (1382557143,), (1382557180,), (1382557220,), (1382557255,), (1382557332,), (1382557337,), (1382557344,), (1382557355,), (1382557453,), (1382557485,), (1382557516,), (1382557548,), (1382557583,), (1382557605,), (1382557654,), (1382557682,), (1382557683,), (1382557689,), (1382557705,), (1382557879,), (1382557914,), (1382557952,), (1382557995,), (1382558028,), (1382558059,), (1382558192,), (1382558205,), (1382558206,), (1382558227,), (1382558262,), (1382558350,), (1382558379,), (1382558412,), (1382558443,), (1382558475,), (1382558728,), (1382558762,), (1382558792,), (1382558826,), (1382558856,), (1382558887,), (1382559113,), (1382559148,), (1382559186,), (1382559219,), (1382559489,), (1382559519,), (1382559547,), (1382559615,), (1382559671,), (1382559676,), (1382559725,), (1382559740,), (1382559742,), (1382559767,), (1382559798,), (1382560099,), (1382560119,), (1382560126,), (1382560131,), (1382560140,), (1382560147,), (1382560176,), (1382560210,), (1382560239,), (1382560268,), (1382560352,), (1382560339,), (1382560343,), (1382560348,), (1382560355,), (1382560356,), (1382560357,), (1382560364,), (1382560370,), (1382560655,), (1382560733,), (1382560764,), (1382560797,), (1382560830,), (1382560885,), (1382560887,), (1382560894,), (1382560900,), (1382560904,), (1382560932,), (1382560936,), (1382560939,), (1382560943,), (1382560947,), (1382560950,), (1382560977,), (1382560978,), (1382560979,), (1382560981,), (1382560986,), (1382561012,), (1382561015,), (1382561018,), (1382561020,), (1382561024,), (1382561278,), (1382561307,), (1382561333,), (1382561337,), (1382561344,), (1382561351,), (1382561375,), (1382561378,), (1382561380,), (1382561385,), (1382561390,), (1382561401,), (1382561402,), (1382561406,), (1382561409,), (1382561412,), (1382561416,), (1382561662,), (1382561680,), (1382561681,), (1382561684,), (1382561723,), (1382561733,), (1382561737,), (1382561741,), (1382561745,), (1382561749,), (1382561757,), (1382561758,), (1382561759,), (1382561762,), (1382561765,), (1382561891,), (1382561921,), (1382561949,), (1382561979,), (1382562014,), (1382562752,), (1382562796,), (1382562843,), (1382562892,), (1382562974,), (1382563037,), (1382563582,), (1382563697,), (1382563728,), (1382563757,), (1382563785,), (1382564575,), (1382564658,), (1382565166,), (1382565226,), (1382565625,), (1382565627,), (1382563260,), (1382563291,), (1382563353,), (1382563481,), (1382563551,), (1382564231,), (1382564292,), (1382564385,), (1382564473,), (1382565074,), (1382565111,), (1382565136,), (1382565141,), (1382565349,), (1382565419,), (1382565460,), (1382565477,), (1382565490,), (1382565506,), (1382565561,), (1382565573,), (1382565576,), (1382565579,), (1382565582,), (1382565584,), (1382565588,), (1382565592,), (1382565596,), (1382565601,), (1382565606,), (1382565610,), (1382565616,), (1382565618,), (1382565622,), (1382565639,), (1382565640,), (1382565644,), (1382565645,), (1382565648,), (1382565649,), (1382565651,), (1382565652,), (1382565654,), (1382565655,), (1382565660,), (1382565662,), (1382565664,), (1382565667,), (1382565856,), (1382565861,), (1382565862,), (1382566388,), (1382566422,), (1382566550,), (1382566552,), (1382566553,), (1382566556,), (1382566560,), (1382566565,), (1382566602,), (1382566606,), (1382566627,), (1382566656,), (1382566849,), (1382566888,), (1382566963,), (1382567123,), (1382567213,), (1382567231,), (1382567249,), (1382567265,), (1382567280,), (1382567286,), (1382567399,), (1382567308,), (1382567341,), (1382567369,), (1382567384,), (1382567413,), (1382567415,), (1382567431,), (1382567447,), (1382567463,), (1382567473,), (1382567524,), (1382567529,), (1382567537,), (1382567544,), (1382567559,), (1382567573,), (1382567574,), (1382567581,), (1382567584,), (1382567588,), (1382567600,), (1382567638,), (1382567641,), (1382567649,), (1382567651,), (1382567656,), (1382567927,), (1382567955,), (1382567983,), (1382568014,), (1382568040,), (1382568089,), (1382568103,), (1382568113,), (1382568147,), (1382568184,), (1382568436,), (1382568469,), (1382568501,), (1382568535,), (1382568569,), (1382568873,), (1382568909,), (1382568949,), (1382568993,), (1382569026,), (1382569355,), (1382569418,), (1382569477,), (1382569508,), (1382569530,), (1382569581,), (1382569701,), (1382569735,), (1382569765,), (1382569795,), (1382569935,), (1382570000,), (1382570059,), (1382570118,), (1382570174,), (1382570231,), (1382570422,), (1382570480,), (1382570524,), (1382570568,), (1382570605,), (1382571013,), (1382571074,), (1382571115,), (1382571805,), (1382572197,), (1382572166,), (1382572361,), (1382572407,), (1382572510,), (1382572598,), (1382572682,), (1382572731,), (1382572879,), (1382572907,), (1382573135,), (1382573166,), (1382573369,), (1382573371,), (1382573372,), (1382573460,), (1382573461,), (1382573463,), (1382573467,), (1382573722,), (1382573753,), (1382573789,), (1382573821,), (1382573853,), (1382574028,), (1382574089,), (1382574151,), (1382574188,), (1382574407,), (1382574413,), (1382574416,), (1382574419,), (1382574423,), (1382574454,), (1382574601,), (1382574605,), (1382574610,), (1382574612,), (1382574618,), (1382574624,), (1382574636,), (1382574637,), (1382574640,), (1382574646,), (1382574653,), (1382574659,), (1382574723,), (1382574724,), (1382574728,), (1382574731,), (1382574748,), (1382574784,), (1382574823,), (1382574827,), (1382574832,), (1382574837,), (1382574851,), (1382574861,), (1382574873,), (1382574876,), (1382574886,), (1382574890,), (1382574900,), (1382574903,), (1382574907,), (1382574939,), (1382574971,), (1382575003,), (1382575142,), (1382575185,), (1382575248,), (1382575279,), (1382575310,), (1382575347,), (1382575455,), (1382575484,), (1382575524,), (1382575810,), (1382575636,), (1382575666,), (1382575706,), (1382575739,), (1382575777,), (1382575930,), (1382575959,), (1382575991,), (1382576029,), (1382576062,), (1382576313,), (1382576316,), (1382576317,), (1382576322,), (1382576345,), (1382576436,), (1382576672,), (1382576718,), (1382576780,), (1382576845,), (1382577124,), (1382577153,), (1382577182,), (1382577210,), (1382577236,), (1382577241,), (1382577417,), (1382577419,), (1382577437,), (1382577467,), (1382577780,), (1382577839,), (1382577901,), (1382577971,), (1382578010,), (1382578030,), (1382578044,), (1382578046,), (1382578047,), (1382578051,), (1382578086,), (1382578089,), (1382578092,), (1382578100,), (1382578107,), (1382578113,), (1382578131,), (1382578132,), (1382578135,), (1382578140,), (1382578144,), (1382578148,), (1382578157,), (1382578158,), (1382578160,), (1382578164,), (1382578167,), (1382578201,), (1382578236,), (1382578269,), (1382578303,), (1382578333,), (1382578442,), (1382578451,), (1382578455,), (1382578459,), (1382578464,), (1382578467,), (1382578470,), (1382578475,), (1382578477,), (1382597653,), (1382597635,), (1382598002,), (1382598008,), (1382598010,), (1382598013,), (1382598016,), (1382598019,), (1382598174,), (1382598194,), (1382598227,), (1382598243,), (1382598249,), (1382598254,), (1382598282,), (1382598312,), (1382598343,), (1382598377,), (1382598407,), (1382598431,), (1382598439,), (1382598450,), (1382598465,), (1382598468,), (1382598491,), (1382598493,), (1382598499,), (1382598505,), (1382598512,), (1382598520,), (1382598543,), (1382598546,), (1382598547,), (1382598550,), (1382598579,), (1382598581,), (1382598582,), (1382598586,), (1382598592,), (1382598596,), (1382598683,), (1382598717,), (1382598751,), (1382598784,), (1382598818,), (1382599128,), (1382599157,), (1382599256,), (1382599319,), (1382599377,), (1382599541,), (1382599572,), (1382599602,), (1382599633,), (1382599685,), (1382599901,), (1382599904,), (1382599905,), (1382599909,), (1382599911,), (1382599917,), (1382599952,), (1382599955,), (1382599976,), (1382600010,), (1382600337,), (1382600368,), (1382600375,), (1382600391,), (1382600413,), (1382600420,), (1382600436,), (1382600438,), (1382600452,), (1382600490,), (1382600628,), (1382600605,), (1382600618,), (1382600623,), (1382600645,), (1382600647,), (1382600650,), (1382600655,), (1382600664,), (1382600670,), (1382600880,), (1382600914,), (1382600946,), (1382600979,), (1382601009,), (1382601096,), (1382601099,), (1382601102,), (1382601105,), (1382601111,), (1382601116,), (1382601142,), (1382601155,), (1382601159,), (1382601163,), (1382601167,), (1382601170,), (1382601196,), (1382601200,), (1382601204,), (1382601207,), (1382601211,), (1382601241,), (1382601245,), (1382601247,), (1382601249,), (1382601253,), (1382601256,), (1382601265,), (1382601267,), (1382601269,), (1382601274,), (1382601300,), (1382601304,), (1382601307,), (1382601310,), (1382601315,), (1382601319,), (1382601330,), (1382601336,), (1382601341,), (1382601347,), (1382601351,), (1382601355,), (1382601361,), (1382601365,), (1382601375,), (1382601382,), (1382601383,), (1382601394,), (1382601398,), (1382601404,), (1382601408,), (1382601413,), (1382601428,), (1382601445,), (1382601452,), (1382601456,), (1382601461,), (1382601465,), (1382601510,), (1382601514,), (1382601519,), (1382601522,), (1382601526,), (1382601548,), (1382601553,), (1382601555,), (1382601594,), (1382601597,), (1382601599,), (1382601646,), (1382601774,), (1382601631,), (1382601633,), (1382601636,), (1382601638,), (1382601642,), (1382601678,), (1382601680,), (1382601685,), (1382601695,), (1382601705,), (1382601708,), (1382601759,), (1382601766,), (1382601769,), (1382601771,), (1382601809,), (1382601819,), (1382601822,), (1382601825,), (1382601827,), (1382601832,), (1382601841,), (1382601844,), (1382601850,), (1382601854,), (1382601858,), (1382601875,), (1382601880,), (1382601888,), (1382601896,), (1382601901,), (1382601902,), (1382601906,), (1382601909,), (1382601911,), (1382601914,), (1382601919,), (1382601925,), (1382601934,), (1382601942,), (1382601945,), (1382601948,), (1382601952,), (1382601955,), (1382602020,), (1382602022,), (1382602023,), (1382602025,), (1382602033,), (1382602054,), (1382602058,), (1382602062,), (1382602067,), (1382602074,), (1382602081,), (1382602096,), (1382602098,), (1382602099,), (1382602109,), (1382602140,), (1382602145,), (1382602155,), (1382602161,), (1382602166,), (1382602204,), (1382602207,), (1382602228,), (1382602320,), (1382602324,), (1382602329,), (1382602334,), (1382602339,), (1382602360,), (1382602383,), (1382602386,), (1382602389,), (1382602392,), (1382602397,), (1382602616,), (1382602650,), (1382602660,), (1382602663,), (1382602693,), (1382602705,), (1382602840,), (1382602871,), (1382602904,), (1382602908,), (1382602991,), (1382602928,), (1382602955,), (1382602969,), (1382602973,), (1382603021,), (1382603023,), (1382603036,), (1382603069,), (1382603122,), (1382603153,), (1382603223,), (1382603244,), (1382603262,), (1382603281,), (1382603323,), (1382603465,), (1382603466,), (1382603469,), (1382603473,), (1382603477,), (1382603514,), (1382603526,), (1382603540,), (1382603544,), (1382603548,), (1382603553,), (1382603571,), (1382603574,), (1382603587,), (1382603621,), (1382603655,), (1382603750,), (1382603753,), (1382603755,), (1382603759,), (1382603776,), (1382603791,), (1382604020,), (1382604058,), (1382604108,), (1382604118,), (1382604139,), (1382604140,), (1382604144,), (1382604147,), (1382604151,), (1382604156,), (1382604177,), (1382604179,), (1382604182,), (1382604186,), (1382604190,), (1382604196,), (1382604210,), (1382604213,), (1382604217,), (1382604220,), (1382604227,), (1382604231,), (1382604236,), (1382604241,), (1382604245,), (1382604248,), (1382604251,), (1382604255,), (1382604259,), (1382604262,), (1382604303,), (1382604305,), (1382604307,), (1382604310,), (1382604313,), (1382604316,), (1382604352,), (1382604359,), (1382604365,), (1382604372,), (1382604375,), (1382604478,), (1382604508,), (1382604546,), (1382604577,), (1382604608,), (1382604849,), (1382604717,), (1382604764,), (1382604805,), (1382605149,), (1382605205,), (1382605263,), (1382605326,), (1382605375,), (1382605438,), (1382605922,), (1382605977,), (1382606034,), (1382606092,), (1382606157,), (1382606483,), (1382606514,), (1382606577,), (1382606636,), (1382606715,), (1382607285,), (1382607320,), (1382607377,), (1382607438,), (1382607501,), (1382607565,), (1382607804,), (1382607885,), (1382607949,), (1382607985,), (1382608159,), (1382608160,), (1382608241,), (1382608249,), (1382608323,), (1382608333,), (1382608380,), (1382608396,), (1382608434,), (1382608445,), (1382608502,), (1382608565,), (1382608601,), (1382608647,), (1382608686,), (1382608702,), (1382608794,), (1382608814,), (1382608833,), (1382608847,), (1382608894,), (1382608899,), (1382608904,), (1382608910,), (1382608914,), (1382608919,), (1382608952,), (1382608954,), (1382608958,), (1382608962,), (1382608965,), (1382609033,), (1382609071,), (1382609103,), (1382609132,), (1382609137,), (1382609162,), (1382609347,), (1382609360,), (1382609369,), (1382609375,), (1382609387,), (1382609573,), (1382609606,), (1382609636,), (1382609667,), (1382609696,), (1382609727,), (1382609834,), (1382609842,), (1382609876,), (1382609881,), (1382609897,), (1382609898,), (1382609902,), (1382609907,), (1382609910,), (1382609914,), (1382609927,), (1382609929,), (1382609937,), (1382609941,), (1382609967,), (1382609952,), (1382609956,), (1382609960,), (1382609963,), (1382610016,), (1382610051,), (1382610082,), (1382610088,), (1382610096,), (1382610228,), (1382610229,), (1382610232,), (1382610238,), (1382610242,), (1382610248,), (1382610273,), (1382610276,), (1382610279,), (1382610284,), (1382610291,), (1382610362,), (1382610364,), (1382610366,), (1382610370,), (1382610373,), (1382610375,), (1382610454,), (1382610457,), (1382610460,), (1382610468,), (1382610474,), (1382610511,), (1382610517,), (1382610521,), (1382610525,), (1382610529,), (1382610602,), (1382610637,), (1382610672,), (1382610726,), (1382610761,), (1382610807,), (1382611145,), (1382611175,), (1382611204,), (1382611246,), (1382611550,), (1382611551,), (1382611556,), (1382611559,), (1382611568,), (1382611574,), (1382611581,), (1382611586,), (1382611637,), (1382611696,), (1382611880,), (1382611940,), (1382611965,), (1382611980,), (1382612058,), (1382612092,), (1382612121,), (1382612150,), (1382612182,), (1382612195,), (1382612252,), (1382612254,), (1382612277,), (1382612309,), (1382612341,), (1382612512,), (1382612516,), (1382612518,), (1382612596,), (1382612625,), (1382612628,), (1382612632,), (1382612639,), (1382612651,), (1382612672,), (1382612676,), (1382612679,), (1382612684,), (1382612689,), (1382612699,), (1382612893,), (1382612924,), (1382612953,), (1382613518,), (1382613577,), (1382613635,), (1382613700,), (1382613766,), (1382613847,), (1382614218,), (1382614329,), (1382614390,), (1382614498,), (1382614499,), (1382614531,), (1382614533,), (1382614564,), (1382614565,), (1382614573,), (1382614574,), (1382614580,), (1382614585,), (1382614720,), (1382614779,), (1382614826,), (1382614875,), (1382614937,), (1382614997,), (1382615297,), (1382615298,), (1382615305,), (1382615342,), (1382615374,), (1382615411,), (1382615724,), (1382615762,), (1382615793,), (1382615851,), (1382615895,), (1382616143,), (1382616146,), (1382616169,), (1382616203,), (1382616237,), (1382616476,), (1382616484,), (1382616487,), (1382616490,), (1382616493,), (1382616496,), (1382616523,), (1382616529,), (1382616544,), (1382616557,), (1382616562,), (1382616579,), (1382616587,), (1382616590,), (1382616595,), (1382616600,), (1382616604,), (1382616636,), (1382616646,), (1382616651,), (1382616659,), (1382616664,), (1382616669,), (1382616809,), (1382616844,), (1382616878,), (1382616909,), (1382616941,), (1382616974,), (1382617430,), (1382617535,), (1382617564,), (1382617576,), (1382617578,), (1382617580,), (1382617586,), (1382617660,), (1382617949,), (1382617991,), (1382618022,), (1382617262,), (1382617295,), (1382617328,), (1382617362,), (1382617396,), (1382617637,), (1382617645,), (1382617647,), (1382617648,), (1382617654,), (1382617688,), (1382617721,), (1382617753,), (1382617782,), (1382617816,), (1382617848,), (1382618080,), (1382618086,), (1382618100,), (1382618106,), (1382618110,), (1382618150,), (1382618179,), (1382618208,), (1382618246,), (1382618278,), (1382618303,), (1382618328,), (1382618332,), (1382618335,), (1382618340,), (1382618344,), (1382618534,), (1382618564,), (1382618595,), (1382618629,), (1382618664,), (1382618693,), (1382618748,), (1382618750,), (1382618751,), (1382618754,), (1382618792,), (1382618794,), (1382618801,), (1382618813,), (1382618827,), (1382618832,), (1382618851,), (1382618852,), (1382618855,), (1382618860,), (1382618863,), (1382618866,), (1382618870,), (1382618871,), (1382618872,), (1382618875,), (1382618885,), (1382618891,), (1382618895,), (1382618899,), (1382618903,), (1382618907,), (1382618921,), (1382618924,), (1382618926,), (1382618939,), (1382619231,), (1382619262,), (1382619294,), (1382619326,), (1382619361,), (1382619378,), (1382620034,), (1382620067,), (1382620102,), (1382620134,), (1382620176,), (1382620177,), (1382620181,), (1382620182,), (1382620185,), (1382620187,), (1382620196,), (1382620197,), (1382620199,), (1382620201,), (1382620471,), (1382620331,), (1382620365,), (1382620406,), (1382620416,), (1382620437,), (1382620524,), (1382620527,), (1382620529,), (1382620777,), (1382620943,), (1382621057,), (1382621172,), (1382621227,), (1382621376,), (1382621568,), (1382621599,), (1382621633,), (1382621666,), (1382621699,), (1382621730,), (1382621999,), (1382622028,), (1382622062,), (1382622097,), (1382622132,), (1382622172,), (1382622304,), (1382622372,), (1382622410,), (1382622446,), (1382622455,), (1382622459,), (1382622489,), (1382622535,), (1382622569,), (1382622603,), (1382622637,), (1382622643,), (1382622725,), (1382622741,), (1382622751,), (1382622789,), (1382622822,), (1382622828,), (1382622897,), (1382622902,), (1382622906,), (1382622908,), (1382622918,), (1382622938,), (1382622945,), (1382622948,), (1382622954,), (1382622958,), (1382622963,), (1382622983,), (1382622985,), (1382622987,), (1382622992,), (1382622997,), (1382623058,), (1382623062,), (1382623066,), (1382623072,), (1382623076,), (1382623079,), (1382623103,), (1382623105,), (1382623110,), (1382623113,), (1382623139,), (1382623182,), (1382623211,), (1382623245,), (1382623281,), (1382623314,), (1382623931,), (1382623824,), (1382623871,), (1382623900,), (1382624226,), (1382624258,), (1382624552,), (1382624555,), (1382624895,), (1382624949,), (1382624976,), (1382625161,), (1382625199,), (1382625218,), (1382625222,), (1382625225,), (1382625250,), (1382625254,), (1382625262,), (1382625267,), (1382625465,), (1382625496,), (1382625530,), (1382625566,), (1382625599,), (1382625631,), (1382625687,), (1382625689,), (1382625692,), (1382625699,), (1382625705,), (1382625753,), (1382625766,), (1382625777,), (1382625789,), (1382625804,), (1382625847,), (1382625849,), (1382625852,), (1382625855,), (1382625861,), (1382625865,), (1382625873,), (1382625878,), (1382625885,), (1382625888,), (1382625894,), (1382625897,), (1382625902,), (1382625920,), (1382626022,), (1382626026,), (1382626029,), (1382626066,), (1382626070,), (1382626071,), (1382626075,), (1382626081,), (1382626084,), (1382626114,), (1382626103,), (1382626105,), (1382626109,), (1382626141,), (1382626143,), (1382626153,), (1382626159,), (1382626162,), (1382626165,), (1382626176,), (1382626178,), (1382626179,), (1382626183,), (1382626212,), (1382626226,), (1382626261,), (1382626280,), (1382626284,), (1382626291,), (1382626300,), (1382626350,), (1382626414,), (1382626469,), (1382626473,), (1382626477,), (1382626541,), (1382626554,), (1382626560,), (1382626564,), (1382626569,), (1382626573,), (1382626612,), (1382626644,), (1382626674,), (1382626677,), (1382626683,), (1382626693,), (1382626697,), (1382626701,), (1382626731,), (1382626734,), (1382626737,), (1382626757,), (1382626763,), (1382626769,), (1382626814,), (1382626843,), (1382626850,), (1382628246,), (1382631238,), (1382631396,), (1382632126,), (1382632140,), (1382634222,), (1382634993,), (1382634994,), (1382635588,), (1382635620,), (1382635652,), (1382635955,), (1382636972,), (1382637207,), (1382637216,), (1382637424,), (1382637426,), (1382637578,), (1382637612,), (1382637973,), (1382638013,), (1382638301,), (1382638304,), (1382638306,), (1382638435,), (1382638438,), (1382638442,), (1382638445,), (1382638697,), (1382638702,), (1382638710,), (1382638715,), (1382638723,), (1382638739,), (1382638931,), (1382638942,), (1382638945,), (1382638957,), (1382639139,), (1382639075,), (1382639077,), (1382639104,), (1382639231,), (1382639234,), (1382639238,), (1382639241,), (1382639245,), (1382639275,), (1382639277,), (1382639279,), (1382639283,), (1382639313,), (1382639317,), (1382639319,), (1382639323,), (1382639327,), (1382639339,), (1382639349,), (1382639361,), (1382639369,), (1382639374,), (1382639377,), (1382639382,), (1382639383,), (1382639392,), (1382639424,), (1382639548,), (1382639579,), (1382639614,), (1382639647,), (1382639709,), (1382639711,), (1382639718,), (1382639754,), (1382639790,), (1382640107,), (1382640138,), (1382640169,), (1382640649,), (1382640681,), (1382640714,), (1382640746,), (1382640776,), (1382640810,), (1382641042,), (1382641073,), (1382641102,), (1382641134,), (1382641256,), (1382641258,), (1382641262,), (1382641308,), (1382641364,), (1382641881,), (1382641925,), (1382641959,), (1382641996,), (1382642054,), (1382642498,), (1382643263,), (1382643558,), (1382643556,), (1382643557,), (1382644389,), (1382644945,), (1382644946,), (1382644949,), (1382644952,), (1382645103,), (1382645106,), (1382645113,), (1382645120,), (1382645125,), (1382645384,), (1382645477,), (1382645498,), (1382645500,), (1382645505,), (1382645550,), (1382645553,), (1382645556,), (1382645701,), (1382645708,), (1382645713,), (1382645716,), (1382645724,), (1382645728,), (1382645731,), (1382645735,), (1382645773,), (1382645777,), (1382645779,), (1382645862,), (1382645865,), (1382645867,), (1382645868,), (1382645871,), (1382646081,), (1382646117,), (1382646148,), (1382646763,), (1382646525,), (1382646592,), (1382646650,), (1382646708,), (1382647155,), (1382647202,), (1382647246,), (1382647284,), (1382647380,), (1382647381,), (1382647383,), (1382647399,), (1382647431,), (1382647462,), (1382647612,), (1382647641,), (1382647652,), (1382647677,), (1382647680,), (1382647686,), (1382647687,), (1382647691,), (1382647696,), (1382647702,), (1382647710,), (1382647717,), (1382647718,), (1382647723,), (1382647834,), (1382647866,), (1382647898,), (1382647930,), (1382647962,), (1382647993,), (1382648169,), (1382648201,), (1382648238,), (1382648281,), (1382648335,), (1382648393,), (1382648617,), (1382648650,), (1382648679,), (1382648710,), (1382648991,), (1382648992,), (1382648993,), (1382648994,), (1382649005,), (1382649026,), (1382649216,), (1382649243,), (1382649253,), (1382649255,), (1382649260,), (1382649376,), (1382649381,), (1382649433,), (1382649446,), (1382649494,), (1382649506,), (1382649513,), (1382649544,), (1382649835,), (1382649870,), (1382649900,), (1382649935,), (1382649938,), (1382649943,), (1382650080,), (1382650100,), (1382650125,), (1382650259,), (1382650262,), (1382650268,), (1382650273,), (1382650275,), (1382650283,), (1382650288,), (1382650289,), (1382650291,), (1382650316,), (1382650301,), (1382650305,), (1382650309,), (1382650312,), (1382650314,), (1382650321,), (1382650323,), (1382650325,), (1382650327,), (1382650731,), (1382650764,), (1382650798,), (1382650831,), (1382651096,), (1382651155,), (1382651218,), (1382651280,), (1382651344,), (1382651405,), (1382651858,), (1382651917,), (1382651990,), (1382652579,), (1382652635,), (1382652692,), (1382652750,), (1382652807,), (1382652988,), (1382653018,), (1382653051,), (1382653093,), (1382653126,), (1382653555,), (1382653612,), (1382653667,), (1382653723,), (1382654186,), (1382654221,), (1382654254,), (1382654286,), (1382654289,), (1382654292,), (1382654294,), (1382654316,), (1382654351,), (1382654383,), (1382654440,), (1382654468,), (1382654475,), (1382654493,), (1382654508,), (1382654513,), (1382654518,), (1382654521,), (1382654528,), (1382654584,), (1382654587,), (1382654589,), (1382654593,), (1382654599,), (1382654647,), (1382654656,), (1382654666,), (1382654674,), (1382654700,), (1382654703,), (1382654705,), (1382654710,), (1382654715,), (1382654719,), (1382654776,), (1382654762,), (1382654764,), (1382654766,), (1382654770,), (1382654794,), (1382654806,), (1382654817,), (1382654844,), (1382655124,), (1382655156,), (1382655185,), (1382655215,), (1382655246,), (1382655539,), (1382655567,), (1382655597,), (1382655630,), (1382655664,), (1382655695,), (1382655768,), (1382655780,), (1382655788,), (1382655813,), (1382655852,), (1382655885,), (1382656000,), (1382656039,), (1382656070,), (1382656100,), (1382656134,), (1382656168,), (1382656262,), (1382656283,), (1382656286,), (1382656289,), (1382656291,), (1382656316,), (1382656437,), (1382656469,), (1382656516,), (1382656548,), (1382656586,), (1382656643,), (1382656748,), (1382656779,), (1382656815,), (1382656853,), (1382657115,), (1382657118,), (1382657123,), (1382657128,), (1382657134,), (1382657294,), (1382657331,), (1382657388,), (1382657405,), (1382657428,), (1382657486,), (1382657488,), (1382657522,), (1382657555,), (1382657587,), (1382657823,), (1382657853,), (1382657884,), (1382657916,), (1382658214,), (1382658246,), (1382658276,), (1382658318,), (1382658384,), (1382658741,), (1382658795,), (1382658855,), (1382658917,), (1382659309,), (1382659310,), (1382659314,), (1382659318,), (1382659321,), (1382659324,), (1382659381,), (1382659411,), (1382659594,), (1382659511,), (1382659530,), (1382659545,), (1382659563,), (1382659755,), (1382659791,), (1382659829,), (1382660231,), (1382660267,), (1382660303,), (1382660335,), (1382660411,), (1382660461,), (1382660700,), (1382660729,), (1382660764,), (1382660773,), (1382660783,), (1382660790,), (1382660946,), (1382660965,), (1382660975,), (1382660998,), (1382661074,), (1382661076,), (1382661079,), (1382661082,), (1382661085,), (1382661110,), (1382661112,), (1382661114,), (1382661117,), (1382661694,), (1382661783,), (1382661812,), (1382661841,), (1382661877,), (1382662232,), (1382662234,), (1382662236,), (1382662240,), (1382662245,), (1382662435,), (1382662472,), (1382662497,), (1382662500,), (1382662516,), (1382662545,), (1382662579,), (1382662583,), (1382662586,), (1382662589,), (1382662599,), (1382662601,), (1382662602,), (1382662606,), (1382662609,), (1382662613,), (1382662709,), (1382662739,), (1382662770,), (1382662801,), (1382663002,), (1382663035,), (1382663064,), (1382664985,), (1382665099,), (1382665209,), (1382665321,), (1382665429,), (1382665509,), (1382665708,), (1382665784,), (1382665850,), (1382665889,), (1382665905,), (1382666494,), (1382666180,), (1382666331,), (1382667097,), (1382667147,), (1382667272,), (1382667405,), (1382667529,), (1382667672,), (1382668155,), (1382668158,), (1382668244,), (1382668343,), (1382668382,), (1382668420,), (1382668627,), (1382668629,), (1382668630,), (1382668634,), (1382668641,), (1382668648,), (1382668655,), (1382668656,), (1382668660,), (1382668662,), (1382668666,), (1382668670,), (1382668695,), (1382668697,), (1382668698,), (1382668702,), (1382668705,), (1382668826,), (1382668924,), (1382669710,), (1382670592,), (1382670616,), (1382670619,), (1382670623,), (1382670630,), (1382670635,), (1382670883,), (1382670915,), (1382670950,), (1382670993,), (1382671059,), (1382671125,), (1382671307,), (1382671390,), (1382671538,), (1382671664,), (1382671765,), (1382671873,), (1382672167,), (1382672168,), (1382672188,), (1382672223,), (1382672481,), (1382672326,), (1382672385,), (1382672675,), (1382672678,), (1382672681,), (1382672684,), (1382672688,), (1382672725,), (1382672735,), (1382672737,), (1382672741,), (1382672744,), (1382672746,), (1382672760,), (1382672761,), (1382672762,), (1382672793,), (1382672796,), (1382672798,), (1382672801,), (1382672804,), (1382673044,), (1382673137,), (1382673173,), (1382673202,), (1382673235,), (1382673469,), (1382673501,), (1382673532,), (1382674070,), (1382674185,), (1382674313,), (1382674449,), (1382674564,), (1382674677,), (1382675195,), (1382675234,), (1382675295,), (1382675429,), (1382675886,), (1382675900,), (1382675905,), (1382675912,), (1382675917,), (1382675921,), (1382675926,), (1382675935,), (1382675939,), (1382675944,), (1382675949,), (1382675969,), (1382676220,), (1382676280,), (1382676343,), (1382676408,), (1382676860,), (1382676923,), (1382676980,), (1382677038,), (1382677127,), (1382677882,), (1382678023,), (1382678189,), (1382678337,), (1382678415,), (1382678710,), (1382678832,), (1382678862,), (1382678899,), (1382679384,), (1382679256,), (1382679322,), (1382679350,), (1382679353,), (1382679573,), (1382679604,), (1382679633,), (1382679666,), (1382679984,), (1382680015,), (1382680047,), (1382680081,), (1382680116,), (1382680298,), (1382680301,), (1382680303,), (1382680835,), (1382680873,), (1382680925,), (1382680960,), (1382680991,), (1382681025,), (1382681124,), (1382681156,), (1382681187,), (1382681219,), (1382681223,), (1382681227,), (1382681231,), (1382681234,), (1382681255,), (1382681285,), (1382681318,), (1382681617,), (1382681629,), (1382681633,), (1382681665,), (1382681684,), (1382681698,), (1382682073,), (1382682210,), (1382682352,), (1382682485,), (1382682626,), (1382682756,), (1382683376,), (1382683410,), (1382683443,), (1382684192,), (1382684261,), (1382684294,), (1382684326,), (1382684358,), (1382684392,), (1382684767,), (1382684812,), (1382684840,), (1382685107,), (1382685109,), (1382685114,), (1382685128,), (1382685162,), (1382685472,), (1382685532,), (1382685590,), (1382685648,), (1382685705,), (1382685763,), (1382686136,), (1382686167,), (1382686200,), (1382686219,), (1382686222,), (1382686227,), (1382686233,), (1382686261,), (1382686290,), (1382686444,), (1382686372,), (1382686377,), (1382686399,), (1382686410,), (1382686428,), (1382686532,), (1382686563,), (1382686592,), (1382686624,), (1382687181,), (1382687302,), (1382687422,), (1382687544,), (1382687654,), (1382688059,), (1382688062,), (1382688065,), (1382688454,), (1382688485,), (1382688552,), (1382688584,), (1382688651,), (1382688683,), (1382689002,), (1382689032,), (1382689072,), (1382689126,), (1382689462,), (1382689495,), (1382689525,), (1382689557,), (1382689592,), (1382690146,), (1382690208,), (1382690267,), (1382690332,), (1382690399,), (1382690435,), (1382690636,), (1382690707,), (1382690768,), (1382690830,), (1382691142,), (1382691144,), (1382691146,), (1382691149,), (1382691153,), (1382691155,), (1382691159,), (1382691181,), (1382691209,), (1382691241,), (1382691347,), (1382691381,), (1382691416,), (1382691554,), (1382691571,), (1382691575,), (1382691578,), (1382691584,), (1382692132,), (1382692222,), (1382692311,), (1382692362,), (1382692393,), (1382693390,), (1382693465,), (1382693500,), (1382693564,), (1382694511,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'08092025': {'nb_upload': 41, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26631533]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1382493205, 1382492761, 1382492758, 1382492755, 1382492751, 1382492622, 1382492616, 1382492611, 1382492607, 1382492603, 1382491477, 1382491476, 1382491475, 1382491474, 1382491473, 1382491396, 1382491395, 1382491394, 1382491393, 1382491392, 1382491391, 1382491309, 1382491308, 1382491307, 1382491306, 1382491265, 1382491264, 1382491263, 1382491262, 1382491230, 1382491229, 1382491183, 1382491182, 1382491181, 1382491179, 1382490839, 1382490837, 1382490784, 1382490163, 1382490162, 1382490128] map_info['map_portfolio_photo'] : {26631533: [1382493205, 1382492761, 1382492758, 1382492755, 1382492751, 1382492622, 1382492616, 1382492611, 1382492607, 1382492603, 1382491477, 1382491476, 1382491475, 1382491474, 1382491473, 1382491396, 1382491395, 1382491394, 1382491393, 1382491392, 1382491391, 1382491309, 1382491308, 1382491307, 1382491306, 1382491265, 1382491264, 1382491263, 1382491262, 1382491230, 1382491229, 1382491183, 1382491182, 1382491181, 1382491179, 1382490839, 1382490837, 1382490784, 1382490163, 1382490162, 1382490128]} final : True mtd_id 4302 list_pids : [1382493205, 1382492761, 1382492758, 1382492755, 1382492751, 1382492622, 1382492616, 1382492611, 1382492607, 1382492603, 1382491477, 1382491476, 1382491475, 1382491474, 1382491473, 1382491396, 1382491395, 1382491394, 1382491393, 1382491392, 1382491391, 1382491309, 1382491308, 1382491307, 1382491306, 1382491265, 1382491264, 1382491263, 1382491262, 1382491230, 1382491229, 1382491183, 1382491182, 1382491181, 1382491179, 1382490839, 1382490837, 1382490784, 1382490163, 1382490162, 1382490128] Looping around the photos to save general results len do output : 1 /26631533Didn'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, '3682602') ('4302', '26631533', '1382493205', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492761', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492758', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492755', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492751', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492622', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492616', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492611', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492607', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382492603', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491477', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491476', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491475', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491474', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491473', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491396', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491395', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491394', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491393', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491392', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491391', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491309', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491308', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491307', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491306', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491265', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491264', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491263', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491262', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491230', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491229', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491183', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491182', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491181', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382491179', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490839', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490837', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490784', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490163', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490162', None, None, None, None, None, '3682602') ('4302', None, None, None, None, None, None, None, '3682602') ('4302', '26631533', '1382490128', None, None, None, None, None, '3682602') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 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, '26631533', 'None', None, None, None, None, '3682602'), ('4302', '26631533', '1382493205', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492761', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492758', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492755', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492751', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492622', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492616', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492611', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492607', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382492603', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491477', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491476', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491475', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491474', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491473', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491396', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491395', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491394', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491393', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491392', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491391', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491309', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491308', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491307', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491306', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491265', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491264', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491263', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491262', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491230', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491229', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491183', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491182', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491181', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382491179', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382490839', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382490837', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382490784', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382490163', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382490162', None, None, None, None, None, '3682602'), ('4302', '26631533', '1382490128', None, None, None, None, None, '3682602')] time used for this insertion : 0.02199840545654297 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.807478189468384 time spend to save output : 0.022466182708740234 total time spend for step 5 : 7.829944372177124 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 (3682602) 3.39user 2.03system 0:21.77elapsed 24%CPU (0avgtext+0avgdata 169060maxresident)k 1088inputs+24632outputs (34major+81995minor)pagefaults 0swaps