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 : 3191135 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 (4307380) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4307380) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29887673 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4307380'] with mtr_portfolio_ids : ['29887673'] and first list_photo_ids : [] new path : /proc/3191135/ Name: python3 Umask: 0002 State: R (running) Tgid: 3191135 Ngid: 0 Pid: 3191135 PPid: 3191134 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3191135 NSpid: 3191135 NSpgid: 3189400 NSsid: 3189400 VmPeak: 1113364 kB VmSize: 1113364 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 105508 kB VmRSS: 105508 kB RssAnon: 66304 kB RssFile: 39204 kB RssShmem: 0 kB VmData: 872092 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 612 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: 45 nonvoluntary_ctxt_switches: 92 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3191135', 'Ngid': '0', 'Pid': '3191135', 'PPid': '3191134', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3191135', 'NSpid': '3191135', 'NSpgid': '3189400', 'NSsid': '3189400', 'VmPeak': '1113364 kB', 'VmSize': '1113364 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '105508 kB', 'VmRSS': '105508 kB', 'RssAnon': '66304 kB', 'RssFile': '39204 kB', 'RssShmem': '0 kB', 'VmData': '872092 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '612 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': '45', 'nonvoluntary_ctxt_switches': '92'} ('datou_batch_current', '3191135', '1113364', '0', '1113364', '872092', '105508', b'', 'marlene', '4307380') 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_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (29887673) 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 (4307380 ) ) 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 (29887673) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1402147135, 'portfolio_id': 29887673}, {'photo_id': 1402146904, 'portfolio_id': 29887673}, {'photo_id': 1402146809, 'portfolio_id': 29887673}, {'photo_id': 1402146807, 'portfolio_id': 29887673}, {'photo_id': 1402146805, 'portfolio_id': 29887673}, {'photo_id': 1402146478, 'portfolio_id': 29887673}, {'photo_id': 1402146471, 'portfolio_id': 29887673}, {'photo_id': 1402146313, 'portfolio_id': 29887673}, {'photo_id': 1402146262, 'portfolio_id': 29887673}, {'photo_id': 1402146261, 'portfolio_id': 29887673}, {'photo_id': 1402146260, 'portfolio_id': 29887673}, {'photo_id': 1402146259, 'portfolio_id': 29887673}, {'photo_id': 1402146238, 'portfolio_id': 29887673}, {'photo_id': 1402146227, 'portfolio_id': 29887673}, {'photo_id': 1402146207, 'portfolio_id': 29887673}, {'photo_id': 1402146196, 'portfolio_id': 29887673}, {'photo_id': 1402145971, 'portfolio_id': 29887673}, {'photo_id': 1402145934, 'portfolio_id': 29887673}, {'photo_id': 1402145442, 'portfolio_id': 29887673}, {'photo_id': 1402145440, 'portfolio_id': 29887673}, {'photo_id': 1402145430, 'portfolio_id': 29887673}, {'photo_id': 1402145415, 'portfolio_id': 29887673}, {'photo_id': 1402145103, 'portfolio_id': 29887673}, {'photo_id': 1402145072, 'portfolio_id': 29887673}, {'photo_id': 1402145039, 'portfolio_id': 29887673}, {'photo_id': 1402144652, 'portfolio_id': 29887673}, {'photo_id': 1402144623, 'portfolio_id': 29887673}, {'photo_id': 1402144603, 'portfolio_id': 29887673}, {'photo_id': 1402144568, 'portfolio_id': 29887673}, {'photo_id': 1402144420, 'portfolio_id': 29887673}, {'photo_id': 1402144395, 'portfolio_id': 29887673}, {'photo_id': 1402144373, 'portfolio_id': 29887673}, {'photo_id': 1402144364, 'portfolio_id': 29887673}, {'photo_id': 1402143964, 'portfolio_id': 29887673}, {'photo_id': 1402143527, 'portfolio_id': 29887673}, {'photo_id': 1402143420, 'portfolio_id': 29887673}] map_portfolio_id_photo_id: {29887673: [1402147135, 1402146904, 1402146809, 1402146807, 1402146805, 1402146478, 1402146471, 1402146313, 1402146262, 1402146261, 1402146260, 1402146259, 1402146238, 1402146227, 1402146207, 1402146196, 1402145971, 1402145934, 1402145442, 1402145440, 1402145430, 1402145415, 1402145103, 1402145072, 1402145039, 1402144652, 1402144623, 1402144603, 1402144568, 1402144420, 1402144395, 1402144373, 1402144364, 1402143964, 1402143527, 1402143420]} ##### 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.018652915954589844 #### 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 Sat Jan 3 05:40:59 2026 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 (29887673) 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 : 29887673 get user id for portfolio 29887673 get sub ptf for main ptf 29887673, type 3726 and hashtags ['papier', 'Carton_gris', 'autre_refus', 'plastique', 'flou', 'Carton_brun', 'cartonnette', 'environnement', 'mal_croppe', 'metal', 'Teint_Dans_La_Masse', 'kraft'] 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`=29887673 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','autre_refus','plastique','flou','Carton_brun','cartonnette','environnement','mal_croppe','metal','Teint_Dans_La_Masse','kraft')) 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`=29887673 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','autre_refus','plastique','flou','Carton_brun','cartonnette','environnement','mal_croppe','metal','Teint_Dans_La_Masse','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 29887673, 'sub_port_id': 29887690, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446223, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 27)}, 'Teint_Dans_La_Masse': {'main_port_id': 29887673, 'sub_port_id': 29887691, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446224, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 27)}, 'papier': {'main_port_id': 29887673, 'sub_port_id': 29887692, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446225, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 27)}, 'mal_croppe': {'main_port_id': 29887673, 'sub_port_id': 29887693, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446226, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 27)}, 'metal': {'main_port_id': 29887673, 'sub_port_id': 29887694, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446227, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 27)}, 'environnement': {'main_port_id': 29887673, 'sub_port_id': 29887695, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446228, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 27)}, 'plastique': {'main_port_id': 29887673, 'sub_port_id': 29887696, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446229, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 27)}, 'autre_refus': {'main_port_id': 29887673, 'sub_port_id': 29887697, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446230, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 27)}, 'Carton_brun': {'main_port_id': 29887673, 'sub_port_id': 29887698, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446231, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 27)}, 'flou': {'main_port_id': 29887673, 'sub_port_id': 29887699, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446232, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 27)}, 'cartonnette': {'main_port_id': 29887673, 'sub_port_id': 29887700, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446233, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 27)}, 'kraft': {'main_port_id': 29887673, 'sub_port_id': 29887701, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446234, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 16, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 27)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29887690 , 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=29887673 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 (29887690) result : ((1402146252,), (1402146272,), (1402146273,), (1402146274,), (1402146789,), (1402146790,), (1402146791,), (1402146792,), (1402146863,), (1402148659,), (1402148734,), (1402148735,), (1402148736,), (1402150449,), (1402150451,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29887673) result : ((1402143420,), (1402143527,), (1402143964,), (1402144364,), (1402144373,), (1402144395,), (1402144420,), (1402144568,), (1402144603,), (1402144623,), (1402144652,), (1402145039,), (1402145072,), (1402145103,), (1402145415,), (1402145430,), (1402145440,), (1402145442,), (1402145934,), (1402145971,), (1402146196,), (1402146207,), (1402146227,), (1402146238,), (1402146259,), (1402146260,), (1402146261,), (1402146262,), (1402146313,), (1402146471,), (1402146478,), (1402146805,), (1402146807,), (1402146809,), (1402146904,), (1402147135,)) 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 29887691 , 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=29887673 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 (29887691) result : ((1402146250,), (1402146251,), (1402146266,), (1402146267,), (1402146268,), (1402146587,), (1402146589,), (1402146776,), (1402146778,), (1402147223,), (1402147224,), (1402148657,), (1402148658,), (1402148729,), (1402148730,), (1402148731,), (1402150437,), (1402150439,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29887673) result : ((1402143420,), (1402143527,), (1402143964,), (1402144364,), (1402144373,), (1402144395,), (1402144420,), (1402144568,), (1402144603,), (1402144623,), (1402144652,), (1402145039,), (1402145072,), (1402145103,), (1402145415,), (1402145430,), (1402145440,), (1402145442,), (1402145934,), (1402145971,), (1402146196,), (1402146207,), (1402146227,), (1402146238,), (1402146259,), (1402146260,), (1402146261,), (1402146262,), (1402146313,), (1402146471,), (1402146478,), (1402146805,), (1402146807,), (1402146809,), (1402146904,), (1402147135,)) 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 29887692 , 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=29887673 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 (29887692) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29887673) result : ((1402143420,), (1402143527,), (1402143964,), (1402144364,), (1402144373,), (1402144395,), (1402144420,), (1402144568,), (1402144603,), (1402144623,), (1402144652,), (1402145039,), (1402145072,), (1402145103,), (1402145415,), (1402145430,), (1402145440,), (1402145442,), (1402145934,), (1402145971,), (1402146196,), (1402146207,), (1402146227,), (1402146238,), (1402146259,), (1402146260,), (1402146261,), (1402146262,), (1402146313,), (1402146471,), (1402146478,), (1402146805,), (1402146807,), (1402146809,), (1402146904,), (1402147135,)) 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 29887693 , 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=29887673 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 (29887693) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29887673) result : ((1402143420,), (1402143527,), (1402143964,), (1402144364,), (1402144373,), (1402144395,), (1402144420,), (1402144568,), (1402144603,), (1402144623,), (1402144652,), (1402145039,), (1402145072,), (1402145103,), (1402145415,), (1402145430,), (1402145440,), (1402145442,), (1402145934,), (1402145971,), (1402146196,), (1402146207,), (1402146227,), (1402146238,), (1402146259,), (1402146260,), (1402146261,), (1402146262,), (1402146313,), (1402146471,), (1402146478,), (1402146805,), (1402146807,), (1402146809,), (1402146904,), (1402147135,)) 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 29887694 , 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=29887673 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 (29887694) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29887673) result : ((1402143420,), (1402143527,), (1402143964,), (1402144364,), (1402144373,), (1402144395,), (1402144420,), (1402144568,), (1402144603,), (1402144623,), (1402144652,), (1402145039,), (1402145072,), (1402145103,), (1402145415,), (1402145430,), (1402145440,), (1402145442,), (1402145934,), (1402145971,), (1402146196,), (1402146207,), (1402146227,), (1402146238,), (1402146259,), (1402146260,), (1402146261,), (1402146262,), (1402146313,), (1402146471,), (1402146478,), (1402146805,), (1402146807,), (1402146809,), (1402146904,), (1402147135,)) 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 29887695 , 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=29887673 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 (29887695) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29887673) result : ((1402143420,), (1402143527,), (1402143964,), (1402144364,), (1402144373,), (1402144395,), (1402144420,), (1402144568,), (1402144603,), (1402144623,), (1402144652,), (1402145039,), (1402145072,), (1402145103,), (1402145415,), (1402145430,), (1402145440,), (1402145442,), (1402145934,), (1402145971,), (1402146196,), (1402146207,), (1402146227,), (1402146238,), (1402146259,), (1402146260,), (1402146261,), (1402146262,), (1402146313,), (1402146471,), (1402146478,), (1402146805,), (1402146807,), (1402146809,), (1402146904,), (1402147135,)) 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 29887696 , 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=29887673 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 (29887696) result : ((1402146255,), (1402146597,), (1402146794,), (1402146795,), (1402146848,), (1402146849,), (1402146850,), (1402146871,), (1402146872,), (1402146874,), (1402148661,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29887673) result : ((1402143420,), (1402143527,), (1402143964,), (1402144364,), (1402144373,), (1402144395,), (1402144420,), (1402144568,), (1402144603,), (1402144623,), (1402144652,), (1402145039,), (1402145072,), (1402145103,), (1402145415,), (1402145430,), (1402145440,), (1402145442,), (1402145934,), (1402145971,), (1402146196,), (1402146207,), (1402146227,), (1402146238,), (1402146259,), (1402146260,), (1402146261,), (1402146262,), (1402146313,), (1402146471,), (1402146478,), (1402146805,), (1402146807,), (1402146809,), (1402146904,), (1402147135,)) 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 29887697 , 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=29887673 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 (29887697) result : ((1402146271,), (1402146844,), (1402146845,), (1402148732,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29887673) result : ((1402143420,), (1402143527,), (1402143964,), (1402144364,), (1402144373,), (1402144395,), (1402144420,), (1402144568,), (1402144603,), (1402144623,), (1402144652,), (1402145039,), (1402145072,), (1402145103,), (1402145415,), (1402145430,), (1402145440,), (1402145442,), (1402145934,), (1402145971,), (1402146196,), (1402146207,), (1402146227,), (1402146238,), (1402146259,), (1402146260,), (1402146261,), (1402146262,), (1402146313,), (1402146471,), (1402146478,), (1402146805,), (1402146807,), (1402146809,), (1402146904,), (1402147135,)) 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 29887698 , 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=29887673 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 (29887698) result : ((1402146277,), (1402146847,), (1402146867,), (1402146868,), (1402146869,), (1402148739,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29887673) result : ((1402143420,), (1402143527,), (1402143964,), (1402144364,), (1402144373,), (1402144395,), (1402144420,), (1402144568,), (1402144603,), (1402144623,), (1402144652,), (1402145039,), (1402145072,), (1402145103,), (1402145415,), (1402145430,), (1402145440,), (1402145442,), (1402145934,), (1402145971,), (1402146196,), (1402146207,), (1402146227,), (1402146238,), (1402146259,), (1402146260,), (1402146261,), (1402146262,), (1402146313,), (1402146471,), (1402146478,), (1402146805,), (1402146807,), (1402146809,), (1402146904,), (1402147135,)) 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 29887699 , 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=29887673 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 (29887699) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29887673) result : ((1402143420,), (1402143527,), (1402143964,), (1402144364,), (1402144373,), (1402144395,), (1402144420,), (1402144568,), (1402144603,), (1402144623,), (1402144652,), (1402145039,), (1402145072,), (1402145103,), (1402145415,), (1402145430,), (1402145440,), (1402145442,), (1402145934,), (1402145971,), (1402146196,), (1402146207,), (1402146227,), (1402146238,), (1402146259,), (1402146260,), (1402146261,), (1402146262,), (1402146313,), (1402146471,), (1402146478,), (1402146805,), (1402146807,), (1402146809,), (1402146904,), (1402147135,)) 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 29887700 , 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=29887673 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 (29887700) result : ((1402146253,), (1402146275,), (1402146846,), (1402146864,), (1402146866,), (1402148660,), (1402148737,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29887673) result : ((1402143420,), (1402143527,), (1402143964,), (1402144364,), (1402144373,), (1402144395,), (1402144420,), (1402144568,), (1402144603,), (1402144623,), (1402144652,), (1402145039,), (1402145072,), (1402145103,), (1402145415,), (1402145430,), (1402145440,), (1402145442,), (1402145934,), (1402145971,), (1402146196,), (1402146207,), (1402146227,), (1402146238,), (1402146259,), (1402146260,), (1402146261,), (1402146262,), (1402146313,), (1402146471,), (1402146478,), (1402146805,), (1402146807,), (1402146809,), (1402146904,), (1402147135,)) 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 29887701 , 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=29887673 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 (29887701) result : ((1402146256,), (1402146796,), (1402148662,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29887673) result : ((1402143420,), (1402143527,), (1402143964,), (1402144364,), (1402144373,), (1402144395,), (1402144420,), (1402144568,), (1402144603,), (1402144623,), (1402144652,), (1402145039,), (1402145072,), (1402145103,), (1402145415,), (1402145430,), (1402145440,), (1402145442,), (1402145934,), (1402145971,), (1402146196,), (1402146207,), (1402146227,), (1402146238,), (1402146259,), (1402146260,), (1402146261,), (1402146262,), (1402146313,), (1402146471,), (1402146478,), (1402146805,), (1402146807,), (1402146809,), (1402146904,), (1402147135,)) 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`=29887673 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','autre_refus','plastique','flou','Carton_brun','cartonnette','environnement','mal_croppe','metal','Teint_Dans_La_Masse','kraft')) 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`=29887673 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_gris','autre_refus','plastique','flou','Carton_brun','cartonnette','environnement','mal_croppe','metal','Teint_Dans_La_Masse','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 29887673, 'sub_port_id': 29887716, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446247, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 33)}, 'Teint_Dans_La_Masse': {'main_port_id': 29887673, 'sub_port_id': 29887717, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446248, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 33)}, 'papier': {'main_port_id': 29887673, 'sub_port_id': 29887718, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446249, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 33)}, 'mal_croppe': {'main_port_id': 29887673, 'sub_port_id': 29887719, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446250, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 33)}, 'metal': {'main_port_id': 29887673, 'sub_port_id': 29887720, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446251, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 33)}, 'environnement': {'main_port_id': 29887673, 'sub_port_id': 29887721, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446252, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 33)}, 'plastique': {'main_port_id': 29887673, 'sub_port_id': 29887722, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446253, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 33)}, 'autre_refus': {'main_port_id': 29887673, 'sub_port_id': 29887723, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446254, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 33)}, 'Carton_brun': {'main_port_id': 29887673, 'sub_port_id': 29887724, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446255, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 33)}, 'flou': {'main_port_id': 29887673, 'sub_port_id': 29887725, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446256, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 33)}, 'cartonnette': {'main_port_id': 29887673, 'sub_port_id': 29887726, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446257, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 3, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 33)}, 'kraft': {'main_port_id': 29887673, 'sub_port_id': 29887727, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20446258, 'last_updated_at': datetime.datetime(2026, 1, 2, 12, 17), 'last_updated_at_desc': datetime.datetime(2026, 1, 2, 12, 17), 'last_updated_at_asc': datetime.datetime(2026, 1, 2, 12, 3, 33)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29887716,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29887690 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29887717,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29887691 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29887718,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29887692 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29887719,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29887693 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29887720,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29887694 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29887721,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29887695 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29887722,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29887696 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29887723,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29887697 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29887724,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29887698 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29887725,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29887699 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29887726,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29887700 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29887727,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29887701 lien utilise dans velours : https://marlene.fotonower.com/velours/29887716,29887717,29887718,29887719,29887720,29887721,29887722,29887723,29887724,29887725,29887726,29887727?tags=Carton_gris,Teint_Dans_La_Masse,papier,mal_croppe,metal,environnement,plastique,autre_refus,Carton_brun,flou,cartonnette,kraft After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29887673]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1402147135, 1402146904, 1402146809, 1402146807, 1402146805, 1402146478, 1402146471, 1402146313, 1402146262, 1402146261, 1402146260, 1402146259, 1402146238, 1402146227, 1402146207, 1402146196, 1402145971, 1402145934, 1402145442, 1402145440, 1402145430, 1402145415, 1402145103, 1402145072, 1402145039, 1402144652, 1402144623, 1402144603, 1402144568, 1402144420, 1402144395, 1402144373, 1402144364, 1402143964, 1402143527, 1402143420] map_info['map_portfolio_photo'] : {29887673: [1402147135, 1402146904, 1402146809, 1402146807, 1402146805, 1402146478, 1402146471, 1402146313, 1402146262, 1402146261, 1402146260, 1402146259, 1402146238, 1402146227, 1402146207, 1402146196, 1402145971, 1402145934, 1402145442, 1402145440, 1402145430, 1402145415, 1402145103, 1402145072, 1402145039, 1402144652, 1402144623, 1402144603, 1402144568, 1402144420, 1402144395, 1402144373, 1402144364, 1402143964, 1402143527, 1402143420]} final : False mtd_id 4302 list_pids : [1402147135, 1402146904, 1402146809, 1402146807, 1402146805, 1402146478, 1402146471, 1402146313, 1402146262, 1402146261, 1402146260, 1402146259, 1402146238, 1402146227, 1402146207, 1402146196, 1402145971, 1402145934, 1402145442, 1402145440, 1402145430, 1402145415, 1402145103, 1402145072, 1402145039, 1402144652, 1402144623, 1402144603, 1402144568, 1402144420, 1402144395, 1402144373, 1402144364, 1402143964, 1402143527, 1402143420] Looping around the photos to save general results len do output : 1 /29887673. 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, '4307380') ('4302', '29887673', '1402147135', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146904', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146809', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146807', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146805', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146478', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146471', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146313', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146262', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146261', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146260', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146259', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146238', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146227', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146207', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146196', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145971', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145934', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145442', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145440', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145430', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145415', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145103', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145072', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145039', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144652', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144623', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144603', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144568', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144420', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144395', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144373', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144364', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402143964', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402143527', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402143420', None, None, None, None, None, '4307380') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '29887673', "{'Carton_gris': 29887690, 'Teint_Dans_La_Masse': 29887691, 'papier': 29887692, 'mal_croppe': 29887693, 'metal': 29887694, 'environnement': 29887695, 'plastique': 29887696, 'autre_refus': 29887697, 'Carton_brun': 29887698, 'flou': 29887699, 'cartonnette': 29887700, 'kraft': 29887701}", None, None, None, None, '4307380'), ('4302', '29887673', '1402147135', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146904', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146809', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146807', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146805', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146478', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146471', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146313', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146262', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146261', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146260', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146259', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146238', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146227', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146207', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146196', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145971', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145934', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145442', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145440', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145430', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145415', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145103', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145072', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145039', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144652', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144623', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144603', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144568', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144420', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144395', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144373', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144364', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402143964', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402143527', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402143420', None, None, None, None, None, '4307380')] time used for this insertion : 0.023935317993164062 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8260242938995361 time spend to save output : 0.024390220642089844 total time spend for step 1 : 1.850414514541626 step2:final Sat Jan 3 05:41:01 2026 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 (29887673) 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 29887673 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1402143527,1402143420,1402143964,1402144420,1402144395,1402144373,1402144364,1402144652,1402144623,1402144603,1402144568,1402145103,1402145072,1402145039,1402145442,1402145440,1402145430,1402145415,1402145971,1402145934,1402146238,1402146227,1402146207,1402146196,1402146262,1402146261,1402146260,1402146259,1402146478,1402146809,1402146313,1402146471,1402146807,1402146805,1402146904,1402147135); 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([29887673]) Inside saveOutput : final : False verbose : True original output for save of step final : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} new output for save of step final : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} [1402147135, 1402146904, 1402146809, 1402146807, 1402146805, 1402146478, 1402146471, 1402146313, 1402146262, 1402146261, 1402146260, 1402146259, 1402146238, 1402146227, 1402146207, 1402146196, 1402145971, 1402145934, 1402145442, 1402145440, 1402145430, 1402145415, 1402145103, 1402145072, 1402145039, 1402144652, 1402144623, 1402144603, 1402144568, 1402144420, 1402144395, 1402144373, 1402144364, 1402143964, 1402143527, 1402143420] map_info['map_portfolio_photo'] : {29887673: [1402147135, 1402146904, 1402146809, 1402146807, 1402146805, 1402146478, 1402146471, 1402146313, 1402146262, 1402146261, 1402146260, 1402146259, 1402146238, 1402146227, 1402146207, 1402146196, 1402145971, 1402145934, 1402145442, 1402145440, 1402145430, 1402145415, 1402145103, 1402145072, 1402145039, 1402144652, 1402144623, 1402144603, 1402144568, 1402144420, 1402144395, 1402144373, 1402144364, 1402143964, 1402143527, 1402143420]} final : False mtd_id 4302 list_pids : [1402147135, 1402146904, 1402146809, 1402146807, 1402146805, 1402146478, 1402146471, 1402146313, 1402146262, 1402146261, 1402146260, 1402146259, 1402146238, 1402146227, 1402146207, 1402146196, 1402145971, 1402145934, 1402145442, 1402145440, 1402145430, 1402145415, 1402145103, 1402145072, 1402145039, 1402144652, 1402144623, 1402144603, 1402144568, 1402144420, 1402144395, 1402144373, 1402144364, 1402143964, 1402143527, 1402143420] Looping around the photos to save general results len do output : 36 /1402147135.Didn't retrieve data . /1402146904.Didn't retrieve data . /1402146809.Didn't retrieve data . /1402146807.Didn't retrieve data . /1402146805.Didn't retrieve data . /1402146478.Didn't retrieve data . /1402146471.Didn't retrieve data . /1402146313.Didn't retrieve data . /1402146262.Didn't retrieve data . /1402146261.Didn't retrieve data . /1402146260.Didn't retrieve data . /1402146259.Didn't retrieve data . /1402146238.Didn't retrieve data . /1402146227.Didn't retrieve data . /1402146207.Didn't retrieve data . /1402146196.Didn't retrieve data . /1402145971.Didn't retrieve data . /1402145934.Didn't retrieve data . /1402145442.Didn't retrieve data . /1402145440.Didn't retrieve data . /1402145430.Didn't retrieve data . /1402145415.Didn't retrieve data . /1402145103.Didn't retrieve data . /1402145072.Didn't retrieve data . /1402145039.Didn't retrieve data . /1402144652.Didn't retrieve data . /1402144623.Didn't retrieve data . /1402144603.Didn't retrieve data . /1402144568.Didn't retrieve data . /1402144420.Didn't retrieve data . /1402144395.Didn't retrieve data . /1402144373.Didn't retrieve data . /1402144364.Didn't retrieve data . /1402143964.Didn't retrieve data . /1402143527.Didn't retrieve data . /1402143420.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, '4307380') ('4302', '29887673', '1402147135', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146904', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146809', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146807', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146805', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146478', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146471', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146313', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146262', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146261', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146260', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146259', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146238', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146227', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146207', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146196', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145971', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145934', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145442', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145440', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145430', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145415', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145103', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145072', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145039', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144652', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144623', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144603', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144568', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144420', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144395', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144373', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144364', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402143964', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402143527', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402143420', None, None, None, None, None, '4307380') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 108 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', '29887673', '1402147135', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402146904', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402146809', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402146807', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402146805', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402146478', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402146471', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402146313', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402146262', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402146261', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402146260', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402146259', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402146238', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402146227', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402146207', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402146196', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402145971', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402145934', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402145442', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402145440', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402145430', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402145415', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402145103', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402145072', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402145039', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402144652', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402144623', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402144603', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402144568', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402144420', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402144395', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402144373', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402144364', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402143964', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402143527', '0.057370642562094114', None, None, None, None, '4307380'), ('4302', '29887673', '1402143420', '0.057370642562094114', None, None, None, None, '4307380')] time used for this insertion : 0.022289514541625977 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08290791511535645 time spend to save output : 0.023698091506958008 total time spend for step 2 : 0.10660600662231445 step3:velours_tree Sat Jan 3 05:41:01 2026 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 : {29887673: [{'Carton_gris': 29887690, 'Teint_Dans_La_Masse': 29887691, 'papier': 29887692, 'mal_croppe': 29887693, 'metal': 29887694, 'environnement': 29887695, 'plastique': 29887696, 'autre_refus': 29887697, 'Carton_brun': 29887698, 'flou': 29887699, 'cartonnette': 29887700, 'kraft': 29887701}]} input_args_next_step : {29887673: ()} output_args : {29887673: [{'Carton_gris': 29887690, 'Teint_Dans_La_Masse': 29887691, 'papier': 29887692, 'mal_croppe': 29887693, 'metal': 29887694, 'environnement': 29887695, 'plastique': 29887696, 'autre_refus': 29887697, 'Carton_brun': 29887698, 'flou': 29887699, 'cartonnette': 29887700, 'kraft': 29887701}]} args : 29887673 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_gris': 29887690, 'Teint_Dans_La_Masse': 29887691, 'papier': 29887692, 'mal_croppe': 29887693, 'metal': 29887694, 'environnement': 29887695, 'plastique': 29887696, 'autre_refus': 29887697, 'Carton_brun': 29887698, 'flou': 29887699, 'cartonnette': 29887700, 'kraft': 29887701},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29887673) 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([29887673]) 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.23871350288391113 time spend to save output : 4.9591064453125e-05 total time spend for step 3 : 0.23876309394836426 step4:send_mail_cod Sat Jan 3 05:41:02 2026 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 : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} input_args_next_step : {1402147135: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402147135 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402146904 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402146809 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402146807 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402146805 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402146478 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402146471 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402146313 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402146262 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402146261 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402146260 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402146259 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402146238 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402146227 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402146207 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402146196 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402145971 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402145934 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402145442 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402145440 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402145430 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402145415 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402145103 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402145072 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402145039 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402144652 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402144623 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402144603 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402144568 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402144420 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402144395 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402144373 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402144364 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402143964 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402143527 depend.output_id : 0 input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ()} output_args : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',)} args : 1402143420 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 : {29887673: [{'Carton_gris': 29887690, 'Teint_Dans_La_Masse': 29887691, 'papier': 29887692, 'mal_croppe': 29887693, 'metal': 29887694, 'environnement': 29887695, 'plastique': 29887696, 'autre_refus': 29887697, 'Carton_brun': 29887698, 'flou': 29887699, 'cartonnette': 29887700, 'kraft': 29887701}]} input_args_next_step : {1402147135: ('0.057370642562094114',), 1402146904: ('0.057370642562094114',), 1402146809: ('0.057370642562094114',), 1402146807: ('0.057370642562094114',), 1402146805: ('0.057370642562094114',), 1402146478: ('0.057370642562094114',), 1402146471: ('0.057370642562094114',), 1402146313: ('0.057370642562094114',), 1402146262: ('0.057370642562094114',), 1402146261: ('0.057370642562094114',), 1402146260: ('0.057370642562094114',), 1402146259: ('0.057370642562094114',), 1402146238: ('0.057370642562094114',), 1402146227: ('0.057370642562094114',), 1402146207: ('0.057370642562094114',), 1402146196: ('0.057370642562094114',), 1402145971: ('0.057370642562094114',), 1402145934: ('0.057370642562094114',), 1402145442: ('0.057370642562094114',), 1402145440: ('0.057370642562094114',), 1402145430: ('0.057370642562094114',), 1402145415: ('0.057370642562094114',), 1402145103: ('0.057370642562094114',), 1402145072: ('0.057370642562094114',), 1402145039: ('0.057370642562094114',), 1402144652: ('0.057370642562094114',), 1402144623: ('0.057370642562094114',), 1402144603: ('0.057370642562094114',), 1402144568: ('0.057370642562094114',), 1402144420: ('0.057370642562094114',), 1402144395: ('0.057370642562094114',), 1402144373: ('0.057370642562094114',), 1402144364: ('0.057370642562094114',), 1402143964: ('0.057370642562094114',), 1402143527: ('0.057370642562094114',), 1402143420: ('0.057370642562094114',), 29887673: ()} output_args : {29887673: [{'Carton_gris': 29887690, 'Teint_Dans_La_Masse': 29887691, 'papier': 29887692, 'mal_croppe': 29887693, 'metal': 29887694, 'environnement': 29887695, 'plastique': 29887696, 'autre_refus': 29887697, 'Carton_brun': 29887698, 'flou': 29887699, 'cartonnette': 29887700, 'kraft': 29887701}]} args : 29887673 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 :37, first value : ('0.057370642562094114',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29887673) 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_view ph WHERE photo_id IN (1402147135,1402146904,1402146809,1402146807,1402146805,1402146478,1402146471,1402146313,1402146262,1402146261,1402146260,1402146259,1402146238,1402146227,1402146207,1402146196,1402145971,1402145934,1402145442,1402145440,1402145430,1402145415,1402145103,1402145072,1402145039,1402144652,1402144623,1402144603,1402144568,1402144420,1402144395,1402144373,1402144364,1402143964,1402143527,1402143420) Found this number of photos: 36 ##### Call download_photos : nb_thread : 5 begin to download photo : 1402143420 begin to download photo : 1402144603 begin to download photo : 1402145440 begin to download photo : 1402146259 begin to download photo : 1402146807 download finish for photo 1402144603 begin to download photo : 1402144623 download finish for photo 1402143420 begin to download photo : 1402143527 download finish for photo 1402146807 begin to download photo : 1402146809 download finish for photo 1402146259 begin to download photo : 1402146260 download finish for photo 1402145440 begin to download photo : 1402145442 download finish for photo 1402144623 begin to download photo : 1402144652 download finish for photo 1402146809 begin to download photo : 1402146904 download finish for photo 1402146260 begin to download photo : 1402146261 download finish for photo 1402143527 begin to download photo : 1402143964 download finish for photo 1402145442 begin to download photo : 1402145934 download finish for photo 1402144652 begin to download photo : 1402145039 download finish for photo 1402146904 begin to download photo : 1402147135 download finish for photo 1402143964 begin to download photo : 1402144364 download finish for photo 1402145934 begin to download photo : 1402145971 download finish for photo 1402145039 begin to download photo : 1402145072 download finish for photo 1402146261 begin to download photo : 1402146262 download finish for photo 1402144364 begin to download photo : 1402144373 download finish for photo 1402147135 download finish for photo 1402145971 begin to download photo : 1402146196 download finish for photo 1402145072 begin to download photo : 1402145103 download finish for photo 1402146262 begin to download photo : 1402146313 download finish for photo 1402144373 begin to download photo : 1402144395 download finish for photo 1402146196 begin to download photo : 1402146207 download finish for photo 1402146313 begin to download photo : 1402146471 download finish for photo 1402145103 begin to download photo : 1402145415 download finish for photo 1402144395 begin to download photo : 1402144420 download finish for photo 1402146207 begin to download photo : 1402146227 download finish for photo 1402144420 begin to download photo : 1402144568 download finish for photo 1402145415 begin to download photo : 1402145430 download finish for photo 1402146471 begin to download photo : 1402146478 download finish for photo 1402146227 begin to download photo : 1402146238 download finish for photo 1402144568 download finish for photo 1402146478 begin to download photo : 1402146805 download finish for photo 1402145430 download finish for photo 1402146238 download finish for photo 1402146805 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette298876931767415263/ imagette298876941767415263/ length of list_filenames : 36 ; length of list_pids : 36 ; length of list_args : 36 results_Auto_P29887673_03-01-2026_05_41_03.pdf 29887693 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29887693 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette298876931767415263 29887694 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29887694 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette298876941767415263 29887696 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29887696 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402146255: '1767352106_2786066_1402145430_98c407fbbcf93a0f4240e286bf58e625_rle_crop_4088544554_0.png', 1402146597: '1767352265_2791596_1402145072_007c69730ad448806df06d4968313042_rle_crop_4088545686_0.png', 1402146794: '1767352285_2792832_1402144373_1df7caa3efc817cc11e3346bf737f0d3_rle_crop_4088545825_0.png', 1402146795: '1767352285_2792832_1402144373_1df7caa3efc817cc11e3346bf737f0d3_rle_crop_4088545830_0.png', 1402146848: '1767352344_2797009_1402146261_6b1fbc347b2d452f2a50d683d6aaac19_rle_crop_4088546056_0.png', 1402146849: '1767352344_2797009_1402146260_3b14dbaf6b5b754d269475c4dccbd835_rle_crop_4088546069_0.png', 1402146850: '1767352344_2797009_1402146259_30d4f1441ad1430e18074f45e6ca0a85_rle_crop_4088546079_0.png', 1402146871: '1767352386_2798578_1402146262_aeb75e3d51e9b012b835335e76607822_rle_crop_4088546402_0.png', 1402146872: '1767352386_2798578_1402146227_1b45526d490fb21d58ef2bf16648c2d0_rle_crop_4088546440_0.png', 1402146874: '1767352386_2798578_1402146196_9e00155a98e1aba7286c0254c5d96a51_rle_crop_4088546490_0.png', 1402148661: '1767354667_2904763_1402145430_98c407fbbcf93a0f4240e286bf58e625_rle_crop_4088544554_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a06d3fd865045e67ecd42b3e0e21aa76_98260153.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/718dc18e0e666c405a48f1b526ad7068_85317055.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d733f282ba4a8a7912ba78fde54b717f_59476878.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/dbc0d2928094d8bfaf4758c8e4164be6_91309138.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/37ce87bd8c35e1d72fcb3d41684b33f7_28033103.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/872f269172a0642023b47b7b44f81fac_89398422.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3d809a263683866892239e67cb2be865_62427106.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fd1592bfea404fed7ac7d34ad0e1f21c_33447905.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/38681366127fbb32261c6b8a98aec872_75431372.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9a050392960418ed95a9f3173d9e5ac8_30860274.png change filename to text .imagette298876961767415263/ imagette298876961767415263/1767354667_2904763_1402145430_98c407fbbcf93a0f4240e286bf58e625_rle_crop_4088544554_0.png.png imagette298876961767415263/1767352106_2786066_1402145430_98c407fbbcf93a0f4240e286bf58e625_rle_crop_4088544554_0.png.png imagette298876961767415263/1767352344_2797009_1402146260_3b14dbaf6b5b754d269475c4dccbd835_rle_crop_4088546069_0.png.png imagette298876961767415263/1767352285_2792832_1402144373_1df7caa3efc817cc11e3346bf737f0d3_rle_crop_4088545830_0.png.png imagette298876961767415263/1767352386_2798578_1402146196_9e00155a98e1aba7286c0254c5d96a51_rle_crop_4088546490_0.png.png imagette298876961767415263/1767352344_2797009_1402146259_30d4f1441ad1430e18074f45e6ca0a85_rle_crop_4088546079_0.png.png imagette298876961767415263/1767352285_2792832_1402144373_1df7caa3efc817cc11e3346bf737f0d3_rle_crop_4088545825_0.png.png imagette298876961767415263/1767352344_2797009_1402146261_6b1fbc347b2d452f2a50d683d6aaac19_rle_crop_4088546056_0.png.png imagette298876961767415263/1767352386_2798578_1402146262_aeb75e3d51e9b012b835335e76607822_rle_crop_4088546402_0.png.png imagette298876961767415263/1767352265_2791596_1402145072_007c69730ad448806df06d4968313042_rle_crop_4088545686_0.png.png imagette298876961767415263/1767352386_2798578_1402146227_1b45526d490fb21d58ef2bf16648c2d0_rle_crop_4088546440_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/a06d3fd865045e67ecd42b3e0e21aa76_81778309.png imagette298876961767415263 29887697 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29887697 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402146271: '1767352145_2788656_1402145103_6511649e9de00d6abd8fdb2e58a7a6f8_rle_crop_4088544809_0.png', 1402146844: '1767352344_2797009_1402146261_6b1fbc347b2d452f2a50d683d6aaac19_rle_crop_4088546046_0.png', 1402146845: '1767352344_2797009_1402146261_6b1fbc347b2d452f2a50d683d6aaac19_rle_crop_4088546045_0.png', 1402148732: '1767354787_2912611_1402145103_6511649e9de00d6abd8fdb2e58a7a6f8_rle_crop_4088544809_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0780bf105a9490906ce624ec02a62068_49483554.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0e060637801be339d7de78162785335f_5824363.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/69344b50db638e0a7f4c1c51dce4e6a3_68943793.png change filename to text .imagette298876971767415264/ imagette298876971767415264/1767354787_2912611_1402145103_6511649e9de00d6abd8fdb2e58a7a6f8_rle_crop_4088544809_0.png.png imagette298876971767415264/1767352344_2797009_1402146261_6b1fbc347b2d452f2a50d683d6aaac19_rle_crop_4088546045_0.png.png imagette298876971767415264/1767352344_2797009_1402146261_6b1fbc347b2d452f2a50d683d6aaac19_rle_crop_4088546046_0.png.png imagette298876971767415264/1767352145_2788656_1402145103_6511649e9de00d6abd8fdb2e58a7a6f8_rle_crop_4088544809_0.png.png imagette298876991767415265/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0780bf105a9490906ce624ec02a62068_59487958.png imagette298876971767415264 29887699 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29887699 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette298876991767415265 29887700 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29887700 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402146253: '1767352106_2786066_1402145415_116875a8fe63db8e9df41b15892d2356_rle_crop_4088544574_0.png', 1402146275: '1767352145_2788656_1402144623_8b472a65d47c234337fc7c25dcafd978_rle_crop_4088544823_0.png', 1402146846: '1767352344_2797009_1402146260_3b14dbaf6b5b754d269475c4dccbd835_rle_crop_4088546061_0.png', 1402146864: '1767352386_2798578_1402146262_aeb75e3d51e9b012b835335e76607822_rle_crop_4088546394_0.png', 1402146866: '1767352386_2798578_1402146207_3a825bcb71527a5e0f44c2a57f4fb3c7_rle_crop_4088546460_0.png', 1402148660: '1767354667_2904763_1402145415_116875a8fe63db8e9df41b15892d2356_rle_crop_4088544574_0.png', 1402148737: '1767354787_2912611_1402144623_8b472a65d47c234337fc7c25dcafd978_rle_crop_4088544823_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/176587acee45fcf012844c1a1a66bc36_8809325.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/36b79b11b7922849e4e478418be8c29f_84845052.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fd169f79781aee572591ad3c68b84dc1_42610253.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9331234c0f9c69dbaf32365193863f13_28837322.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/c2945744f71d9bf608b8b1ca541a036d_31291186.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/176587acee45fcf012844c1a1a66bc36_9422100.png change filename to text .imagette298877001767415265/ imagette298877001767415265/1767352145_2788656_1402144623_8b472a65d47c234337fc7c25dcafd978_rle_crop_4088544823_0.png.png imagette298877001767415265/1767352344_2797009_1402146260_3b14dbaf6b5b754d269475c4dccbd835_rle_crop_4088546061_0.png.png imagette298877001767415265/1767352106_2786066_1402145415_116875a8fe63db8e9df41b15892d2356_rle_crop_4088544574_0.png.png imagette298877001767415265/1767354667_2904763_1402145415_116875a8fe63db8e9df41b15892d2356_rle_crop_4088544574_0.png.png imagette298877001767415265/1767352386_2798578_1402146207_3a825bcb71527a5e0f44c2a57f4fb3c7_rle_crop_4088546460_0.png.png imagette298877001767415265/1767352386_2798578_1402146262_aeb75e3d51e9b012b835335e76607822_rle_crop_4088546394_0.png.png imagette298877001767415265/1767354787_2912611_1402144623_8b472a65d47c234337fc7c25dcafd978_rle_crop_4088544823_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/36b79b11b7922849e4e478418be8c29f_15749582.png imagette298877001767415265 29887701 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29887701 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402146256: '1767352106_2786066_1402145415_116875a8fe63db8e9df41b15892d2356_rle_crop_4088544570_0.png', 1402146796: '1767352285_2792832_1402144373_1df7caa3efc817cc11e3346bf737f0d3_rle_crop_4088545827_0.png', 1402148662: '1767354667_2904763_1402145415_116875a8fe63db8e9df41b15892d2356_rle_crop_4088544570_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ee10c232110e7571848843a092de5e8d_21970465.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/335564a94ac3f839f1efa548f4cddcb5_12413580.png change filename to text .imagette298877011767415266/ imagette298877011767415266/1767354667_2904763_1402145415_116875a8fe63db8e9df41b15892d2356_rle_crop_4088544570_0.png.png imagette298877011767415266/1767352285_2792832_1402144373_1df7caa3efc817cc11e3346bf737f0d3_rle_crop_4088545827_0.png.png imagette298877011767415266/1767352106_2786066_1402145415_116875a8fe63db8e9df41b15892d2356_rle_crop_4088544570_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/ee10c232110e7571848843a092de5e8d_42977894.png imagette298877011767415266 29887690 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29887690 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402146252: '1767352106_2786066_1402145415_116875a8fe63db8e9df41b15892d2356_rle_crop_4088544576_0.png', 1402146272: '1767352145_2788656_1402144603_22b98a024e2c0df281e8e8849ae8e377_rle_crop_4088544833_0.png', 1402146273: '1767352145_2788656_1402144603_22b98a024e2c0df281e8e8849ae8e377_rle_crop_4088544836_0.png', 1402146274: '1767352145_2788656_1402144568_d3f73db4e19371170a9cb4a691fa92e1_rle_crop_4088544852_0.png', 1402146789: '1767352285_2792832_1402144652_b711e01d4c2be1f852ea82264eaebdad_rle_crop_4088545797_0.png', 1402146790: '1767352285_2792832_1402144652_b711e01d4c2be1f852ea82264eaebdad_rle_crop_4088545796_0.png', 1402146791: '1767352285_2792832_1402144373_1df7caa3efc817cc11e3346bf737f0d3_rle_crop_4088545821_0.png', 1402146792: '1767352285_2792832_1402144364_6c1895156561ce2a49760314af19c324_rle_crop_4088545839_0.png', 1402146863: '1767352386_2798578_1402146227_1b45526d490fb21d58ef2bf16648c2d0_rle_crop_4088546436_0.png', 1402148659: '1767354667_2904763_1402145415_116875a8fe63db8e9df41b15892d2356_rle_crop_4088544576_0.png', 1402148734: '1767354787_2912611_1402144603_22b98a024e2c0df281e8e8849ae8e377_rle_crop_4088544833_0.png', 1402148735: '1767354787_2912611_1402144603_22b98a024e2c0df281e8e8849ae8e377_rle_crop_4088544836_0.png', 1402148736: '1767354787_2912611_1402144568_d3f73db4e19371170a9cb4a691fa92e1_rle_crop_4088544852_0.png', 1402150449: '1767355385_2930233_1402146809_4e2c6c59c828df9eedeb4a424f9cab01_rle_crop_4088571463_0.png', 1402150451: '1767355385_2930233_1402146478_159c44e14799272d41972336c877372f_rle_crop_4088571474_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/77d12c5b52b212da5af3977d26cb7f34_50475554.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d212a0c7a922b09781f1cc58c82b4ee3_91993272.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5c78dce41a9b94c8a012608e004f4f4b_85183544.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d41bc613edba130adda06fac340149c6_29779257.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0f7d44d9cb5e6cd1a2c0b2aca12faab1_16761043.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7fe64278ed2b155aa1932b882f1c2972_48007765.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d0cba096edc9171ae99d599b46ada8a0_28612056.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f5d0666c06408e4f48ef5676f3e52b47_21908075.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d9f342708169ffaff2e957ac7f24c40b_57462638.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/77d12c5b52b212da5af3977d26cb7f34_99493413.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d212a0c7a922b09781f1cc58c82b4ee3_31995139.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/5c78dce41a9b94c8a012608e004f4f4b_51517281.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/d41bc613edba130adda06fac340149c6_94641170.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f70b465feddc555d4ecaebcb1a437177_65526557.png change filename to text .imagette298876901767415266/ imagette298876901767415266/1767352285_2792832_1402144652_b711e01d4c2be1f852ea82264eaebdad_rle_crop_4088545797_0.png.png imagette298876901767415266/1767352145_2788656_1402144603_22b98a024e2c0df281e8e8849ae8e377_rle_crop_4088544836_0.png.png imagette298876901767415266/1767352285_2792832_1402144364_6c1895156561ce2a49760314af19c324_rle_crop_4088545839_0.png.png imagette298876901767415266/1767352285_2792832_1402144652_b711e01d4c2be1f852ea82264eaebdad_rle_crop_4088545796_0.png.png imagette298876901767415266/1767352145_2788656_1402144603_22b98a024e2c0df281e8e8849ae8e377_rle_crop_4088544833_0.png.png imagette298876901767415266/1767352285_2792832_1402144373_1df7caa3efc817cc11e3346bf737f0d3_rle_crop_4088545821_0.png.png imagette298876901767415266/1767352145_2788656_1402144568_d3f73db4e19371170a9cb4a691fa92e1_rle_crop_4088544852_0.png.png imagette298876901767415266/1767354787_2912611_1402144603_22b98a024e2c0df281e8e8849ae8e377_rle_crop_4088544836_0.png.png imagette298876901767415266/1767355385_2930233_1402146478_159c44e14799272d41972336c877372f_rle_crop_4088571474_0.png.png imagette298876901767415266/1767352386_2798578_1402146227_1b45526d490fb21d58ef2bf16648c2d0_rle_crop_4088546436_0.png.png imagette298876901767415266/1767354667_2904763_1402145415_116875a8fe63db8e9df41b15892d2356_rle_crop_4088544576_0.png.png imagette298876901767415266/1767355385_2930233_1402146809_4e2c6c59c828df9eedeb4a424f9cab01_rle_crop_4088571463_0.png.png imagette298876901767415266/1767354787_2912611_1402144603_22b98a024e2c0df281e8e8849ae8e377_rle_crop_4088544833_0.png.png imagette298876901767415266/1767354787_2912611_1402144568_d3f73db4e19371170a9cb4a691fa92e1_rle_crop_4088544852_0.png.png imagette298876901767415266/1767352106_2786066_1402145415_116875a8fe63db8e9df41b15892d2356_rle_crop_4088544576_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f70b465feddc555d4ecaebcb1a437177_92418383.png imagette298876901767415266 29887691 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29887691 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402147223: '1767352764_2813563_1402146807_42e86cc8dad33973073fd0d637fde432_rle_crop_4088546738_0.png', 1402150439: '1767355385_2930233_1402146478_159c44e14799272d41972336c877372f_rle_crop_4088571479_0.png', 1402150437: '1767355385_2930233_1402146809_4e2c6c59c828df9eedeb4a424f9cab01_rle_crop_4088571468_0.png', 1402148731: '1767354787_2912611_1402144568_d3f73db4e19371170a9cb4a691fa92e1_rle_crop_4088544858_0.png', 1402148730: '1767354787_2912611_1402144603_22b98a024e2c0df281e8e8849ae8e377_rle_crop_4088544842_0.png', 1402148729: '1767354787_2912611_1402144623_8b472a65d47c234337fc7c25dcafd978_rle_crop_4088544829_0.png', 1402148658: '1767354667_2904763_1402145415_116875a8fe63db8e9df41b15892d2356_rle_crop_4088544575_0.png', 1402148657: '1767354667_2904763_1402145440_10a787d8433ae8ab0fbc199c826a63e4_rle_crop_4088544548_0.png', 1402147224: '1767352764_2813563_1402146471_55e70889d2c20b780dd25d780b6249bb_rle_crop_4088546755_0.png', 1402146250: '1767352106_2786066_1402145440_10a787d8433ae8ab0fbc199c826a63e4_rle_crop_4088544548_0.png', 1402146778: '1767352285_2792832_1402144395_b0c53a46a9ab72771287868c229364e9_rle_crop_4088545808_0.png', 1402146776: '1767352285_2792832_1402144652_b711e01d4c2be1f852ea82264eaebdad_rle_crop_4088545800_0.png', 1402146589: '1767352265_2791596_1402145039_c447e555fbb3567c29da65554f405511_rle_crop_4088545698_0.png', 1402146587: '1767352265_2791596_1402145072_007c69730ad448806df06d4968313042_rle_crop_4088545688_0.png', 1402146268: '1767352145_2788656_1402144568_d3f73db4e19371170a9cb4a691fa92e1_rle_crop_4088544858_0.png', 1402146267: '1767352145_2788656_1402144603_22b98a024e2c0df281e8e8849ae8e377_rle_crop_4088544842_0.png', 1402146266: '1767352145_2788656_1402144623_8b472a65d47c234337fc7c25dcafd978_rle_crop_4088544829_0.png', 1402146251: '1767352106_2786066_1402145415_116875a8fe63db8e9df41b15892d2356_rle_crop_4088544575_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/57c5b81cce0144b42cd82530ef823881_55107889.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f3414a4ddd53c8a2d810efdf3f808c57_87421363.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f3414a4ddd53c8a2d810efdf3f808c57_83507918.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2d9cfeb9aa2fd4d6a1bfe2ba24896e5d_67091921.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fcb2e9acb59bfa3904249dc660bc213a_72372132.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e2ce34e39ccca034d0b6ac871ae3f004_29999642.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/adc1901f4f06e6ca4679884eca59d8a8_550080.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/78ea582bbcae5c74ed00a748e112e933_83089143.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/57c5b81cce0144b42cd82530ef823881_99672805.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/78ea582bbcae5c74ed00a748e112e933_98229174.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2b0ea6b9042006fc27dfdea75fa54266_93687510.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/84fb9711e98dad9de5c4a5b68e103ba0_11418994.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/939d306dbe42e8364be636f4758ab9d8_80118895.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/6ff131385ddf93a18ccf3beb64610a15_66343591.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/2d9cfeb9aa2fd4d6a1bfe2ba24896e5d_1306060.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/fcb2e9acb59bfa3904249dc660bc213a_83905284.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/e2ce34e39ccca034d0b6ac871ae3f004_93657426.png change filename to text .imagette298876911767415268/ imagette298876911767415268/1767354667_2904763_1402145440_10a787d8433ae8ab0fbc199c826a63e4_rle_crop_4088544548_0.png.png imagette298876911767415268/1767352764_2813563_1402146807_42e86cc8dad33973073fd0d637fde432_rle_crop_4088546738_0.png.png imagette298876911767415268/1767352764_2813563_1402146471_55e70889d2c20b780dd25d780b6249bb_rle_crop_4088546755_0.png.png imagette298876911767415268/1767352145_2788656_1402144623_8b472a65d47c234337fc7c25dcafd978_rle_crop_4088544829_0.png.png imagette298876911767415268/1767352285_2792832_1402144395_b0c53a46a9ab72771287868c229364e9_rle_crop_4088545808_0.png.png imagette298876911767415268/1767352285_2792832_1402144652_b711e01d4c2be1f852ea82264eaebdad_rle_crop_4088545800_0.png.png imagette298876911767415268/1767354787_2912611_1402144603_22b98a024e2c0df281e8e8849ae8e377_rle_crop_4088544842_0.png.png imagette298876911767415268/1767354787_2912611_1402144623_8b472a65d47c234337fc7c25dcafd978_rle_crop_4088544829_0.png.png imagette298876911767415268/1767354787_2912611_1402144568_d3f73db4e19371170a9cb4a691fa92e1_rle_crop_4088544858_0.png.png imagette298876911767415268/1767352145_2788656_1402144568_d3f73db4e19371170a9cb4a691fa92e1_rle_crop_4088544858_0.png.png imagette298876911767415268/1767352106_2786066_1402145440_10a787d8433ae8ab0fbc199c826a63e4_rle_crop_4088544548_0.png.png imagette298876911767415268/1767352106_2786066_1402145415_116875a8fe63db8e9df41b15892d2356_rle_crop_4088544575_0.png.png imagette298876911767415268/1767355385_2930233_1402146809_4e2c6c59c828df9eedeb4a424f9cab01_rle_crop_4088571468_0.png.png imagette298876911767415268/1767354667_2904763_1402145415_116875a8fe63db8e9df41b15892d2356_rle_crop_4088544575_0.png.png imagette298876911767415268/1767352265_2791596_1402145039_c447e555fbb3567c29da65554f405511_rle_crop_4088545698_0.png.png imagette298876911767415268/1767352145_2788656_1402144603_22b98a024e2c0df281e8e8849ae8e377_rle_crop_4088544842_0.png.png imagette298876911767415268/1767355385_2930233_1402146478_159c44e14799272d41972336c877372f_rle_crop_4088571479_0.png.png imagette298876911767415268/1767352265_2791596_1402145072_007c69730ad448806df06d4968313042_rle_crop_4088545688_0.png.png wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/adc1901f4f06e6ca4679884eca59d8a8_63198932.png imagette298876911767415268 29887698 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29887698 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402146277: '1767352145_2788656_1402144623_8b472a65d47c234337fc7c25dcafd978_rle_crop_4088544825_0.png', 1402146847: '1767352344_2797009_1402146259_30d4f1441ad1430e18074f45e6ca0a85_rle_crop_4088546075_0.png', 1402146867: '1767352386_2798578_1402146262_aeb75e3d51e9b012b835335e76607822_rle_crop_4088546395_0.png', 1402146868: '1767352386_2798578_1402146227_1b45526d490fb21d58ef2bf16648c2d0_rle_crop_4088546443_0.png', 1402146869: '1767352386_2798578_1402146207_3a825bcb71527a5e0f44c2a57f4fb3c7_rle_crop_4088546472_0.png', 1402148739: '1767354787_2912611_1402144623_8b472a65d47c234337fc7c25dcafd978_rle_crop_4088544825_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7a4effce3c5135ad891b2a7281148fc2_68211362.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/3a1a36fcfad5dc368c2070fef95d6730_54206479.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/8f479b115439ee14dbf9101c0ce3cb39_97649612.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/f43bb8965651b4f6301155a406c8e437_23164228.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/0282375eebd6909f86c318bcc955ddcf_81219839.png change filename to text .imagette298876981767415269/ imagette298876981767415269/1767352386_2798578_1402146207_3a825bcb71527a5e0f44c2a57f4fb3c7_rle_crop_4088546472_0.png.png imagette298876981767415269/1767352386_2798578_1402146227_1b45526d490fb21d58ef2bf16648c2d0_rle_crop_4088546443_0.png.png imagette298876981767415269/1767354787_2912611_1402144623_8b472a65d47c234337fc7c25dcafd978_rle_crop_4088544825_0.png.png imagette298876981767415269/1767352386_2798578_1402146262_aeb75e3d51e9b012b835335e76607822_rle_crop_4088546395_0.png.png imagette298876981767415269/1767352344_2797009_1402146259_30d4f1441ad1430e18074f45e6ca0a85_rle_crop_4088546075_0.png.png imagette298876981767415269/1767352145_2788656_1402144623_8b472a65d47c234337fc7c25dcafd978_rle_crop_4088544825_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7a4effce3c5135ad891b2a7281148fc2_88347246.png imagette298876981767415269 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29887673 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29887716,29887717,29887718,29887719,29887720,29887721,29887722,29887723,29887724,29887725,29887726,29887727?tags=Carton_gris,Teint_Dans_La_Masse,papier,mal_croppe,metal,environnement,plastique,autre_refus,Carton_brun,flou,cartonnette,kraft your option no_mail is active, we will not send the real mail to your client args[1402147135] : ('0.057370642562094114',) no score found for photo 1402147135 We are sending mail with results at report@fotonower.com args[1402146904] : ('0.057370642562094114',) no score found for photo 1402146904 We are sending mail with results at report@fotonower.com args[1402146809] : ('0.057370642562094114',) no score found for photo 1402146809 We are sending mail with results at report@fotonower.com args[1402146807] : ('0.057370642562094114',) no score found for photo 1402146807 We are sending mail with results at report@fotonower.com args[1402146805] : ('0.057370642562094114',) no score found for photo 1402146805 We are sending mail with results at report@fotonower.com args[1402146478] : ('0.057370642562094114',) no score found for photo 1402146478 We are sending mail with results at report@fotonower.com args[1402146471] : ('0.057370642562094114',) no score found for photo 1402146471 We are sending mail with results at report@fotonower.com args[1402146313] : ('0.057370642562094114',) no score found for photo 1402146313 We are sending mail with results at report@fotonower.com args[1402146262] : ('0.057370642562094114',) no score found for photo 1402146262 We are sending mail with results at report@fotonower.com args[1402146261] : ('0.057370642562094114',) no score found for photo 1402146261 We are sending mail with results at report@fotonower.com args[1402146260] : ('0.057370642562094114',) no score found for photo 1402146260 We are sending mail with results at report@fotonower.com args[1402146259] : ('0.057370642562094114',) no score found for photo 1402146259 We are sending mail with results at report@fotonower.com args[1402146238] : ('0.057370642562094114',) no score found for photo 1402146238 We are sending mail with results at report@fotonower.com args[1402146227] : ('0.057370642562094114',) no score found for photo 1402146227 We are sending mail with results at report@fotonower.com args[1402146207] : ('0.057370642562094114',) no score found for photo 1402146207 We are sending mail with results at report@fotonower.com args[1402146196] : ('0.057370642562094114',) no score found for photo 1402146196 We are sending mail with results at report@fotonower.com args[1402145971] : ('0.057370642562094114',) no score found for photo 1402145971 We are sending mail with results at report@fotonower.com args[1402145934] : ('0.057370642562094114',) no score found for photo 1402145934 We are sending mail with results at report@fotonower.com args[1402145442] : ('0.057370642562094114',) no score found for photo 1402145442 We are sending mail with results at report@fotonower.com args[1402145440] : ('0.057370642562094114',) no score found for photo 1402145440 We are sending mail with results at report@fotonower.com args[1402145430] : ('0.057370642562094114',) no score found for photo 1402145430 We are sending mail with results at report@fotonower.com args[1402145415] : ('0.057370642562094114',) no score found for photo 1402145415 We are sending mail with results at report@fotonower.com args[1402145103] : ('0.057370642562094114',) no score found for photo 1402145103 We are sending mail with results at report@fotonower.com args[1402145072] : ('0.057370642562094114',) no score found for photo 1402145072 We are sending mail with results at report@fotonower.com args[1402145039] : ('0.057370642562094114',) no score found for photo 1402145039 We are sending mail with results at report@fotonower.com args[1402144652] : ('0.057370642562094114',) no score found for photo 1402144652 We are sending mail with results at report@fotonower.com args[1402144623] : ('0.057370642562094114',) no score found for photo 1402144623 We are sending mail with results at report@fotonower.com args[1402144603] : ('0.057370642562094114',) no score found for photo 1402144603 We are sending mail with results at report@fotonower.com args[1402144568] : ('0.057370642562094114',) no score found for photo 1402144568 We are sending mail with results at report@fotonower.com args[1402144420] : ('0.057370642562094114',) no score found for photo 1402144420 We are sending mail with results at report@fotonower.com args[1402144395] : ('0.057370642562094114',) no score found for photo 1402144395 We are sending mail with results at report@fotonower.com args[1402144373] : ('0.057370642562094114',) no score found for photo 1402144373 We are sending mail with results at report@fotonower.com args[1402144364] : ('0.057370642562094114',) no score found for photo 1402144364 We are sending mail with results at report@fotonower.com args[1402143964] : ('0.057370642562094114',) no score found for photo 1402143964 We are sending mail with results at report@fotonower.com args[1402143527] : ('0.057370642562094114',) no score found for photo 1402143527 We are sending mail with results at report@fotonower.com args[1402143420] : ('0.057370642562094114',) no score found for photo 1402143420 We are sending mail with results at report@fotonower.com refus_total : 0.057370642562094114 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29887673 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_P29887673_03-01-2026_05_41_03.pdf results_Auto_P29887673_03-01-2026_05_41_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29887673_03-01-2026_05_41_03.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','29887673','results_Auto_P29887673_03-01-2026_05_41_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29887673_03-01-2026_05_41_03.pdf','pdf','','0.42','0.057370642562094114') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29887673]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1402147135, 1402146904, 1402146809, 1402146807, 1402146805, 1402146478, 1402146471, 1402146313, 1402146262, 1402146261, 1402146260, 1402146259, 1402146238, 1402146227, 1402146207, 1402146196, 1402145971, 1402145934, 1402145442, 1402145440, 1402145430, 1402145415, 1402145103, 1402145072, 1402145039, 1402144652, 1402144623, 1402144603, 1402144568, 1402144420, 1402144395, 1402144373, 1402144364, 1402143964, 1402143527, 1402143420] map_info['map_portfolio_photo'] : {29887673: [1402147135, 1402146904, 1402146809, 1402146807, 1402146805, 1402146478, 1402146471, 1402146313, 1402146262, 1402146261, 1402146260, 1402146259, 1402146238, 1402146227, 1402146207, 1402146196, 1402145971, 1402145934, 1402145442, 1402145440, 1402145430, 1402145415, 1402145103, 1402145072, 1402145039, 1402144652, 1402144623, 1402144603, 1402144568, 1402144420, 1402144395, 1402144373, 1402144364, 1402143964, 1402143527, 1402143420]} final : False mtd_id 4302 list_pids : [1402147135, 1402146904, 1402146809, 1402146807, 1402146805, 1402146478, 1402146471, 1402146313, 1402146262, 1402146261, 1402146260, 1402146259, 1402146238, 1402146227, 1402146207, 1402146196, 1402145971, 1402145934, 1402145442, 1402145440, 1402145430, 1402145415, 1402145103, 1402145072, 1402145039, 1402144652, 1402144623, 1402144603, 1402144568, 1402144420, 1402144395, 1402144373, 1402144364, 1402143964, 1402143527, 1402143420] 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, '4307380') ('4302', '29887673', '1402147135', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146904', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146809', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146807', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146805', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146478', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146471', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146313', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146262', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146261', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146260', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146259', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146238', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146227', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146207', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146196', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145971', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145934', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145442', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145440', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145430', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145415', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145103', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145072', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145039', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144652', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144623', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144603', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144568', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144420', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144395', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144373', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144364', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402143964', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402143527', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402143420', None, None, None, None, None, '4307380') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 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', '29887673', '1402147135', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146904', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146809', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146807', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146805', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146478', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146471', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146313', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146262', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146261', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146260', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146259', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146238', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146227', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146207', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146196', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145971', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145934', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145442', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145440', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145430', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145415', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145103', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145072', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145039', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144652', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144623', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144603', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144568', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144420', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144395', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144373', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144364', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402143964', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402143527', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402143420', None, None, None, None, None, '4307380')] time used for this insertion : 0.022835969924926758 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.42454743385315 time spend to save output : 0.02323126792907715 total time spend for step 4 : 10.447778701782227 step5:split_time_score Sat Jan 3 05:41:12 2026 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 : ['29887673'] 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 : [('29887673',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29887673) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1402146807: {'path': 'temp/1767415262_3191135_1402146807_42e86cc8dad33973073fd0d637fde432.jpg', 'extension': 'jpg'}, 1402146809: {'path': 'temp/1767415262_3191135_1402146809_4e2c6c59c828df9eedeb4a424f9cab01.jpg', 'extension': 'jpg'}, 1402146904: {'path': 'temp/1767415262_3191135_1402146904_66c945f1ba7c1d02397e91705090253d.jpg', 'extension': 'jpg'}, 1402147135: {'path': 'temp/1767415262_3191135_1402147135_a90cdf746142b41009ea5b470146beba.jpg', 'extension': 'jpg'}, 1402143420: {'path': 'temp/1767415262_3191135_1402143420_9fc0d3e016e98a2f89f0e3932d53c353.jpg', 'extension': 'jpg'}, 1402143527: {'path': 'temp/1767415262_3191135_1402143527_de96ada1ddc69ea7809c976988c10a25.jpg', 'extension': 'jpg'}, 1402143964: {'path': 'temp/1767415262_3191135_1402143964_03c5729e21fecdbeea91a933371efc51.jpg', 'extension': 'jpg'}, 1402144364: {'path': 'temp/1767415262_3191135_1402144364_6c1895156561ce2a49760314af19c324.jpg', 'extension': 'jpg'}, 1402144373: {'path': 'temp/1767415262_3191135_1402144373_1df7caa3efc817cc11e3346bf737f0d3.jpg', 'extension': 'jpg'}, 1402144395: {'path': 'temp/1767415262_3191135_1402144395_b0c53a46a9ab72771287868c229364e9.jpg', 'extension': 'jpg'}, 1402144420: {'path': 'temp/1767415262_3191135_1402144420_7bcf3dd92dd02597b313c671f90272b6.jpg', 'extension': 'jpg'}, 1402144568: {'path': 'temp/1767415262_3191135_1402144568_d3f73db4e19371170a9cb4a691fa92e1.jpg', 'extension': 'jpg'}, 1402144603: {'path': 'temp/1767415262_3191135_1402144603_22b98a024e2c0df281e8e8849ae8e377.jpg', 'extension': 'jpg'}, 1402144623: {'path': 'temp/1767415262_3191135_1402144623_8b472a65d47c234337fc7c25dcafd978.jpg', 'extension': 'jpg'}, 1402144652: {'path': 'temp/1767415262_3191135_1402144652_b711e01d4c2be1f852ea82264eaebdad.jpg', 'extension': 'jpg'}, 1402145039: {'path': 'temp/1767415262_3191135_1402145039_c447e555fbb3567c29da65554f405511.jpg', 'extension': 'jpg'}, 1402145072: {'path': 'temp/1767415262_3191135_1402145072_007c69730ad448806df06d4968313042.jpg', 'extension': 'jpg'}, 1402145103: {'path': 'temp/1767415262_3191135_1402145103_6511649e9de00d6abd8fdb2e58a7a6f8.jpg', 'extension': 'jpg'}, 1402145415: {'path': 'temp/1767415262_3191135_1402145415_116875a8fe63db8e9df41b15892d2356.jpg', 'extension': 'jpg'}, 1402145430: {'path': 'temp/1767415262_3191135_1402145430_98c407fbbcf93a0f4240e286bf58e625.jpg', 'extension': 'jpg'}, 1402145440: {'path': 'temp/1767415262_3191135_1402145440_10a787d8433ae8ab0fbc199c826a63e4.jpg', 'extension': 'jpg'}, 1402145442: {'path': 'temp/1767415262_3191135_1402145442_c1e14d697330f6a4ba9d10f804ffb3d2.jpg', 'extension': 'jpg'}, 1402145934: {'path': 'temp/1767415262_3191135_1402145934_4374d2e405a7943e7f93bfeb2d00c602.jpg', 'extension': 'jpg'}, 1402145971: {'path': 'temp/1767415262_3191135_1402145971_9e58e2605a4e1e10b4f44517126b1457.jpg', 'extension': 'jpg'}, 1402146196: {'path': 'temp/1767415262_3191135_1402146196_9e00155a98e1aba7286c0254c5d96a51.jpg', 'extension': 'jpg'}, 1402146207: {'path': 'temp/1767415262_3191135_1402146207_3a825bcb71527a5e0f44c2a57f4fb3c7.jpg', 'extension': 'jpg'}, 1402146227: {'path': 'temp/1767415262_3191135_1402146227_1b45526d490fb21d58ef2bf16648c2d0.jpg', 'extension': 'jpg'}, 1402146238: {'path': 'temp/1767415262_3191135_1402146238_67a13460a16d1f82f7582ce1fa0bde35.jpg', 'extension': 'jpg'}, 1402146259: {'path': 'temp/1767415262_3191135_1402146259_30d4f1441ad1430e18074f45e6ca0a85.jpg', 'extension': 'jpg'}, 1402146260: {'path': 'temp/1767415262_3191135_1402146260_3b14dbaf6b5b754d269475c4dccbd835.jpg', 'extension': 'jpg'}, 1402146261: {'path': 'temp/1767415262_3191135_1402146261_6b1fbc347b2d452f2a50d683d6aaac19.jpg', 'extension': 'jpg'}, 1402146262: {'path': 'temp/1767415262_3191135_1402146262_aeb75e3d51e9b012b835335e76607822.jpg', 'extension': 'jpg'}, 1402146313: {'path': 'temp/1767415262_3191135_1402146313_585fec7f9741586bd71e22e0d3277b4a.jpg', 'extension': 'jpg'}, 1402146471: {'path': 'temp/1767415262_3191135_1402146471_55e70889d2c20b780dd25d780b6249bb.jpg', 'extension': 'jpg'}, 1402146478: {'path': 'temp/1767415262_3191135_1402146478_159c44e14799272d41972336c877372f.jpg', 'extension': 'jpg'}, 1402146805: {'path': 'temp/1767415262_3191135_1402146805_ab0c0800bb7e35dd0c3fb7d9e5780758.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 = 29887673; (('arc_en_ciel_jrm_bis',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 29887673 group by h (('12', 36),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29887673 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 (29887673) 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 (29887673) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 02012026 29887673 Nombre de photos uploadées : 36 / 23040 (0%) 02012026 29887673 Nombre de photos taguées (types de déchets): 0 / 36 (0%) 02012026 29887673 Nombre de photos taguées (volume) : 0 / 36 (0%) [{'photo_id': 1402143527, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/de96ada1ddc69ea7809c976988c10a25.jpg', 'username': None, 'uploaded_at': 1767351678, 'text': 'image_02012026_12_00_04_010146m0.jpg 1e-05 for time 1, id_amount 0 this amount prod time diff : 1e-05'}, {'photo_id': 1402143420, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/9fc0d3e016e98a2f89f0e3932d53c353.jpg', 'username': None, 'uploaded_at': 1767351663, 'text': 'image_02012026_12_00_34_009131m0.jpg 2e-05 for time 1, id_amount 0 this amount prod time diff : 1e-05'}, {'photo_id': 1402143964, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/03c5729e21fecdbeea91a933371efc51.jpg', 'username': None, 'uploaded_at': 1767351727, 'text': 'image_02012026_12_00_54_010135m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1402144420, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/2/7bcf3dd92dd02597b313c671f90272b6.jpg', 'username': None, 'uploaded_at': 1767351787, 'text': 'image_02012026_12_01_24_10140.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ???????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016231536865234375 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29887673, '2026-01-02' ) 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 = '2026-01-02' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2829505,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.23487162590026855 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= 2829505 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29875698, 'dashboard_result_id': 18986196, '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_P29875698_03-01-2026_05_34_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29875700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29875701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29875702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29875703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29875704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29875705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29875706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29875707, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29875708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29875709, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29875710, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29875711, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29875852, 'dashboard_result_id': 18986197, '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_P29875852_03-01-2026_05_35_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29875855, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29875856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29875857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29875858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29875859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29875860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29875861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29875862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29875863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29875864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29875865, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29875866, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29876194, 'dashboard_result_id': 18986198, '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_P29876194_03-01-2026_05_35_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29876199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29876200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29876201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29876202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29876203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29876204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29876205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29876206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29876207, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29876208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29876209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29876210, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29876652, 'dashboard_result_id': 18986199, '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_P29876652_03-01-2026_05_35_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29876653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29876654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29876655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29876656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29876657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29876658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29876659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29876660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29876661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29876662, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29876663, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29876664, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29876801, 'dashboard_result_id': 18986200, '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_P29876801_03-01-2026_05_35_42.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29876851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29876852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29876853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29876854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29876855, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29876856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29876857, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29876858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29876859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29876860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29876861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29876862, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29877372, 'dashboard_result_id': 18986201, '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_P29877372_03-01-2026_05_36_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29877428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29877429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29877430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29877431, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29877432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29877433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29877434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29877435, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29877436, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29877437, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29877438, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29877439, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29878166, 'dashboard_result_id': 18986202, '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_P29878166_03-01-2026_05_36_12.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29878167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29878168, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29878169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29878170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29878171, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29878172, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29878173, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29878174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29878175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29878176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29878177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29878178, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29879046, 'dashboard_result_id': 18986203, '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_P29879046_03-01-2026_05_36_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29879072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29879073, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29879074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29879075, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29879076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29879077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29879078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29879079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29879080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29879081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29879082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29879083, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29879603, 'dashboard_result_id': 18986204, '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_P29879603_03-01-2026_05_37_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29879618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29879619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29879620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29879621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29879622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29879623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29879624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29879625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29879626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29879627, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29879628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29879629, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29880964, 'dashboard_result_id': 18986205, '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_P29880964_03-01-2026_05_37_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29880989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29880990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29880991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29880992, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29880993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29880994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29880995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29880996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29880997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29880998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29880999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29881000, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29882264, 'dashboard_result_id': 18986206, '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_P29882264_03-01-2026_05_37_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29882286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29882287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29882288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29882289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29882290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29882291, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29882292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29882293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29882294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29882295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29882296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29882297, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29882750, 'dashboard_result_id': 18986207, '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_P29882750_03-01-2026_05_38_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29882754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29882755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29882756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29882757, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29882758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29882759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29882760, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29882761, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29882762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29882763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29882764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29882765, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29883285, 'dashboard_result_id': 18986208, '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_P29883285_03-01-2026_05_38_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29883321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29883322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29883323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29883324, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29883325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29883326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29883327, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29883328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29883329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29883330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29883331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29883332, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29883844, 'dashboard_result_id': 18986209, '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_P29883844_03-01-2026_05_38_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29883853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29883854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29883855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29883856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29883857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29883858, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29883859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29883860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29883861, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29883862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29883863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29883864, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29885052, 'dashboard_result_id': 18986210, '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_P29885052_03-01-2026_05_39_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29885054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29885055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29885056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29885057, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29885058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29885059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29885060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29885061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29885062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29885063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29885064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29885065, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29885399, 'dashboard_result_id': 18986211, '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_P29885399_03-01-2026_05_39_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29885444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29885445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29885446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29885447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29885448, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29885449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29885450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29885451, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29885452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29885453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29885454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29885455, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29886087, 'dashboard_result_id': 18986212, '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_P29886087_03-01-2026_05_40_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29886092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29886093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29886094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29886095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29886096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29886097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29886098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29886099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29886100, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29886101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29886102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29886103, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29886560, 'dashboard_result_id': 18986213, '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_P29886560_03-01-2026_05_40_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29886572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29886573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29886574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29886575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29886576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29886577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29886578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29886579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29886580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29886581, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29886582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29886583, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29887236, 'dashboard_result_id': 18986214, '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_P29887236_03-01-2026_05_40_43.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29887240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29887241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29887242, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29887243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29887244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29887245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29887246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29887247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29887248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29887249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29887250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29887251, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29887673, 'dashboard_result_id': 18986215, '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_P29887673_02-01-2026_12_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29887690, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29887691, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29887692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29887693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29887694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29887695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29887696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29887697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29887698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29887699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29887700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29887701, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29888232, 'dashboard_result_id': 18986216, '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_P29888232_02-01-2026_12_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29888240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29888241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29888242, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29888243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29888244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29888245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29888246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29888247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29888248, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29888249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29888250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29888251, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29888770, 'dashboard_result_id': 18986217, '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_P29888770_02-01-2026_13_08_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29888790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29888791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29888792, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29888793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29888794, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29888795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29888796, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29888797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29888798, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29888799, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29888800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29888801, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29889878, 'dashboard_result_id': 18986218, '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_P29889878_02-01-2026_13_17_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29889898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29889899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29889900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29889901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29889902, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29889903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29889904, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29889905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29889906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29889907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29889908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29889909, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29890060, 'dashboard_result_id': 18986219, '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_P29890060_02-01-2026_13_33_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29890063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29890064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29890065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29890066, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29890067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29890068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29890069, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29890070, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29890071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29890072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29890073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29890074, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29890504, 'dashboard_result_id': 18986220, '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_P29890504_02-01-2026_13_46_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29890516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29890517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29890518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29890519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29890520, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29890521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29890522, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29890523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29890524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29890525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29890526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29890527, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29890924, 'dashboard_result_id': 18986221, '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_P29890924_02-01-2026_14_02_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29890934, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29890935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29890936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29890937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29890938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29890939, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29890940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29890941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29890942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29890943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29890944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29890945, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29891424, 'dashboard_result_id': 18986222, '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_P29891424_02-01-2026_14_16_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29891433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29891434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29891435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29891437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29891438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29891439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29891440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29891441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29891442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29891443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29891444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29891445, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29892105, 'dashboard_result_id': 18986223, '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_P29892105_02-01-2026_14_35_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29892106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29892107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29892108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29892109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29892110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29892111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29892112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29892113, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29892114, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29892115, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29892116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29892117, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29892650, 'dashboard_result_id': 18986224, '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_P29892650_02-01-2026_14_47_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29892689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29892690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29892691, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29892692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29892693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29892694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29892695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29892696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29892697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29892698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29892699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29892700, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29893171, 'dashboard_result_id': 18986225, '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_P29893171_02-01-2026_15_03_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29893172, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29893173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29893174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29893175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29893176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29893177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29893178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29893179, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29893180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29893181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29893182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29893183, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29893776, 'dashboard_result_id': 18986226, '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_P29893776_02-01-2026_15_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29893817, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29893818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29893819, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29893820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29893821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29893822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29893823, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29893824, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29893825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29893826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29893827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29893828, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29894441, 'dashboard_result_id': 18986227, '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_P29894441_02-01-2026_15_36_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29894449, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29894450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29894451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29894452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29894453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29894454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29894455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29894456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29894457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29894458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29894459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29894460, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29895005, 'dashboard_result_id': 18986228, '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_P29895005_02-01-2026_15_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29895061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29895062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29895063, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29895064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29895065, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29895066, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29895067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29895068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29895069, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29895070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29895071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29895072, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29895702, 'dashboard_result_id': 18986229, '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_P29895702_02-01-2026_16_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29895722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29895723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29895724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29895725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29895726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29895727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29895728, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29895729, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29895730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29895731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29895732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29895733, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29896238, 'dashboard_result_id': 18986230, '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_P29896238_02-01-2026_16_21_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29896312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29896313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29896314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29896315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29896316, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29896317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29896318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29896319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29896320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29896321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29896322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29896323, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29897129, 'dashboard_result_id': 18986231, '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_P29897129_02-01-2026_16_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29897136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29897137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29897138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29897139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29897140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29897141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29897142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29897143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29897144, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29897145, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29897146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29897147, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29897613, 'dashboard_result_id': 18986232, '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_P29897613_02-01-2026_16_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29897618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29897619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29897620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29897621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29897622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29897623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29897624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29897625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29897626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29897627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29897628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29897629, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29898068, 'dashboard_result_id': 18986233, '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_P29898068_02-01-2026_17_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29898083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29898084, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29898085, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29898086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29898087, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29898089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29898090, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29898091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29898092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29898093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29898094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29898095, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29898490, 'dashboard_result_id': 18986234, '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_P29898490_02-01-2026_17_18_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29898516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29898517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29898518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29898519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29898520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29898521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29898522, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29898523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29898524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29898525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29898526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29898527, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29899168, 'dashboard_result_id': 18986235, '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_P29899168_02-01-2026_17_52_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29899177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29899178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29899179, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29899180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29899181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29899182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29899183, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29899184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29899185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29899186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29899187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29899188, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29900303, 'dashboard_result_id': 18986236, '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_P29900303_02-01-2026_18_17_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29900308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29900309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29900310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29900311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29900312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29900313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29900314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29900315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29900316, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29900317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29900318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29900319, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29900838, 'dashboard_result_id': 18986237, '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_P29900838_02-01-2026_18_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29900849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29900850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29900851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29900852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29900853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29900854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29900855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29900856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29900857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29900858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29900859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29900860, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29901388, 'dashboard_result_id': 18986238, '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_P29901388_02-01-2026_18_46_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29901413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29901414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29901415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29901416, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29901417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29901418, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29901419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29901420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29901421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29901422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29901423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29901424, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29901916, 'dashboard_result_id': 18986239, '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_P29901916_02-01-2026_19_04_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29901936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29901937, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29901938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29901939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29901940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29901941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29901942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29901943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29901944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29901945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29901946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29901947, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29902501, 'dashboard_result_id': 18986240, '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_P29902501_02-01-2026_19_19_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29902545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29902546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29902547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29902548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29902549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29902550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29902551, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29902552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29902553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29902554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29902555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29902556, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29903031, 'dashboard_result_id': 18986241, '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_P29903031_02-01-2026_19_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29903045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29903047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29903048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29903049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29903050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29903051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29903052, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29903053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29903054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29903055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29903056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29903057, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29903494, 'dashboard_result_id': 18986242, '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_P29903494_02-01-2026_19_46_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29903530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29903531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29903532, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29903533, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29903534, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29903535, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29903536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29903537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29903538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29903539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29903540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29903541, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29904110, 'dashboard_result_id': 18986243, '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_P29904110_02-01-2026_20_02_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29904142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29904143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29904144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29904145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29904146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29904147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29904148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29904149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29904150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29904151, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29904152, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29904153, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29904812, 'dashboard_result_id': 18986244, '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_P29904812_02-01-2026_20_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29904842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29904843, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29904844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29904845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29904847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29904848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29904849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29904850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29904851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29904852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29904853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29904854, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29905479, 'dashboard_result_id': 18986245, '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_P29905479_02-01-2026_20_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29905521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29905522, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29905523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29905524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29905525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29905526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29905527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29905528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29905529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29905530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29905531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29905532, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29905988, 'dashboard_result_id': 18986246, '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_P29905988_02-01-2026_21_25_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29906014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29906015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29906016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29906017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29906018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29906019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29906020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29906021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29906022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29906023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29906024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29906025, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29907537, 'dashboard_result_id': 18986247, '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_P29907537_02-01-2026_21_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29907545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29907546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29907547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29907548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29907549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29907550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29907551, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29907552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29907553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29907554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29907555, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29907556, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29907711, 'dashboard_result_id': 18986248, '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_P29907711_02-01-2026_21_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29907716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29907717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29907718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29907719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29907720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29907721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29907722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29907723, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29907724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29907725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29907726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29907727, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29908158, 'dashboard_result_id': 18986249, '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_P29908158_02-01-2026_22_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29908163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29908164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29908165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29908166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29908167, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29908168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29908169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29908170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29908171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29908172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29908173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29908174, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29908576, 'dashboard_result_id': 18986250, '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_P29908576_02-01-2026_22_35_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29908616, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29908617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29908618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29908619, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29908620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29908621, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29908622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29908623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29908624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29908625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29908626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29908627, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29909326, 'dashboard_result_id': 18986251, '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_P29909326_02-01-2026_22_46_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29909337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29909338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29909339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29909340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29909341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29909342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29909343, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29909344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29909345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29909346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29909347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29909348, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29909754, 'dashboard_result_id': 18986252, '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_P29909754_02-01-2026_23_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29909758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29909759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29909760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29909761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29909762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29909763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29909764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29909765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29909766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29909767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29909768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29909769, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29910256, 'dashboard_result_id': 18986253, '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_P29910256_02-01-2026_23_17_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29910282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29910283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29910284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29910285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29910286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29910287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29910288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29910289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29910290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29910291, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29910292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29910293, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29911005, 'dashboard_result_id': 18986254, '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_P29911005_02-01-2026_23_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29911018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29911019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29911020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29911021, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29911022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29911023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29911024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29911025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29911027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29911029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29911031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29911033, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29911853, 'dashboard_result_id': 18986255, '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_P29911853_02-01-2026_23_49_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29911857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29911858, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29911859, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29911860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29911861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29911862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29911863, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29911864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29911865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29911866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29911868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29911869, 'pht': 3726}}"}, {'dashboat_entry_day': 2829505, 'dashboard_run_id': 2843968, 'mtr_portfolio_id': 29912568, 'dashboard_result_id': 18986256, '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_P29912568_03-01-2026_01_18_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29912572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29912573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29912574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29912575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29912576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29912577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29912578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29912579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29912580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29912581, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29912582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29912583, '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 = 29875698 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': 4307361, 'mtr_portfolio_id': 29875698, 'created_at': datetime.datetime(2026, 1, 3, 5, 34, 29), 'result': '0.07274215009862697', 'result_long': None, 'result_double': None}] Qualite : 0.07274215009862697 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29875698 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29875698_03-01-2026_05_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29875698 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_P29875698_03-01-2026_05_34_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29875700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29875701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29875702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29875703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29875704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29875705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29875706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29875707, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29875708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29875709, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29875710, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29875711, 'pht': 3726}}" where mtr_portfolio_id = 29875698 and dashboard_run_id = 2843968 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`=29875698 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986196, 0.07274215009862697, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29875698_03-01-2026_05_34_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29875700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29875701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29875702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29875703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29875704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29875705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29875706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29875707, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29875708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29875709, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29875710, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29875711, '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 = 29875852 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': 4307362, 'mtr_portfolio_id': 29875852, 'created_at': datetime.datetime(2026, 1, 3, 5, 34, 57), 'result': '0.055859014404849826', 'result_long': None, 'result_double': None}] Qualite : 0.055859014404849826 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29875852 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29875852_03-01-2026_05_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29875852 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_P29875852_03-01-2026_05_35_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29875855, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29875856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29875857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29875858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29875859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29875860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29875861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29875862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29875863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29875864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29875865, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29875866, 'pht': 3726}}" where mtr_portfolio_id = 29875852 and dashboard_run_id = 2843968 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`=29875852 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986197, 0.055859014404849826, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29875852_03-01-2026_05_35_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29875855, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29875856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29875857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29875858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29875859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29875860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29875861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29875862, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29875863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29875864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29875865, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29875866, '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 = 29876194 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': 4307363, 'mtr_portfolio_id': 29876194, 'created_at': datetime.datetime(2026, 1, 3, 5, 35, 28), 'result': '0.05190981045133743', 'result_long': None, 'result_double': None}] Qualite : 0.05190981045133743 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29876194 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29876194_03-01-2026_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29876194 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_P29876194_03-01-2026_05_35_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29876199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29876200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29876201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29876202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29876203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29876204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29876205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29876206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29876207, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29876208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29876209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29876210, 'pht': 3726}}" where mtr_portfolio_id = 29876194 and dashboard_run_id = 2843968 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`=29876194 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986198, 0.05190981045133743, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29876194_03-01-2026_05_35_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29876199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29876200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29876201, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29876202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29876203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29876204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29876205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29876206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29876207, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29876208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29876209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29876210, '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 = 29876652 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': 4307364, 'mtr_portfolio_id': 29876652, 'created_at': datetime.datetime(2026, 1, 3, 5, 35, 29), 'result': '0.05667050474487082', 'result_long': None, 'result_double': None}] Qualite : 0.05667050474487082 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29876652 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29876652_03-01-2026_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29876652 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_P29876652_03-01-2026_05_35_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29876653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29876654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29876655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29876656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29876657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29876658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29876659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29876660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29876661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29876662, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29876663, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29876664, 'pht': 3726}}" where mtr_portfolio_id = 29876652 and dashboard_run_id = 2843968 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`=29876652 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986199, 0.05667050474487082, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29876652_03-01-2026_05_35_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29876653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29876654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29876655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29876656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29876657, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29876658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29876659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29876660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29876661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29876662, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29876663, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29876664, '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 = 29876801 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': 4307365, 'mtr_portfolio_id': 29876801, 'created_at': datetime.datetime(2026, 1, 3, 5, 35, 39), 'result': '0.0413923653993657', 'result_long': None, 'result_double': None}] Qualite : 0.0413923653993657 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29876801 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29876801_03-01-2026_05_35_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29876801 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_P29876801_03-01-2026_05_35_42.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29876851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29876852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29876853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29876854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29876855, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29876856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29876857, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29876858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29876859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29876860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29876861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29876862, 'pht': 3726}}" where mtr_portfolio_id = 29876801 and dashboard_run_id = 2843968 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`=29876801 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986200, 0.0413923653993657, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29876801_03-01-2026_05_35_42.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29876851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29876852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29876853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29876854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29876855, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29876856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29876857, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29876858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29876859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29876860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29876861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29876862, '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 = 29877372 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': 4307366, 'mtr_portfolio_id': 29877372, 'created_at': datetime.datetime(2026, 1, 3, 5, 36), 'result': '0.06416023115725362', 'result_long': None, 'result_double': None}] Qualite : 0.06416023115725362 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29877372 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29877372_03-01-2026_05_36_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29877372 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_P29877372_03-01-2026_05_36_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29877428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29877429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29877430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29877431, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29877432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29877433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29877434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29877435, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29877436, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29877437, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29877438, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29877439, 'pht': 3726}}" where mtr_portfolio_id = 29877372 and dashboard_run_id = 2843968 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`=29877372 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986201, 0.06416023115725362, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29877372_03-01-2026_05_36_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29877428, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29877429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29877430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29877431, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29877432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29877433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29877434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29877435, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29877436, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29877437, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29877438, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29877439, '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 = 29878166 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': 4307367, 'mtr_portfolio_id': 29878166, 'created_at': datetime.datetime(2026, 1, 3, 5, 36, 9), 'result': '0.06324780481092188', 'result_long': None, 'result_double': None}] Qualite : 0.06324780481092188 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29878166 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29878166_03-01-2026_05_36_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29878166 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_P29878166_03-01-2026_05_36_12.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29878167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29878168, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29878169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29878170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29878171, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29878172, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29878173, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29878174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29878175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29878176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29878177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29878178, 'pht': 3726}}" where mtr_portfolio_id = 29878166 and dashboard_run_id = 2843968 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`=29878166 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986202, 0.06324780481092188, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29878166_03-01-2026_05_36_12.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29878167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29878168, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29878169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29878170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29878171, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29878172, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29878173, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29878174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29878175, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29878176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29878177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29878178, '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 = 29879046 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': 4307368, 'mtr_portfolio_id': 29879046, 'created_at': datetime.datetime(2026, 1, 3, 5, 36, 29), 'result': '0.07458467220813252', 'result_long': None, 'result_double': None}] Qualite : 0.07458467220813252 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29879046 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29879046_03-01-2026_05_36_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29879046 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_P29879046_03-01-2026_05_36_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29879072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29879073, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29879074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29879075, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29879076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29879077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29879078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29879079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29879080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29879081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29879082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29879083, 'pht': 3726}}" where mtr_portfolio_id = 29879046 and dashboard_run_id = 2843968 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`=29879046 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986203, 0.07458467220813252, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29879046_03-01-2026_05_36_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29879072, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29879073, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29879074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29879075, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29879076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29879077, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29879078, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29879079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29879080, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29879081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29879082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29879083, '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 = 29879603 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': 4307369, 'mtr_portfolio_id': 29879603, 'created_at': datetime.datetime(2026, 1, 3, 5, 36, 59), 'result': '0.07770828623260714', 'result_long': None, 'result_double': None}] Qualite : 0.07770828623260714 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29879603 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29879603_03-01-2026_05_37_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29879603 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_P29879603_03-01-2026_05_37_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29879618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29879619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29879620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29879621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29879622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29879623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29879624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29879625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29879626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29879627, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29879628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29879629, 'pht': 3726}}" where mtr_portfolio_id = 29879603 and dashboard_run_id = 2843968 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`=29879603 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986204, 0.07770828623260714, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29879603_03-01-2026_05_37_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29879618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29879619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29879620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29879621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29879622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29879623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29879624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29879625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29879626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29879627, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29879628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29879629, '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 = 29880964 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': 4307370, 'mtr_portfolio_id': 29880964, 'created_at': datetime.datetime(2026, 1, 3, 5, 37, 27), 'result': '0.03198435628878973', 'result_long': None, 'result_double': None}] Qualite : 0.03198435628878973 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29880964 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29880964_03-01-2026_05_37_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29880964 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_P29880964_03-01-2026_05_37_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29880989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29880990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29880991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29880992, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29880993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29880994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29880995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29880996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29880997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29880998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29880999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29881000, 'pht': 3726}}" where mtr_portfolio_id = 29880964 and dashboard_run_id = 2843968 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`=29880964 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986205, 0.03198435628878973, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29880964_03-01-2026_05_37_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29880989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29880990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29880991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29880992, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29880993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29880994, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29880995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29880996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29880997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29880998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29880999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29881000, '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 = 29882264 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': 4307371, 'mtr_portfolio_id': 29882264, 'created_at': datetime.datetime(2026, 1, 3, 5, 37, 31), 'result': '0.05310190630354253', 'result_long': None, 'result_double': None}] Qualite : 0.05310190630354253 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29882264 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29882264_03-01-2026_05_37_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29882264 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_P29882264_03-01-2026_05_37_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29882286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29882287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29882288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29882289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29882290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29882291, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29882292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29882293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29882294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29882295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29882296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29882297, 'pht': 3726}}" where mtr_portfolio_id = 29882264 and dashboard_run_id = 2843968 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`=29882264 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986206, 0.05310190630354253, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29882264_03-01-2026_05_37_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29882286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29882287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29882288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29882289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29882290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29882291, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29882292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29882293, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29882294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29882295, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29882296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29882297, '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 = 29882750 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': 4307372, 'mtr_portfolio_id': 29882750, 'created_at': datetime.datetime(2026, 1, 3, 5, 38), 'result': '0.04317030389036659', 'result_long': None, 'result_double': None}] Qualite : 0.04317030389036659 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29882750 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29882750_03-01-2026_05_38_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29882750 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_P29882750_03-01-2026_05_38_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29882754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29882755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29882756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29882757, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29882758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29882759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29882760, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29882761, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29882762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29882763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29882764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29882765, 'pht': 3726}}" where mtr_portfolio_id = 29882750 and dashboard_run_id = 2843968 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`=29882750 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986207, 0.04317030389036659, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29882750_03-01-2026_05_38_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29882754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29882755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29882756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29882757, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29882758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29882759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29882760, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29882761, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29882762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29882763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29882764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29882765, '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 = 29883285 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': 4307373, 'mtr_portfolio_id': 29883285, 'created_at': datetime.datetime(2026, 1, 3, 5, 38, 28), 'result': '0.04323241386656152', 'result_long': None, 'result_double': None}] Qualite : 0.04323241386656152 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29883285 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29883285_03-01-2026_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29883285 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_P29883285_03-01-2026_05_38_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29883321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29883322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29883323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29883324, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29883325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29883326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29883327, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29883328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29883329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29883330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29883331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29883332, 'pht': 3726}}" where mtr_portfolio_id = 29883285 and dashboard_run_id = 2843968 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`=29883285 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986208, 0.04323241386656152, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29883285_03-01-2026_05_38_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29883321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29883322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29883323, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29883324, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29883325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29883326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29883327, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29883328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29883329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29883330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29883331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29883332, '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 = 29883844 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': 4307374, 'mtr_portfolio_id': 29883844, 'created_at': datetime.datetime(2026, 1, 3, 5, 38, 56), 'result': '0.052731449078713376', 'result_long': None, 'result_double': None}] Qualite : 0.052731449078713376 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29883844 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29883844_03-01-2026_05_38_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29883844 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_P29883844_03-01-2026_05_38_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29883853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29883854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29883855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29883856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29883857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29883858, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29883859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29883860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29883861, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29883862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29883863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29883864, 'pht': 3726}}" where mtr_portfolio_id = 29883844 and dashboard_run_id = 2843968 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`=29883844 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986209, 0.052731449078713376, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29883844_03-01-2026_05_38_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29883853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29883854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29883855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29883856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29883857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29883858, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29883859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29883860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29883861, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29883862, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29883863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29883864, '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 = 29885052 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': 4307375, 'mtr_portfolio_id': 29885052, 'created_at': datetime.datetime(2026, 1, 3, 5, 39, 33), 'result': '0.06271936925534016', 'result_long': None, 'result_double': None}] Qualite : 0.06271936925534016 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29885052 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29885052_03-01-2026_05_39_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29885052 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_P29885052_03-01-2026_05_39_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29885054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29885055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29885056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29885057, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29885058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29885059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29885060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29885061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29885062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29885063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29885064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29885065, 'pht': 3726}}" where mtr_portfolio_id = 29885052 and dashboard_run_id = 2843968 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`=29885052 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986210, 0.06271936925534016, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29885052_03-01-2026_05_39_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29885054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29885055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29885056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29885057, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29885058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29885059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29885060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29885061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29885062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29885063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29885064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29885065, '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 = 29885399 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': 4307376, 'mtr_portfolio_id': 29885399, 'created_at': datetime.datetime(2026, 1, 3, 5, 39, 32), 'result': '0.058033769913851355', 'result_long': None, 'result_double': None}] Qualite : 0.058033769913851355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29885399 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29885399_03-01-2026_05_39_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29885399 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_P29885399_03-01-2026_05_39_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29885444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29885445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29885446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29885447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29885448, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29885449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29885450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29885451, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29885452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29885453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29885454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29885455, 'pht': 3726}}" where mtr_portfolio_id = 29885399 and dashboard_run_id = 2843968 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`=29885399 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986211, 0.058033769913851355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29885399_03-01-2026_05_39_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29885444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29885445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29885446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29885447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29885448, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29885449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29885450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29885451, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29885452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29885453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29885454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29885455, '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 = 29886087 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': 4307377, 'mtr_portfolio_id': 29886087, 'created_at': datetime.datetime(2026, 1, 3, 5, 40, 1), 'result': '0.10832652244464568', 'result_long': None, 'result_double': None}] Qualite : 0.10832652244464568 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29886087 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29886087_03-01-2026_05_40_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29886087 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_P29886087_03-01-2026_05_40_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29886092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29886093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29886094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29886095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29886096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29886097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29886098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29886099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29886100, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29886101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29886102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29886103, 'pht': 3726}}" where mtr_portfolio_id = 29886087 and dashboard_run_id = 2843968 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`=29886087 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986212, 0.10832652244464568, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29886087_03-01-2026_05_40_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29886092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29886093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29886094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29886095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29886096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29886097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29886098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29886099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29886100, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29886101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29886102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29886103, '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 = 29886560 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': 4307378, 'mtr_portfolio_id': 29886560, 'created_at': datetime.datetime(2026, 1, 3, 5, 40, 29), 'result': '0.08915960235760535', 'result_long': None, 'result_double': None}] Qualite : 0.08915960235760535 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29886560 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29886560_03-01-2026_05_40_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29886560 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_P29886560_03-01-2026_05_40_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29886572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29886573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29886574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29886575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29886576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29886577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29886578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29886579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29886580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29886581, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29886582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29886583, 'pht': 3726}}" where mtr_portfolio_id = 29886560 and dashboard_run_id = 2843968 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`=29886560 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986213, 0.08915960235760535, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29886560_03-01-2026_05_40_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29886572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29886573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29886574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29886575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29886576, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29886577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29886578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29886579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29886580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29886581, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29886582, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29886583, '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 = 29887236 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': 4307379, 'mtr_portfolio_id': 29887236, 'created_at': datetime.datetime(2026, 1, 3, 5, 40, 41), 'result': '0.05458790318713223', 'result_long': None, 'result_double': None}] Qualite : 0.05458790318713223 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29887236 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29887236_03-01-2026_05_40_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29887236 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_P29887236_03-01-2026_05_40_43.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29887240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29887241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29887242, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29887243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29887244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29887245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29887246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29887247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29887248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29887249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29887250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29887251, 'pht': 3726}}" where mtr_portfolio_id = 29887236 and dashboard_run_id = 2843968 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`=29887236 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986214, 0.05458790318713223, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29887236_03-01-2026_05_40_43.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29887240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29887241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29887242, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29887243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29887244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29887245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29887246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29887247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29887248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29887249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29887250, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29887251, '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 = 29887673 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': 4307380, 'mtr_portfolio_id': 29887673, 'created_at': datetime.datetime(2026, 1, 3, 5, 41, 1), 'result': '0.057370642562094114', 'result_long': None, 'result_double': None}] Qualite : 0.057370642562094114 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29887673 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29887673_03-01-2026_05_41_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29887673 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_P29887673_03-01-2026_05_41_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29887690, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29887691, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29887692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29887693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29887694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29887695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29887696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29887697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29887698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29887699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29887700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29887701, 'pht': 3726}}" where mtr_portfolio_id = 29887673 and dashboard_run_id = 2843968 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`=29887673 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986215, 0.057370642562094114, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29887673_03-01-2026_05_41_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29887690, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29887691, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29887692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29887693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29887694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29887695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29887696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29887697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29887698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29887699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29887700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29887701, '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 = 29888232 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': 4307381, 'mtr_portfolio_id': 29888232, 'created_at': datetime.datetime(2026, 1, 3, 5, 41, 11), 'result': '0.04838891707514917', 'result_long': None, 'result_double': None}] Qualite : 0.04838891707514917 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29888232 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29888232_02-01-2026_12_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29888232 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_P29888232_02-01-2026_12_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29888240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29888241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29888242, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29888243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29888244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29888245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29888246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29888247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29888248, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29888249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29888250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29888251, 'pht': 3726}}" where mtr_portfolio_id = 29888232 and dashboard_run_id = 2843968 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`=29888232 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986216, 0.04838891707514917, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29888232_02-01-2026_12_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29888240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29888241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29888242, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29888243, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29888244, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29888245, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29888246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29888247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29888248, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29888249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29888250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29888251, '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 = 29888770 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': 4302916, 'mtr_portfolio_id': 29888770, 'created_at': datetime.datetime(2026, 1, 2, 13, 8, 58), 'result': '0.05506664571258238', 'result_long': None, 'result_double': None}] Qualite : 0.05506664571258238 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29888770 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29888770_02-01-2026_13_08_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29888770 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_P29888770_02-01-2026_13_08_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29888790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29888791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29888792, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29888793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29888794, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29888795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29888796, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29888797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29888798, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29888799, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29888800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29888801, 'pht': 3726}}" where mtr_portfolio_id = 29888770 and dashboard_run_id = 2843968 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`=29888770 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986217, 0.05506664571258238, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29888770_02-01-2026_13_08_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29888790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29888791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29888792, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29888793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29888794, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29888795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29888796, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29888797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29888798, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29888799, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29888800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29888801, '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 = 29889878 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': 4303076, 'mtr_portfolio_id': 29889878, 'created_at': datetime.datetime(2026, 1, 2, 13, 17), 'result': '0.09911732814472843', 'result_long': None, 'result_double': None}] Qualite : 0.09911732814472843 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29889878 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29889878_02-01-2026_13_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29889878 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_P29889878_02-01-2026_13_17_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29889898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29889899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29889900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29889901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29889902, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29889903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29889904, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29889905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29889906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29889907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29889908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29889909, 'pht': 3726}}" where mtr_portfolio_id = 29889878 and dashboard_run_id = 2843968 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`=29889878 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986218, 0.09911732814472843, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29889878_02-01-2026_13_17_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29889898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29889899, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29889900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29889901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29889902, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29889903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29889904, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29889905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29889906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29889907, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29889908, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29889909, '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 = 29890060 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': 4303090, 'mtr_portfolio_id': 29890060, 'created_at': datetime.datetime(2026, 1, 2, 13, 33, 58), 'result': '0.07105733348894742', 'result_long': None, 'result_double': None}] Qualite : 0.07105733348894742 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29890060 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29890060_02-01-2026_13_33_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29890060 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_P29890060_02-01-2026_13_33_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29890063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29890064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29890065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29890066, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29890067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29890068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29890069, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29890070, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29890071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29890072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29890073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29890074, 'pht': 3726}}" where mtr_portfolio_id = 29890060 and dashboard_run_id = 2843968 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`=29890060 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986219, 0.07105733348894742, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29890060_02-01-2026_13_33_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29890063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29890064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29890065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29890066, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29890067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29890068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29890069, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29890070, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29890071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29890072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29890073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29890074, '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 = 29890504 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': 4303142, 'mtr_portfolio_id': 29890504, 'created_at': datetime.datetime(2026, 1, 2, 13, 46, 56), 'result': '0.056420807414961145', 'result_long': None, 'result_double': None}] Qualite : 0.056420807414961145 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29890504 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29890504_02-01-2026_13_46_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29890504 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_P29890504_02-01-2026_13_46_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29890516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29890517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29890518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29890519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29890520, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29890521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29890522, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29890523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29890524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29890525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29890526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29890527, 'pht': 3726}}" where mtr_portfolio_id = 29890504 and dashboard_run_id = 2843968 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`=29890504 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986220, 0.056420807414961145, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29890504_02-01-2026_13_46_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29890516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29890517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29890518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29890519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29890520, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29890521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29890522, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29890523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29890524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29890525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29890526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29890527, '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 = 29890924 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': 4303188, 'mtr_portfolio_id': 29890924, 'created_at': datetime.datetime(2026, 1, 2, 14, 2, 58), 'result': '0.079831616121379', 'result_long': None, 'result_double': None}] Qualite : 0.079831616121379 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29890924 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29890924_02-01-2026_14_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29890924 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_P29890924_02-01-2026_14_02_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29890934, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29890935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29890936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29890937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29890938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29890939, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29890940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29890941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29890942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29890943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29890944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29890945, 'pht': 3726}}" where mtr_portfolio_id = 29890924 and dashboard_run_id = 2843968 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`=29890924 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986221, 0.079831616121379, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29890924_02-01-2026_14_02_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29890934, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29890935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29890936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29890937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29890938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29890939, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29890940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29890941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29890942, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29890943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29890944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29890945, '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 = 29891424 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': 4303285, 'mtr_portfolio_id': 29891424, 'created_at': datetime.datetime(2026, 1, 2, 14, 16, 58), 'result': '0.046792705370101925', 'result_long': None, 'result_double': None}] Qualite : 0.046792705370101925 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29891424 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29891424_02-01-2026_14_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29891424 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_P29891424_02-01-2026_14_16_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29891433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29891434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29891435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29891437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29891438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29891439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29891440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29891441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29891442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29891443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29891444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29891445, 'pht': 3726}}" where mtr_portfolio_id = 29891424 and dashboard_run_id = 2843968 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`=29891424 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986222, 0.046792705370101925, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29891424_02-01-2026_14_16_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29891433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29891434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29891435, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29891437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29891438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29891439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29891440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29891441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29891442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29891443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29891444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29891445, '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 = 29892105 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': 4303352, 'mtr_portfolio_id': 29892105, 'created_at': datetime.datetime(2026, 1, 2, 14, 35), 'result': '0.06105726088478828', 'result_long': None, 'result_double': None}] Qualite : 0.06105726088478828 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29892105 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29892105_02-01-2026_14_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29892105 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_P29892105_02-01-2026_14_35_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29892106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29892107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29892108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29892109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29892110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29892111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29892112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29892113, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29892114, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29892115, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29892116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29892117, 'pht': 3726}}" where mtr_portfolio_id = 29892105 and dashboard_run_id = 2843968 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`=29892105 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986223, 0.06105726088478828, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29892105_02-01-2026_14_35_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29892106, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29892107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29892108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29892109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29892110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29892111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29892112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29892113, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29892114, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29892115, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29892116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29892117, '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 = 29892650 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': 4303427, 'mtr_portfolio_id': 29892650, 'created_at': datetime.datetime(2026, 1, 2, 14, 47, 1), 'result': '0.03527696537591814', 'result_long': None, 'result_double': None}] Qualite : 0.03527696537591814 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29892650 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29892650_02-01-2026_14_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29892650 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_P29892650_02-01-2026_14_47_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29892689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29892690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29892691, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29892692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29892693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29892694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29892695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29892696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29892697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29892698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29892699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29892700, 'pht': 3726}}" where mtr_portfolio_id = 29892650 and dashboard_run_id = 2843968 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`=29892650 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986224, 0.03527696537591814, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29892650_02-01-2026_14_47_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29892689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29892690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29892691, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29892692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29892693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29892694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29892695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29892696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29892697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29892698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29892699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29892700, '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 = 29893171 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': 4303493, 'mtr_portfolio_id': 29893171, 'created_at': datetime.datetime(2026, 1, 2, 15, 3), 'result': '0.045061703716999746', 'result_long': None, 'result_double': None}] Qualite : 0.045061703716999746 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29893171 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29893171_02-01-2026_15_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29893171 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_P29893171_02-01-2026_15_03_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29893172, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29893173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29893174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29893175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29893176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29893177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29893178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29893179, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29893180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29893181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29893182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29893183, 'pht': 3726}}" where mtr_portfolio_id = 29893171 and dashboard_run_id = 2843968 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`=29893171 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986225, 0.045061703716999746, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29893171_02-01-2026_15_03_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29893172, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29893173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29893174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29893175, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29893176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29893177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29893178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29893179, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29893180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29893181, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29893182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29893183, '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 = 29893776 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': 4303574, 'mtr_portfolio_id': 29893776, 'created_at': datetime.datetime(2026, 1, 2, 15, 18, 58), 'result': '0.07794110649306499', 'result_long': None, 'result_double': None}] Qualite : 0.07794110649306499 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29893776 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29893776_02-01-2026_15_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29893776 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_P29893776_02-01-2026_15_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29893817, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29893818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29893819, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29893820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29893821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29893822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29893823, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29893824, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29893825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29893826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29893827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29893828, 'pht': 3726}}" where mtr_portfolio_id = 29893776 and dashboard_run_id = 2843968 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`=29893776 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986226, 0.07794110649306499, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29893776_02-01-2026_15_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29893817, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29893818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29893819, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29893820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29893821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29893822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29893823, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29893824, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29893825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29893826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29893827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29893828, '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 = 29894441 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': 4303647, 'mtr_portfolio_id': 29894441, 'created_at': datetime.datetime(2026, 1, 2, 15, 36, 59), 'result': '0.08483958364526402', 'result_long': None, 'result_double': None}] Qualite : 0.08483958364526402 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29894441 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29894441_02-01-2026_15_36_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29894441 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_P29894441_02-01-2026_15_36_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29894449, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29894450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29894451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29894452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29894453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29894454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29894455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29894456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29894457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29894458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29894459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29894460, 'pht': 3726}}" where mtr_portfolio_id = 29894441 and dashboard_run_id = 2843968 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`=29894441 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986227, 0.08483958364526402, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29894441_02-01-2026_15_36_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29894449, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29894450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29894451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29894452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29894453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29894454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29894455, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29894456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29894457, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29894458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29894459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29894460, '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 = 29895005 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': 4303727, 'mtr_portfolio_id': 29895005, 'created_at': datetime.datetime(2026, 1, 2, 15, 48, 58), 'result': '0.0718212665345088', 'result_long': None, 'result_double': None}] Qualite : 0.0718212665345088 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29895005 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29895005_02-01-2026_15_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29895005 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_P29895005_02-01-2026_15_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29895061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29895062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29895063, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29895064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29895065, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29895066, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29895067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29895068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29895069, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29895070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29895071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29895072, 'pht': 3726}}" where mtr_portfolio_id = 29895005 and dashboard_run_id = 2843968 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`=29895005 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986228, 0.0718212665345088, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29895005_02-01-2026_15_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29895061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29895062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29895063, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29895064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29895065, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29895066, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29895067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29895068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29895069, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29895070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29895071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29895072, '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 = 29895702 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': 4303807, 'mtr_portfolio_id': 29895702, 'created_at': datetime.datetime(2026, 1, 2, 16, 3), 'result': '0.054649581136266466', 'result_long': None, 'result_double': None}] Qualite : 0.054649581136266466 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29895702 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29895702_02-01-2026_16_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29895702 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_P29895702_02-01-2026_16_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29895722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29895723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29895724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29895725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29895726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29895727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29895728, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29895729, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29895730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29895731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29895732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29895733, 'pht': 3726}}" where mtr_portfolio_id = 29895702 and dashboard_run_id = 2843968 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`=29895702 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986229, 0.054649581136266466, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29895702_02-01-2026_16_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29895722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29895723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29895724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29895725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29895726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29895727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29895728, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29895729, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29895730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29895731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29895732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29895733, '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 = 29896238 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': 4303874, 'mtr_portfolio_id': 29896238, 'created_at': datetime.datetime(2026, 1, 2, 16, 21, 7), 'result': '0.05911623085800866', 'result_long': None, 'result_double': None}] Qualite : 0.05911623085800866 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29896238 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29896238_02-01-2026_16_21_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29896238 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_P29896238_02-01-2026_16_21_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29896312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29896313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29896314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29896315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29896316, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29896317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29896318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29896319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29896320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29896321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29896322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29896323, 'pht': 3726}}" where mtr_portfolio_id = 29896238 and dashboard_run_id = 2843968 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`=29896238 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986230, 0.05911623085800866, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29896238_02-01-2026_16_21_08.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29896312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29896313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29896314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29896315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29896316, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29896317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29896318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29896319, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29896320, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29896321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29896322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29896323, '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 = 29897129 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': 4304002, 'mtr_portfolio_id': 29897129, 'created_at': datetime.datetime(2026, 1, 2, 16, 32, 57), 'result': '0.03116362495641212', 'result_long': None, 'result_double': None}] Qualite : 0.03116362495641212 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29897129 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29897129_02-01-2026_16_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29897129 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_P29897129_02-01-2026_16_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29897136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29897137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29897138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29897139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29897140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29897141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29897142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29897143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29897144, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29897145, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29897146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29897147, 'pht': 3726}}" where mtr_portfolio_id = 29897129 and dashboard_run_id = 2843968 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`=29897129 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986231, 0.03116362495641212, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29897129_02-01-2026_16_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29897136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29897137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29897138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29897139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29897140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29897141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29897142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29897143, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29897144, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29897145, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29897146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29897147, '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 = 29897613 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': 4304064, 'mtr_portfolio_id': 29897613, 'created_at': datetime.datetime(2026, 1, 2, 16, 46, 58), 'result': '0.06094242492538722', 'result_long': None, 'result_double': None}] Qualite : 0.06094242492538722 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29897613 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29897613_02-01-2026_16_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29897613 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_P29897613_02-01-2026_16_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29897618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29897619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29897620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29897621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29897622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29897623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29897624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29897625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29897626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29897627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29897628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29897629, 'pht': 3726}}" where mtr_portfolio_id = 29897613 and dashboard_run_id = 2843968 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`=29897613 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986232, 0.06094242492538722, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29897613_02-01-2026_16_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29897618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29897619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29897620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29897621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29897622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29897623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29897624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29897625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29897626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29897627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29897628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29897629, '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 = 29898068 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': 4304119, 'mtr_portfolio_id': 29898068, 'created_at': datetime.datetime(2026, 1, 2, 17, 2, 58), 'result': '0.045811819455751364', 'result_long': None, 'result_double': None}] Qualite : 0.045811819455751364 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29898068 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29898068_02-01-2026_17_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29898068 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_P29898068_02-01-2026_17_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29898083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29898084, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29898085, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29898086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29898087, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29898089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29898090, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29898091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29898092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29898093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29898094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29898095, 'pht': 3726}}" where mtr_portfolio_id = 29898068 and dashboard_run_id = 2843968 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`=29898068 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986233, 0.045811819455751364, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29898068_02-01-2026_17_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29898083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29898084, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29898085, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29898086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29898087, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29898089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29898090, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29898091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29898092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29898093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29898094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29898095, '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 = 29898490 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': 4304198, 'mtr_portfolio_id': 29898490, 'created_at': datetime.datetime(2026, 1, 2, 17, 18, 57), 'result': '0.05724271603098407', 'result_long': None, 'result_double': None}] Qualite : 0.05724271603098407 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29898490 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29898490_02-01-2026_17_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29898490 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_P29898490_02-01-2026_17_18_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29898516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29898517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29898518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29898519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29898520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29898521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29898522, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29898523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29898524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29898525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29898526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29898527, 'pht': 3726}}" where mtr_portfolio_id = 29898490 and dashboard_run_id = 2843968 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`=29898490 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986234, 0.05724271603098407, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29898490_02-01-2026_17_18_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29898516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29898517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29898518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29898519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29898520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29898521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29898522, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29898523, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29898524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29898525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29898526, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29898527, '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 = 29899168 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': 4304283, 'mtr_portfolio_id': 29899168, 'created_at': datetime.datetime(2026, 1, 2, 17, 52, 29), 'result': '0.04271108041213191', 'result_long': None, 'result_double': None}] Qualite : 0.04271108041213191 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29899168 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29899168_02-01-2026_17_52_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29899168 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_P29899168_02-01-2026_17_52_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29899177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29899178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29899179, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29899180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29899181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29899182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29899183, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29899184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29899185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29899186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29899187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29899188, 'pht': 3726}}" where mtr_portfolio_id = 29899168 and dashboard_run_id = 2843968 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`=29899168 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986235, 0.04271108041213191, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29899168_02-01-2026_17_52_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29899177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29899178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29899179, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29899180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29899181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29899182, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29899183, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29899184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29899185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29899186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29899187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29899188, '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 = 29900303 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': 4304452, 'mtr_portfolio_id': 29900303, 'created_at': datetime.datetime(2026, 1, 2, 18, 17), 'result': '0.06912347675507098', 'result_long': None, 'result_double': None}] Qualite : 0.06912347675507098 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29900303 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29900303_02-01-2026_18_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29900303 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_P29900303_02-01-2026_18_17_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29900308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29900309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29900310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29900311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29900312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29900313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29900314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29900315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29900316, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29900317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29900318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29900319, 'pht': 3726}}" where mtr_portfolio_id = 29900303 and dashboard_run_id = 2843968 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`=29900303 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986236, 0.06912347675507098, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29900303_02-01-2026_18_17_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29900308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29900309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29900310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29900311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29900312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29900313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29900314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29900315, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29900316, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29900317, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29900318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29900319, '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 = 29900838 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': 4304501, 'mtr_portfolio_id': 29900838, 'created_at': datetime.datetime(2026, 1, 2, 18, 32, 59), 'result': '0.052012152644834456', 'result_long': None, 'result_double': None}] Qualite : 0.052012152644834456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29900838 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29900838_02-01-2026_18_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29900838 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_P29900838_02-01-2026_18_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29900849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29900850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29900851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29900852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29900853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29900854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29900855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29900856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29900857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29900858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29900859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29900860, 'pht': 3726}}" where mtr_portfolio_id = 29900838 and dashboard_run_id = 2843968 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`=29900838 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986237, 0.052012152644834456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29900838_02-01-2026_18_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29900849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29900850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29900851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29900852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29900853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29900854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29900855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29900856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29900857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29900858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29900859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29900860, '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 = 29901388 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': 4304569, 'mtr_portfolio_id': 29901388, 'created_at': datetime.datetime(2026, 1, 2, 18, 46, 31), 'result': '0.05494588966590225', 'result_long': None, 'result_double': None}] Qualite : 0.05494588966590225 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29901388 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29901388_02-01-2026_18_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29901388 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_P29901388_02-01-2026_18_46_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29901413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29901414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29901415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29901416, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29901417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29901418, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29901419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29901420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29901421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29901422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29901423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29901424, 'pht': 3726}}" where mtr_portfolio_id = 29901388 and dashboard_run_id = 2843968 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`=29901388 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986238, 0.05494588966590225, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29901388_02-01-2026_18_46_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29901413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29901414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29901415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29901416, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29901417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29901418, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29901419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29901420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29901421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29901422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29901423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29901424, '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 = 29901916 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': 4304644, 'mtr_portfolio_id': 29901916, 'created_at': datetime.datetime(2026, 1, 2, 19, 4, 58), 'result': '0.03951752090233809', 'result_long': None, 'result_double': None}] Qualite : 0.03951752090233809 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29901916 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29901916_02-01-2026_19_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29901916 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_P29901916_02-01-2026_19_04_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29901936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29901937, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29901938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29901939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29901940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29901941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29901942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29901943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29901944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29901945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29901946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29901947, 'pht': 3726}}" where mtr_portfolio_id = 29901916 and dashboard_run_id = 2843968 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`=29901916 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986239, 0.03951752090233809, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29901916_02-01-2026_19_04_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29901936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29901937, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29901938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29901939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29901940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29901941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29901942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29901943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29901944, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29901945, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29901946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29901947, '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 = 29902501 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': 4304731, 'mtr_portfolio_id': 29902501, 'created_at': datetime.datetime(2026, 1, 2, 19, 19, 1), 'result': '0.06561308362454339', 'result_long': None, 'result_double': None}] Qualite : 0.06561308362454339 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29902501 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29902501_02-01-2026_19_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29902501 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_P29902501_02-01-2026_19_19_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29902545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29902546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29902547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29902548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29902549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29902550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29902551, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29902552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29902553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29902554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29902555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29902556, 'pht': 3726}}" where mtr_portfolio_id = 29902501 and dashboard_run_id = 2843968 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`=29902501 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986240, 0.06561308362454339, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29902501_02-01-2026_19_19_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29902545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29902546, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29902547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29902548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29902549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29902550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29902551, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29902552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29902553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29902554, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29902555, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29902556, '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 = 29903031 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': 4304799, 'mtr_portfolio_id': 29903031, 'created_at': datetime.datetime(2026, 1, 2, 19, 32, 59), 'result': '0.05133018317967559', 'result_long': None, 'result_double': None}] Qualite : 0.05133018317967559 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29903031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29903031_02-01-2026_19_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29903031 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_P29903031_02-01-2026_19_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29903045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29903047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29903048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29903049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29903050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29903051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29903052, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29903053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29903054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29903055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29903056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29903057, 'pht': 3726}}" where mtr_portfolio_id = 29903031 and dashboard_run_id = 2843968 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`=29903031 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986241, 0.05133018317967559, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29903031_02-01-2026_19_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29903045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29903047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29903048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29903049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29903050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29903051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29903052, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29903053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29903054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29903055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29903056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29903057, '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 = 29903494 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': 4304882, 'mtr_portfolio_id': 29903494, 'created_at': datetime.datetime(2026, 1, 2, 19, 46, 58), 'result': '0.06064402395390294', 'result_long': None, 'result_double': None}] Qualite : 0.06064402395390294 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29903494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29903494_02-01-2026_19_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29903494 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_P29903494_02-01-2026_19_46_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29903530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29903531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29903532, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29903533, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29903534, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29903535, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29903536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29903537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29903538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29903539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29903540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29903541, 'pht': 3726}}" where mtr_portfolio_id = 29903494 and dashboard_run_id = 2843968 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`=29903494 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986242, 0.06064402395390294, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29903494_02-01-2026_19_46_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29903530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29903531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29903532, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29903533, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29903534, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29903535, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29903536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29903537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29903538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29903539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29903540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29903541, '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 = 29904110 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': 4304967, 'mtr_portfolio_id': 29904110, 'created_at': datetime.datetime(2026, 1, 2, 20, 2, 57), 'result': '0.06587742889826728', 'result_long': None, 'result_double': None}] Qualite : 0.06587742889826728 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29904110 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29904110_02-01-2026_20_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29904110 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_P29904110_02-01-2026_20_02_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29904142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29904143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29904144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29904145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29904146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29904147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29904148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29904149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29904150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29904151, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29904152, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29904153, 'pht': 3726}}" where mtr_portfolio_id = 29904110 and dashboard_run_id = 2843968 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`=29904110 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986243, 0.06587742889826728, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29904110_02-01-2026_20_02_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29904142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29904143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29904144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29904145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29904146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29904147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29904148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29904149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29904150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29904151, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29904152, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29904153, '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 = 29904812 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': 4305107, 'mtr_portfolio_id': 29904812, 'created_at': datetime.datetime(2026, 1, 2, 20, 19, 1), 'result': '0.06330056276896624', 'result_long': None, 'result_double': None}] Qualite : 0.06330056276896624 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29904812 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29904812_02-01-2026_20_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29904812 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_P29904812_02-01-2026_20_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29904842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29904843, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29904844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29904845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29904847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29904848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29904849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29904850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29904851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29904852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29904853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29904854, 'pht': 3726}}" where mtr_portfolio_id = 29904812 and dashboard_run_id = 2843968 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`=29904812 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986244, 0.06330056276896624, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29904812_02-01-2026_20_19_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29904842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29904843, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29904844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29904845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29904847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29904848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29904849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29904850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29904851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29904852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29904853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29904854, '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 = 29905479 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': 4305182, 'mtr_portfolio_id': 29905479, 'created_at': datetime.datetime(2026, 1, 2, 20, 33), 'result': '0.049568554370176744', 'result_long': None, 'result_double': None}] Qualite : 0.049568554370176744 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29905479 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29905479_02-01-2026_20_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29905479 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_P29905479_02-01-2026_20_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29905521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29905522, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29905523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29905524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29905525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29905526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29905527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29905528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29905529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29905530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29905531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29905532, 'pht': 3726}}" where mtr_portfolio_id = 29905479 and dashboard_run_id = 2843968 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`=29905479 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986245, 0.049568554370176744, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29905479_02-01-2026_20_33_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29905521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29905522, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29905523, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29905524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29905525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29905526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29905527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29905528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29905529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29905530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29905531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29905532, '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 = 29905988 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': 4305259, 'mtr_portfolio_id': 29905988, 'created_at': datetime.datetime(2026, 1, 2, 21, 24, 59), 'result': '0.038620115929746866', 'result_long': None, 'result_double': None}] Qualite : 0.038620115929746866 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29905988 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29905988_02-01-2026_21_25_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29905988 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_P29905988_02-01-2026_21_25_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29906014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29906015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29906016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29906017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29906018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29906019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29906020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29906021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29906022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29906023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29906024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29906025, 'pht': 3726}}" where mtr_portfolio_id = 29905988 and dashboard_run_id = 2843968 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`=29905988 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986246, 0.038620115929746866, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29905988_02-01-2026_21_25_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29906014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29906015, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29906016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29906017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29906018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29906019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29906020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29906021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29906022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29906023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29906024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29906025, '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 = 29907537 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': 4305486, 'mtr_portfolio_id': 29907537, 'created_at': datetime.datetime(2026, 1, 2, 21, 35, 1), 'result': '0.03157986921880527', 'result_long': None, 'result_double': None}] Qualite : 0.03157986921880527 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29907537 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29907537_02-01-2026_21_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29907537 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_P29907537_02-01-2026_21_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29907545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29907546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29907547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29907548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29907549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29907550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29907551, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29907552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29907553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29907554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29907555, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29907556, 'pht': 3726}}" where mtr_portfolio_id = 29907537 and dashboard_run_id = 2843968 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`=29907537 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986247, 0.03157986921880527, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29907537_02-01-2026_21_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29907545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29907546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29907547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29907548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29907549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29907550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29907551, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29907552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29907553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29907554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29907555, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29907556, '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 = 29907711 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': 4305510, 'mtr_portfolio_id': 29907711, 'created_at': datetime.datetime(2026, 1, 2, 21, 48, 59), 'result': '0.06332027679145667', 'result_long': None, 'result_double': None}] Qualite : 0.06332027679145667 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29907711 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29907711_02-01-2026_21_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29907711 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_P29907711_02-01-2026_21_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29907716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29907717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29907718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29907719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29907720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29907721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29907722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29907723, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29907724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29907725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29907726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29907727, 'pht': 3726}}" where mtr_portfolio_id = 29907711 and dashboard_run_id = 2843968 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`=29907711 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986248, 0.06332027679145667, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29907711_02-01-2026_21_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29907716, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29907717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29907718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29907719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29907720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29907721, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29907722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29907723, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29907724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29907725, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29907726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29907727, '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 = 29908158 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': 4305561, 'mtr_portfolio_id': 29908158, 'created_at': datetime.datetime(2026, 1, 2, 22, 2, 59), 'result': '0.03867376145840559', 'result_long': None, 'result_double': None}] Qualite : 0.03867376145840559 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29908158 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29908158_02-01-2026_22_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29908158 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_P29908158_02-01-2026_22_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29908163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29908164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29908165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29908166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29908167, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29908168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29908169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29908170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29908171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29908172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29908173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29908174, 'pht': 3726}}" where mtr_portfolio_id = 29908158 and dashboard_run_id = 2843968 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`=29908158 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986249, 0.03867376145840559, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29908158_02-01-2026_22_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29908163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29908164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29908165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29908166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29908167, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29908168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29908169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29908170, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29908171, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29908172, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29908173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29908174, '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 = 29908576 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': 4305621, 'mtr_portfolio_id': 29908576, 'created_at': datetime.datetime(2026, 1, 2, 22, 35), 'result': '0.06987271778908716', 'result_long': None, 'result_double': None}] Qualite : 0.06987271778908716 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29908576 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29908576_02-01-2026_22_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29908576 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_P29908576_02-01-2026_22_35_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29908616, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29908617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29908618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29908619, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29908620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29908621, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29908622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29908623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29908624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29908625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29908626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29908627, 'pht': 3726}}" where mtr_portfolio_id = 29908576 and dashboard_run_id = 2843968 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`=29908576 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986250, 0.06987271778908716, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29908576_02-01-2026_22_35_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29908616, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29908617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29908618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29908619, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29908620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29908621, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29908622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29908623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29908624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29908625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29908626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29908627, '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 = 29909326 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': 4305734, 'mtr_portfolio_id': 29909326, 'created_at': datetime.datetime(2026, 1, 2, 22, 46, 30), 'result': '0.027830287894983985', 'result_long': None, 'result_double': None}] Qualite : 0.027830287894983985 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29909326 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29909326_02-01-2026_22_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29909326 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_P29909326_02-01-2026_22_46_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29909337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29909338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29909339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29909340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29909341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29909342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29909343, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29909344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29909345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29909346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29909347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29909348, 'pht': 3726}}" where mtr_portfolio_id = 29909326 and dashboard_run_id = 2843968 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`=29909326 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986251, 0.027830287894983985, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29909326_02-01-2026_22_46_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29909337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29909338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29909339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29909340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29909341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29909342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29909343, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29909344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29909345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29909346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29909347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29909348, '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 = 29909754 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': 4305793, 'mtr_portfolio_id': 29909754, 'created_at': datetime.datetime(2026, 1, 2, 23, 3), 'result': '0.043728545745057315', 'result_long': None, 'result_double': None}] Qualite : 0.043728545745057315 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29909754 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29909754_02-01-2026_23_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29909754 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_P29909754_02-01-2026_23_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29909758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29909759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29909760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29909761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29909762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29909763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29909764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29909765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29909766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29909767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29909768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29909769, 'pht': 3726}}" where mtr_portfolio_id = 29909754 and dashboard_run_id = 2843968 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`=29909754 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986252, 0.043728545745057315, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29909754_02-01-2026_23_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29909758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29909759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29909760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29909761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29909762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29909763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29909764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29909765, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29909766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29909767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29909768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29909769, '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 = 29910256 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': 4305943, 'mtr_portfolio_id': 29910256, 'created_at': datetime.datetime(2026, 1, 2, 23, 16, 59), 'result': '0.04271603229990521', 'result_long': None, 'result_double': None}] Qualite : 0.04271603229990521 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29910256 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29910256_02-01-2026_23_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29910256 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_P29910256_02-01-2026_23_17_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29910282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29910283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29910284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29910285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29910286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29910287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29910288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29910289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29910290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29910291, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29910292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29910293, 'pht': 3726}}" where mtr_portfolio_id = 29910256 and dashboard_run_id = 2843968 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`=29910256 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986253, 0.04271603229990521, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29910256_02-01-2026_23_17_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29910282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29910283, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29910284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29910285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29910286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29910287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29910288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29910289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29910290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29910291, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29910292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29910293, '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 = 29911005 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': 4306003, 'mtr_portfolio_id': 29911005, 'created_at': datetime.datetime(2026, 1, 2, 23, 32, 58), 'result': '0.0598534229773076', 'result_long': None, 'result_double': None}] Qualite : 0.0598534229773076 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29911005 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29911005_02-01-2026_23_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29911005 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_P29911005_02-01-2026_23_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29911018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29911019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29911020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29911021, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29911022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29911023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29911024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29911025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29911027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29911029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29911031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29911033, 'pht': 3726}}" where mtr_portfolio_id = 29911005 and dashboard_run_id = 2843968 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`=29911005 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986254, 0.0598534229773076, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29911005_02-01-2026_23_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29911018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29911019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29911020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29911021, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29911022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29911023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29911024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29911025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29911027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29911029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29911031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29911033, '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 = 29911853 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': 4306072, 'mtr_portfolio_id': 29911853, 'created_at': datetime.datetime(2026, 1, 2, 23, 49, 28), 'result': '0.04800628313011301', 'result_long': None, 'result_double': None}] Qualite : 0.04800628313011301 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29911853 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29911853_02-01-2026_23_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29911853 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_P29911853_02-01-2026_23_49_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29911857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29911858, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29911859, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29911860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29911861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29911862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29911863, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29911864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29911865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29911866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29911868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29911869, 'pht': 3726}}" where mtr_portfolio_id = 29911853 and dashboard_run_id = 2843968 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`=29911853 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986255, 0.04800628313011301, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29911853_02-01-2026_23_49_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29911857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29911858, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29911859, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29911860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29911861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29911862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29911863, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29911864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29911865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29911866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29911868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29911869, '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 = 29912568 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': 4306131, 'mtr_portfolio_id': 29912568, 'created_at': datetime.datetime(2026, 1, 3, 1, 18, 29), 'result': '0.0456784653623209', 'result_long': None, 'result_double': None}] Qualite : 0.0456784653623209 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29912568 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29912568_03-01-2026_01_18_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29912568 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_P29912568_03-01-2026_01_18_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29912572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29912573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29912574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29912575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29912576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29912577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29912578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29912579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29912580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29912581, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29912582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29912583, 'pht': 3726}}" where mtr_portfolio_id = 29912568 and dashboard_run_id = 2843968 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`=29912568 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18986256, 0.0456784653623209, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29912568_03-01-2026_01_18_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29912572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29912573, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29912574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29912575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29912576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29912577, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29912578, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29912579, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29912580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29912581, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29912582, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29912583, '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 (29875698,29875852,29876194,29876652,29876801,29877372,29878166,29879046,29879603,29880964,29882264,29882750,29883285,29883844,29885052,29885399,29886087,29886560,29887236,29887673,29888232,29888770,29889878,29890060,29890504,29890924,29891424,29892105,29892650,29893171,29893776,29894441,29895005,29895702,29896238,29897129,29897613,29898068,29898490,29899168,29900303,29900838,29901388,29901916,29902501,29903031,29903494,29904110,29904812,29905479,29905988,29907537,29907711,29908158,29908576,29909326,29909754,29910256,29911005,29911853,29912568) result : ((1402107997,), (1402108121,), (1402108122,), (1402108136,), (1402108137,), (1402108139,), (1402108157,), (1402108158,), (1402108174,), (1402108176,), (1402108178,), (1402108195,), (1402108197,), (1402108198,), (1402108199,), (1402108223,), (1402108221,), (1402108243,), (1402108244,), (1402108245,), (1402108246,), (1402108250,), (1402108280,), (1402108282,), (1402108284,), (1402108309,), (1402108310,), (1402108311,), (1402108312,), (1402108316,), (1402108342,), (1402108344,), (1402108346,), (1402108349,), (1402108352,), (1402108355,), (1402108362,), (1402108363,), (1402108364,), (1402108369,), (1402108371,), (1402108372,), (1402108396,), (1402108397,), (1402108398,), (1402108399,), (1402108417,), (1402108419,), (1402108440,), (1402108441,), (1402108442,), (1402108464,), (1402108466,), (1402108489,), (1402108491,), (1402108493,), (1402108495,), (1402108499,), (1402108515,), (1402108517,), (1402108518,), (1402108519,), (1402108546,), (1402108547,), (1402108549,), (1402108552,), (1402108555,), (1402108568,), (1402108570,), (1402108572,), (1402108601,), (1402108603,), (1402108628,), (1402108625,), (1402108626,), (1402108646,), (1402108648,), (1402108665,), (1402108666,), (1402108690,), (1402108691,), (1402108693,), (1402108717,), (1402108718,), (1402108719,), (1402108744,), (1402108746,), (1402108769,), (1402108771,), (1402108774,), (1402108794,), (1402108798,), (1402108801,), (1402108805,), (1402108809,), (1402108819,), (1402108821,), (1402108823,), (1402108846,), (1402108847,), (1402108848,), (1402108849,), (1402108851,), (1402108853,), (1402108872,), (1402108874,), (1402108876,), (1402108897,), (1402108899,), (1402108900,), (1402108902,), (1402108924,), (1402109147,), (1402109145,), (1402109179,), (1402109180,), (1402109198,), (1402109199,), (1402109200,), (1402109221,), (1402109223,), (1402109224,), (1402109237,), (1402109239,), (1402109242,), (1402109245,), (1402109261,), (1402109264,), (1402109268,), (1402109273,), (1402109277,), (1402109308,), (1402109344,), (1402109388,), (1402110195,), (1402110146,), (1402110174,), (1402110184,), (1402110362,), (1402110363,), (1402110364,), (1402110365,), (1402110367,), (1402110382,), (1402110384,), (1402110387,), (1402110391,), (1402110408,), (1402110410,), (1402110412,), (1402110415,), (1402110438,), (1402110441,), (1402110442,), (1402110444,), (1402110616,), (1402110632,), (1402110636,), (1402110638,), (1402110642,), (1402110655,), (1402110657,), (1402110678,), (1402110679,), (1402110680,), (1402110682,), (1402110697,), (1402110699,), (1402110711,), (1402110830,), (1402110835,), (1402110846,), (1402110854,), (1402110883,), (1402110887,), (1402110889,), (1402110902,), (1402110950,), (1402110954,), (1402110977,), (1402110978,), (1402110980,), (1402110982,), (1402110985,), (1402110988,), (1402111007,), (1402111009,), (1402111012,), (1402111015,), (1402111035,), (1402111037,), (1402111039,), (1402111041,), (1402111043,), (1402111079,), (1402111074,), (1402111075,), (1402111077,), (1402111095,), (1402111097,), (1402111104,), (1402111131,), (1402111142,), (1402111174,), (1402111211,), (1402111246,), (1402111324,), (1402111325,), (1402111326,), (1402111328,), (1402111332,), (1402111448,), (1402111463,), (1402111466,), (1402111526,), (1402111568,), (1402111601,), (1402111671,), (1402111677,), (1402111712,), (1402111736,), (1402111737,), (1402111741,), (1402111773,), (1402111775,), (1402111777,), (1402111779,), (1402111783,), (1402111858,), (1402111890,), (1402111901,), (1402111915,), (1402112101,), (1402112143,), (1402112173,), (1402112206,), (1402112304,), (1402112305,), (1402112306,), (1402112323,), (1402112325,), (1402112327,), (1402112329,), (1402112353,), (1402112354,), (1402112356,), (1402112368,), (1402112734,), (1402112736,), (1402112737,), (1402112759,), (1402112790,), (1402113028,), (1402113069,), (1402113083,), (1402113084,), (1402113146,), (1402113153,), (1402113165,), (1402113223,), (1402113213,), (1402113214,), (1402113216,), (1402113219,), (1402113433,), (1402113512,), (1402113520,), (1402113560,), (1402113576,), (1402113658,), (1402113659,), (1402113661,), (1402113684,), (1402113712,), (1402113714,), (1402113717,), (1402113736,), (1402113745,), (1402113967,), (1402113969,), (1402113971,), (1402114131,), (1402114174,), (1402114175,), (1402114216,), (1402114302,), (1402114303,), (1402114305,), (1402114307,), (1402114617,), (1402114644,), (1402114648,), (1402114652,), (1402114687,), (1402114712,), (1402114741,), (1402114743,), (1402114761,), (1402114846,), (1402114848,), (1402114850,), (1402114853,), (1402114867,), (1402114869,), (1402114877,), (1402115241,), (1402115256,), (1402115288,), (1402115306,), (1402115325,), (1402115326,), (1402115328,), (1402115331,), (1402115445,), (1402115447,), (1402115471,), (1402115499,), (1402115500,), (1402115503,), (1402115504,), (1402115508,), (1402115545,), (1402115532,), (1402115534,), (1402115537,), (1402115539,), (1402115542,), (1402115734,), (1402115735,), (1402115767,), (1402116105,), (1402116106,), (1402116108,), (1402116110,), (1402116138,), (1402116139,), (1402116141,), (1402116142,), (1402116162,), (1402116164,), (1402116167,), (1402116186,), (1402116340,), (1402116356,), (1402116357,), (1402116360,), (1402116398,), (1402116400,), (1402116424,), (1402116425,), (1402116426,), (1402116428,), (1402116443,), (1402116445,), (1402116447,), (1402116475,), (1402116476,), (1402116478,), (1402116480,), (1402116612,), (1402116615,), (1402116618,), (1402116642,), (1402116647,), (1402116651,), (1402116635,), (1402116637,), (1402116639,), (1402116679,), (1402116701,), (1402116732,), (1402117153,), (1402117191,), (1402117249,), (1402117315,), (1402117374,), (1402117436,), (1402117879,), (1402117880,), (1402117882,), (1402118318,), (1402118426,), (1402118428,), (1402118429,), (1402118448,), (1402118450,), (1402118479,), (1402118501,), (1402118502,), (1402118504,), (1402118570,), (1402118572,), (1402118592,), (1402118593,), (1402118619,), (1402118625,), (1402118628,), (1402118642,), (1402118644,), (1402118645,), (1402118864,), (1402120314,), (1402120321,), (1402120689,), (1402120721,), (1402120797,), (1402120799,), (1402120821,), (1402121078,), (1402121080,), (1402121298,), (1402121312,), (1402121317,), (1402121329,), (1402121343,), (1402121469,), (1402121471,), (1402121544,), (1402121741,), (1402121742,), (1402121800,), (1402121809,), (1402126312,), (1402126560,), (1402126566,), (1402126568,), (1402126571,), (1402126674,), (1402126688,), (1402126745,), (1402126765,), (1402126771,), (1402126788,), (1402127066,), (1402127092,), (1402127093,), (1402127157,), (1402127162,), (1402127164,), (1402127167,), (1402127170,), (1402127172,), (1402127183,), (1402127184,), (1402127185,), (1402127213,), (1402127216,), (1402127218,), (1402127220,), (1402127223,), (1402127263,), (1402127264,), (1402127265,), (1402127701,), (1402127733,), (1402127766,), (1402127799,), (1402128190,), (1402128224,), (1402128230,), (1402128232,), (1402128408,), (1402128447,), (1402128481,), (1402128505,), (1402128752,), (1402128786,), (1402128829,), (1402128853,), (1402129170,), (1402129134,), (1402129324,), (1402129357,), (1402129408,), (1402129409,), (1402129411,), (1402129414,), (1402129438,), (1402129439,), (1402129441,), (1402129444,), (1402129728,), (1402129758,), (1402129795,), (1402129798,), (1402129801,), (1402129804,), (1402129814,), (1402129815,), (1402129817,), (1402129852,), (1402129853,), (1402129855,), (1402129870,), (1402129871,), (1402129890,), (1402129892,), (1402129894,), (1402129918,), (1402129920,), (1402129923,), (1402129942,), (1402129965,), (1402129967,), (1402129969,), (1402129972,), (1402129975,), (1402130059,), (1402130069,), (1402130079,), (1402130117,), (1402130119,), (1402130120,), (1402130122,), (1402130125,), (1402130890,), (1402130958,), (1402131023,), (1402131069,), (1402131160,), (1402131294,), (1402131356,), (1402131361,), (1402131383,), (1402131679,), (1402131651,), (1402131673,), (1402131676,), (1402131805,), (1402131810,), (1402131812,), (1402131851,), (1402131995,), (1402131996,), (1402131998,), (1402132025,), (1402132026,), (1402132027,), (1402132030,), (1402132061,), (1402132062,), (1402132064,), (1402132067,), (1402132096,), (1402132098,), (1402132100,), (1402132103,), (1402132107,), (1402132138,), (1402132139,), (1402132141,), (1402132262,), (1402132273,), (1402132275,), (1402132278,), (1402132295,), (1402132296,), (1402132297,), (1402132396,), (1402132436,), (1402132470,), (1402132502,), (1402132657,), (1402132697,), (1402132698,), (1402132701,), (1402132714,), (1402132716,), (1402132720,), (1402132770,), (1402132771,), (1402132794,), (1402132795,), (1402132797,), (1402132799,), (1402132802,), (1402132805,), (1402132954,), (1402132987,), (1402133014,), (1402133017,), (1402133063,), (1402133057,), (1402133058,), (1402133059,), (1402133060,), (1402133198,), (1402133200,), (1402133202,), (1402133205,), (1402133223,), (1402133225,), (1402133227,), (1402133229,), (1402133232,), (1402133391,), (1402133398,), (1402133399,), (1402133400,), (1402133403,), (1402133429,), (1402133547,), (1402133550,), (1402133552,), (1402133555,), (1402133558,), (1402133560,), (1402133566,), (1402133568,), (1402133570,), (1402133572,), (1402133574,), (1402133577,), (1402133578,), (1402133581,), (1402133584,), (1402133590,), (1402133593,), (1402133610,), (1402133612,), (1402133614,), (1402133617,), (1402133669,), (1402133670,), (1402133679,), (1402133681,), (1402133684,), (1402133686,), (1402133737,), (1402133739,), (1402133742,), (1402133745,), (1402133798,), (1402133799,), (1402133800,), (1402133802,), (1402133805,), (1402133807,), (1402133828,), (1402133830,), (1402133832,), (1402133835,), (1402133838,), (1402133855,), (1402133856,), (1402133857,), (1402133858,), (1402133862,), (1402133864,), (1402133910,), (1402133912,), (1402133914,), (1402133917,), (1402133921,), (1402133935,), (1402133971,), (1402133973,), (1402134017,), (1402134899,), (1402134929,), (1402134931,), (1402134933,), (1402134935,), (1402134938,), (1402134962,), (1402135006,), (1402135008,), (1402135010,), (1402135044,), (1402135045,), (1402135046,), (1402135048,), (1402135150,), (1402135152,), (1402135154,), (1402135157,), (1402135201,), (1402135202,), (1402135204,), (1402135211,), (1402135292,), (1402135295,), (1402135297,), (1402135316,), (1402135318,), (1402135320,), (1402135323,), (1402135397,), (1402135427,), (1402135458,), (1402136052,), (1402136087,), (1402136124,), (1402136158,), (1402136160,), (1402136163,), (1402136367,), (1402136359,), (1402136362,), (1402136365,), (1402136383,), (1402136386,), (1402136388,), (1402136390,), (1402136393,), (1402136407,), (1402136408,), (1402136409,), (1402136410,), (1402136412,), (1402137035,), (1402137045,), (1402137089,), (1402137175,), (1402137422,), (1402137453,), (1402137487,), (1402137520,), (1402137554,), (1402137930,), (1402137963,), (1402137995,), (1402138028,), (1402138221,), (1402138257,), (1402138294,), (1402138612,), (1402138618,), (1402138626,), (1402138641,), (1402138706,), (1402138708,), (1402138758,), (1402138759,), (1402138760,), (1402138761,), (1402138763,), (1402138765,), (1402138819,), (1402138826,), (1402138828,), (1402138919,), (1402138962,), (1402139009,), (1402139270,), (1402139272,), (1402139273,), (1402139373,), (1402139374,), (1402139480,), (1402139501,), (1402139503,), (1402139545,), (1402139546,), (1402139547,), (1402139549,), (1402139552,), (1402139567,), (1402139572,), (1402139576,), (1402139580,), (1402139583,), (1402140125,), (1402140128,), (1402140130,), (1402140177,), (1402140179,), (1402140183,), (1402140186,), (1402140427,), (1402140430,), (1402140586,), (1402140587,), (1402140588,), (1402140589,), (1402140620,), (1402140622,), (1402140624,), (1402140627,), (1402140682,), (1402140654,), (1402140656,), (1402140709,), (1402140711,), (1402140712,), (1402140715,), (1402140727,), (1402140729,), (1402140732,), (1402140735,), (1402140739,), (1402140760,), (1402140763,), (1402140766,), (1402140767,), (1402140771,), (1402140802,), (1402140804,), (1402140806,), (1402140935,), (1402140988,), (1402140989,), (1402141011,), (1402141012,), (1402141059,), (1402141068,), (1402141075,), (1402141090,), (1402141212,), (1402141244,), (1402141276,), (1402141310,), (1402141344,), (1402141345,), (1402141346,), (1402141461,), (1402141498,), (1402141511,), (1402141525,), (1402141526,), (1402141528,), (1402141530,), (1402141533,), (1402141536,), (1402141593,), (1402141600,), (1402141602,), (1402141611,), (1402141804,), (1402141810,), (1402141812,), (1402141827,), (1402142064,), (1402142062,), (1402142572,), (1402142575,), (1402142578,), (1402142605,), (1402142667,), (1402142677,), (1402142684,), (1402142686,), (1402142807,), (1402142808,), (1402142830,), (1402142835,), (1402142838,), (1402142841,), (1402142865,), (1402143187,), (1402143189,), (1402143192,), (1402143210,), (1402143212,), (1402143236,), (1402143237,), (1402143238,), (1402143240,), (1402143256,), (1402143258,), (1402143260,), (1402143263,), (1402143311,), (1402143312,), (1402143314,), (1402143318,), (1402143324,), (1402143360,), (1402143364,), (1402143367,), (1402143378,), (1402143379,), (1402143558,), (1402143420,), (1402143527,), (1402143964,), (1402144364,), (1402144373,), (1402144395,), (1402144420,), (1402144568,), (1402144603,), (1402144623,), (1402144652,), (1402145039,), (1402145072,), (1402145103,), (1402145415,), (1402145430,), (1402145440,), (1402145442,), (1402145934,), (1402145971,), (1402146196,), (1402146207,), (1402146227,), (1402146238,), (1402146259,), (1402146260,), (1402146261,), (1402146262,), (1402146313,), (1402146471,), (1402146478,), (1402146805,), (1402146807,), (1402146809,), (1402146904,), (1402147135,), (1402147133,), (1402147134,), (1402147151,), (1402147152,), (1402147154,), (1402147157,), (1402147161,), (1402147174,), (1402147175,), (1402147176,), (1402147179,), (1402147183,), (1402147201,), (1402147203,), (1402147207,), (1402147212,), (1402147230,), (1402147232,), (1402147235,), (1402147240,), (1402147252,), (1402147254,), (1402147256,), (1402147290,), (1402147292,), (1402147293,), (1402147295,), (1402147299,), (1402147350,), (1402147351,), (1402147352,), (1402147353,), (1402147355,), (1402147389,), (1402147391,), (1402147393,), (1402147396,), (1402147423,), (1402147424,), (1402147440,), (1402147441,), (1402147442,), (1402147468,), (1402147469,), (1402147471,), (1402147473,), (1402147502,), (1402147504,), (1402147517,), (1402147519,), (1402147521,), (1402147615,), (1402147617,), (1402147619,), (1402147662,), (1402147650,), (1402147652,), (1402147655,), (1402147659,), (1402147676,), (1402147677,), (1402147686,), (1402147689,), (1402147704,), (1402147705,), (1402147707,), (1402147710,), (1402147714,), (1402147717,), (1402147766,), (1402147767,), (1402147769,), (1402147771,), (1402147814,), (1402147816,), (1402147818,), (1402147904,), (1402147906,), (1402147907,), (1402147909,), (1402147913,), (1402147938,), (1402147940,), (1402147942,), (1402147945,), (1402147949,), (1402147982,), (1402148007,), (1402148026,), (1402148028,), (1402148030,), (1402148033,), (1402148037,), (1402148059,), (1402151757,), (1402151756,), (1402151801,), (1402151917,), (1402152032,), (1402152050,), (1402152051,), (1402152053,), (1402152056,), (1402152074,), (1402152075,), (1402152076,), (1402152078,), (1402152105,), (1402152148,), (1402152141,), (1402152143,), (1402152145,), (1402152177,), (1402152178,), (1402152180,), (1402152182,), (1402152191,), (1402152224,), (1402152273,), (1402152274,), (1402152276,), (1402152278,), (1402152281,), (1402152294,), (1402152296,), (1402152298,), (1402152301,), (1402152304,), (1402152329,), (1402152330,), (1402152331,), (1402152334,), (1402152342,), (1402152374,), (1402152500,), (1402152662,), (1402152668,), (1402152672,), (1402152680,), (1402152684,), (1402152693,), (1402152742,), (1402152744,), (1402152747,), (1402152749,), (1402152760,), (1402152762,), (1402152789,), (1402152819,), (1402152851,), (1402152967,), (1402153034,), (1402153037,), (1402153066,), (1402153055,), (1402153057,), (1402153060,), (1402153063,), (1402153228,), (1402153230,), (1402153231,), (1402153232,), (1402153234,), (1402153283,), (1402153284,), (1402153285,), (1402153323,), (1402153421,), (1402153423,), (1402153425,), (1402153427,), (1402153584,), (1402153586,), (1402153588,), (1402153592,), (1402153596,), (1402153628,), (1402153630,), (1402153633,), (1402153637,), (1402153641,), (1402153649,), (1402153651,), (1402153652,), (1402153653,), (1402153672,), (1402153674,), (1402153675,), (1402153676,), (1402153678,), (1402153679,), (1402153692,), (1402153693,), (1402153695,), (1402153697,), (1402153700,), (1402153727,), (1402153729,), (1402153732,), (1402153735,), (1402153738,), (1402153740,), (1402153743,), (1402153744,), (1402153745,), (1402153749,), (1402153751,), (1402153754,), (1402153773,), (1402153784,), (1402153785,), (1402153787,), (1402153800,), (1402153801,), (1402153803,), (1402153805,), (1402153808,), (1402153827,), (1402153829,), (1402153831,), (1402153834,), (1402153837,), (1402153839,), (1402153852,), (1402153853,), (1402153896,), (1402153874,), (1402153876,), (1402153878,), (1402153888,), (1402153909,), (1402153910,), (1402153912,), (1402153913,), (1402153916,), (1402153951,), (1402153953,), (1402153972,), (1402153973,), (1402153974,), (1402153977,), (1402153980,), (1402154013,), (1402154017,), (1402154019,), (1402154021,), (1402154037,), (1402154038,), (1402154039,), (1402154040,), (1402154042,), (1402154074,), (1402154076,), (1402154078,), (1402154079,), (1402154081,), (1402154093,), (1402154094,), (1402154096,), (1402154099,), (1402154102,), (1402154117,), (1402154119,), (1402154141,), (1402154142,), (1402154144,), (1402154146,), (1402154169,), (1402154171,), (1402154173,), (1402154219,), (1402154243,), (1402154247,), (1402154256,), (1402154260,), (1402154263,), (1402154264,), (1402154293,), (1402155515,), (1402155402,), (1402156136,), (1402156138,), (1402156162,), (1402156443,), (1402156453,), (1402156464,), (1402156466,), (1402156469,), (1402156471,), (1402156491,), (1402156507,), (1402156867,), (1402156869,), (1402156939,), (1402156950,), (1402157072,), (1402157073,), (1402157075,), (1402157131,), (1402157162,), (1402157166,), (1402157168,), (1402157232,), (1402157233,), (1402157235,), (1402157569,), (1402157571,), (1402157573,), (1402157575,), (1402157578,), (1402157710,), (1402157711,), (1402157734,), (1402157786,), (1402157788,), (1402157798,), (1402157918,), (1402158313,), (1402158331,), (1402158348,), (1402158351,), (1402158473,), (1402158493,), (1402158495,), (1402158620,), (1402158621,), (1402158622,), (1402158625,), (1402158642,), (1402158643,), (1402158645,), (1402158648,), (1402158652,), (1402158663,), (1402158665,), (1402158667,), (1402158670,), (1402158674,), (1402158678,), (1402158686,), (1402158688,), (1402158691,), (1402158703,), (1402158704,), (1402158705,), (1402158707,), (1402158725,), (1402158726,), (1402158728,), (1402158731,), (1402158745,), (1402158748,), (1402158750,), (1402158754,), (1402158757,), (1402158759,), (1402158782,), (1402158786,), (1402158788,), (1402158827,), (1402158818,), (1402158824,), (1402158825,), (1402158848,), (1402158850,), (1402158866,), (1402158867,), (1402158868,), (1402158870,), (1402158888,), (1402158890,), (1402158892,), (1402158954,), (1402158963,), (1402158964,), (1402159028,), (1402159029,), (1402159030,), (1402159032,), (1402159047,), (1402159048,), (1402159050,), (1402159076,), (1402159077,), (1402159079,), (1402159081,), (1402159084,), (1402159086,), (1402159199,), (1402159226,), (1402159259,), (1402159293,), (1402159325,), (1402159328,), (1402159357,), (1402159362,), (1402159364,), (1402159366,), (1402159368,), (1402159370,), (1402159373,), (1402159377,), (1402159408,), (1402159410,), (1402159607,), (1402159629,), (1402159631,), (1402159657,), (1402159658,), (1402159679,), (1402159681,), (1402159709,), (1402159703,), (1402159705,), (1402159795,), (1402159796,), (1402159798,), (1402159811,), (1402159892,), (1402159898,), (1402159901,), (1402159907,), (1402160025,), (1402160045,), (1402160055,), (1402160076,), (1402160107,), (1402160110,), (1402160113,), (1402160115,), (1402160117,), (1402160119,), (1402160296,), (1402160300,), (1402160306,), (1402160329,), (1402160350,), (1402160354,), (1402160358,), (1402160644,), (1402160678,), (1402160716,), (1402160826,), (1402160827,), (1402160833,), (1402160836,), (1402160839,), (1402160907,), (1402160909,), (1402160912,), (1402160914,), (1402160918,), (1402160920,), (1402160949,), (1402160951,), (1402160952,), (1402160954,), (1402160972,), (1402160974,), (1402160976,), (1402160995,), (1402160997,), (1402161001,), (1402161010,), (1402161014,), (1402161017,), (1402161149,), (1402161159,), (1402161161,), (1402161163,), (1402161168,), (1402161726,), (1402161730,), (1402161734,), (1402161738,), (1402161860,), (1402161861,), (1402161866,), (1402161867,), (1402161868,), (1402161869,), (1402161882,), (1402161885,), (1402162132,), (1402161958,), (1402161986,), (1402162027,), (1402162064,), (1402162099,), (1402162444,), (1402162488,), (1402162520,), (1402162553,), (1402162612,), (1402162766,), (1402162795,), (1402162818,), (1402163408,), (1402163478,), (1402163480,), (1402163483,), (1402163487,), (1402163489,), (1402163715,), (1402163716,), (1402163717,), (1402163719,), (1402163723,), (1402163726,), (1402163751,), (1402163753,), (1402163755,), (1402163758,), (1402163762,), (1402163786,), (1402163788,), (1402163791,), (1402163796,), (1402163801,), (1402163804,), (1402163841,), (1402163845,), (1402163849,), (1402163853,), (1402163924,), (1402163977,), (1402163978,), (1402163980,), (1402163982,), (1402163985,), (1402164022,), (1402164024,), (1402164026,), (1402164057,), (1402164066,), (1402164077,), (1402164078,), (1402164081,), (1402164096,), (1402164099,), (1402164103,), (1402164155,), (1402164144,), (1402164145,), (1402164147,), (1402164149,), (1402164152,), (1402164172,), (1402164174,), (1402164178,), (1402164181,), (1402164191,), (1402164243,), (1402164245,), (1402164248,), (1402164250,), (1402164254,), (1402164288,), (1402164289,), (1402164290,), (1402164292,), (1402164317,), (1402164319,), (1402164321,), (1402164323,), (1402164358,), (1402164359,), (1402164360,), (1402164372,), (1402164409,), (1402164515,), (1402164521,), (1402164522,), (1402164524,), (1402164526,), (1402164550,), (1402164553,), (1402164575,), (1402164576,), (1402164579,), (1402164581,), (1402164621,), (1402164622,), (1402164623,), (1402164628,), (1402164690,), (1402164692,), (1402164695,), (1402164697,), (1402164712,), (1402164714,), (1402164715,), (1402164758,), (1402164759,), (1402164761,), (1402164762,), (1402164765,), (1402164767,), (1402164783,), (1402164785,), (1402164787,), (1402164789,), (1402164792,), (1402164823,), (1402164825,), (1402164827,), (1402164830,), (1402164835,), (1402164837,), (1402164882,), (1402164883,), (1402164885,), (1402164886,), (1402165018,), (1402165024,), (1402165045,), (1402165098,), (1402165173,), (1402164864,), (1402164865,), (1402164868,), (1402164869,), (1402164872,), (1402164873,), (1402164876,), (1402164878,), (1402164906,), (1402164939,), (1402164973,), (1402165009,), (1402165093,), (1402165095,), (1402165096,), (1402165115,), (1402165116,), (1402165118,), (1402165120,), (1402165122,), (1402165125,), (1402165136,), (1402165137,), (1402165138,), (1402165139,), (1402165142,), (1402165143,), (1402165148,), (1402165149,), (1402165156,), (1402165157,), (1402165163,), (1402165164,), (1402165168,), (1402165170,), (1402165197,), (1402165198,), (1402165200,), (1402165202,), (1402165219,), (1402165222,), (1402165232,), (1402165238,), (1402165244,), (1402165391,), (1402165405,), (1402165430,), (1402165454,), (1402165472,), (1402165476,), (1402165501,), (1402165502,), (1402165506,), (1402165524,), (1402165542,), (1402165544,), (1402165546,), (1402165569,), (1402165571,), (1402165573,), (1402165575,), (1402165612,), (1402165614,), (1402165616,), (1402165619,), (1402165693,), (1402165708,), (1402165733,), (1402165738,), (1402165742,), (1402165746,), (1402165808,), (1402165811,), (1402165821,), (1402166005,), (1402166007,), (1402166010,), (1402166012,), (1402166016,), (1402166058,), (1402166045,), (1402166046,), (1402166048,), (1402166051,), (1402166347,), (1402166348,), (1402166351,), (1402166354,), (1402166357,), (1402166360,), (1402166399,), (1402166402,), (1402166679,), (1402166716,), (1402166750,), (1402166760,), (1402166896,), (1402166910,), (1402166923,), (1402166960,), (1402166995,), (1402167126,), (1402167127,), (1402167128,), (1402167129,), (1402167133,), (1402167137,), (1402167187,), (1402167189,), (1402167191,), (1402167222,), (1402167223,), (1402167224,), (1402167226,), (1402167230,), (1402167251,), (1402167253,), (1402167255,), (1402167258,), (1402167261,), (1402167263,), (1402167279,), (1402167280,), (1402167299,), (1402167301,), (1402167304,), (1402167307,), (1402167310,), (1402167313,), (1402167323,), (1402167324,), (1402167325,), (1402167361,), (1402167375,), (1402167382,), (1402167386,), (1402167390,), (1402167935,), (1402167995,), (1402168235,), (1402168271,), (1402168303,), (1402168655,), (1402168559,), (1402168603,), (1402168621,), (1402168649,), (1402168664,), (1402168666,), (1402168668,), (1402168671,), (1402168675,), (1402168703,), (1402168704,), (1402168705,), (1402168731,), (1402168733,), (1402168736,), (1402168738,), (1402168742,), (1402169489,), (1402169546,), (1402169555,), (1402169561,), (1402169575,), (1402169814,), (1402169816,), (1402169820,), (1402169841,), (1402169843,), (1402169844,), (1402169847,), (1402169851,), (1402169853,), (1402169880,), (1402169881,), (1402169882,), (1402169884,), (1402169888,), (1402169891,), (1402169914,), (1402169920,), (1402169922,), (1402169925,), (1402170001,), (1402170004,), (1402170006,), (1402170008,), (1402170093,), (1402170094,), (1402170095,), (1402170098,), (1402170102,), (1402170127,), (1402170131,), (1402170139,), (1402170142,), (1402170145,), (1402170171,), (1402170172,), (1402170173,), (1402170176,), (1402170198,), (1402170200,), (1402170218,), (1402170221,), (1402170227,), (1402170231,), (1402170326,), (1402170328,), (1402170519,), (1402170431,), (1402170490,), (1402170492,), (1402170516,), (1402170545,), (1402170546,), (1402170561,), (1402170562,), (1402170669,), (1402170670,), (1402170671,), (1402170673,), (1402170676,), (1402170695,), (1402170696,), (1402170771,), (1402170773,), (1402170774,), (1402170790,), (1402170793,), (1402170796,), (1402170800,), (1402170837,), (1402170838,), (1402170841,), (1402170844,), (1402170846,), (1402170857,), (1402170859,), (1402170861,), (1402170863,), (1402170933,), (1402170941,), (1402171181,), (1402171224,), (1402171226,), (1402171246,), (1402171247,), (1402171249,), (1402171252,), (1402171279,), (1402171280,), (1402171282,), (1402171283,), (1402171286,), (1402171300,), (1402171301,), (1402171302,), (1402171304,), (1402171306,), (1402171308,), (1402171405,), (1402171415,), (1402171417,), (1402171432,), (1402171436,), (1402171438,), (1402171475,), (1402171477,), (1402171479,), (1402171507,), (1402171508,), (1402171509,), (1402171511,), (1402171525,), (1402171527,), (1402171530,), (1402171533,), (1402171536,), (1402171573,), (1402171575,), (1402171577,), (1402171579,), (1402171597,), (1402171599,), (1402171601,), (1402171602,), (1402171603,), (1402171605,), (1402171630,), (1402171631,), (1402171633,), (1402171636,), (1402171652,), (1402171654,), (1402171657,), (1402171660,), (1402171705,), (1402171703,), (1402171704,), (1402171726,), (1402171727,), (1402171755,), (1402171756,), (1402171759,), (1402171779,), (1402171801,), (1402171803,), (1402171805,), (1402171824,), (1402171892,), (1402171893,), (1402171913,), (1402171953,), (1402171954,), (1402172108,), (1402172113,), (1402172117,), (1402172140,), (1402172587,), (1402172552,), (1402172585,), (1402172770,), (1402172795,), (1402172805,), (1402172808,), (1402172812,), (1402172816,), (1402173196,), (1402173230,), (1402173244,), (1402173261,), (1402173265,), (1402173294,), (1402173296,), (1402173298,), (1402173410,), (1402173445,), (1402173480,), (1402173511,), (1402173547,), (1402173579,), (1402173939,), (1402173972,), (1402174005,), (1402174039,), (1402174279,), (1402174319,), (1402174349,), (1402174385,), (1402174533,), (1402174535,), (1402174537,), (1402174556,), (1402174558,), (1402174560,), (1402174605,), (1402174612,), (1402174624,), (1402174626,), (1402174628,), (1402174659,), (1402174663,), (1402174664,), (1402174666,), (1402174738,), (1402174757,), (1402174761,), (1402174909,), (1402174911,), (1402174913,), (1402174916,), (1402175065,), (1402175066,), (1402175067,), (1402175069,), (1402175100,), (1402175089,), (1402175091,), (1402175094,), (1402175097,), (1402175160,), (1402175191,), (1402175226,), (1402175262,), (1402175365,), (1402175371,), (1402175387,), (1402175489,), (1402175491,), (1402175493,), (1402175495,), (1402175619,), (1402175620,), (1402175621,), (1402175622,), (1402175625,), (1402175728,), (1402175734,), (1402175736,), (1402175758,), (1402175766,), (1402175831,), (1402175832,), (1402175833,), (1402175889,), (1402175916,), (1402175921,), (1402175925,), (1402175929,), (1402175948,), (1402175950,), (1402175952,), (1402175953,), (1402175956,), (1402175959,), (1402175978,), (1402175980,), (1402175982,), (1402175984,), (1402175999,), (1402176000,), (1402176002,), (1402176004,), (1402176031,), (1402176035,), (1402176038,), (1402176043,), (1402176048,), (1402176061,), (1402176062,), (1402176064,), (1402176089,), (1402176092,), (1402176095,), (1402176994,), (1402178402,), (1402178403,), (1402178427,), (1402178879,), (1402178900,), (1402178918,), (1402178943,), (1402178944,), (1402178957,), (1402178958,), (1402178959,), (1402178982,), (1402178983,), (1402178984,), (1402178985,), (1402178988,), (1402178989,), (1402179002,), (1402179004,), (1402179006,), (1402179008,), (1402179033,), (1402179064,), (1402179066,), (1402179067,), (1402179070,), (1402179073,), (1402179077,), (1402179138,), (1402179147,), (1402179150,), (1402179156,), (1402179175,), (1402179422,), (1402179426,), (1402179428,), (1402179431,), (1402179475,), (1402179505,), (1402179638,), (1402179639,), (1402179641,), (1402179644,), (1402179658,), (1402179661,), (1402179665,), (1402179671,), (1402179675,), (1402179707,), (1402179701,), (1402179703,), (1402179705,), (1402179722,), (1402179723,), (1402179725,), (1402179775,), (1402179777,), (1402179779,), (1402179782,), (1402179786,), (1402179959,), (1402179991,), (1402180022,), (1402180024,), (1402180122,), (1402180149,), (1402180481,), (1402180482,), (1402180483,), (1402180484,), (1402180487,), (1402180522,), (1402180524,), (1402180526,), (1402180529,), (1402180533,), (1402180544,), (1402180547,), (1402180550,), (1402180589,), (1402180591,), (1402180593,), (1402180784,), (1402180818,), (1402180941,), (1402180943,), (1402180945,), (1402180948,), (1402180952,), (1402180978,), (1402180979,), (1402180980,), (1402180981,), (1402180985,), (1402181011,), (1402181013,), (1402181016,), (1402181018,), (1402181021,), (1402181038,), (1402181245,), (1402181246,), (1402181247,), (1402181248,), (1402181251,), (1402181280,), (1402181272,), (1402181274,), (1402181276,), (1402181304,), (1402181305,), (1402181306,), (1402181308,), (1402181312,), (1402181315,), (1402181328,), (1402181330,), (1402181332,), (1402181359,), (1402181389,), (1402181421,), (1402181453,), (1402181458,), (1402181460,), (1402181471,), (1402181473,), (1402181477,), (1402181481,), (1402181485,), (1402181496,), (1402181498,), (1402181501,), (1402181525,), (1402181526,), (1402181528,), (1402181530,), (1402181533,), (1402181558,), (1402181560,), (1402181562,), (1402181621,), (1402181635,), (1402181643,), (1402181654,), (1402181661,), (1402181758,), (1402181760,), (1402181762,), (1402181765,), (1402181768,), (1402181770,), (1402181775,), (1402181776,), (1402181777,), (1402181782,), (1402181783,), (1402181786,), (1402181789,), (1402181794,), (1402181803,), (1402181828,), (1402181830,), (1402181832,), (1402181834,), (1402181934,), (1402181932,), (1402181960,), (1402181962,), (1402181964,), (1402181967,), (1402181971,), (1402182174,), (1402182180,), (1402182187,), (1402182190,), (1402182196,), (1402182321,), (1402182427,), (1402182429,), (1402182431,), (1402182434,), (1402182438,), (1402182441,), (1402182464,), (1402182501,), (1402182502,), (1402182503,), (1402182505,), (1402182539,), (1402182540,), (1402182542,), (1402182545,), (1402182818,), (1402182819,), (1402182820,), (1402182822,), (1402182826,), (1402182829,), (1402182950,), (1402182962,), (1402182979,), (1402182999,), (1402183000,), (1402183001,), (1402183003,), (1402183007,), (1402183022,), (1402183024,), (1402183026,), (1402183028,), (1402183031,), (1402183217,), (1402183221,), (1402183223,), (1402183233,), (1402183248,), (1402183283,), (1402183826,), (1402183914,), (1402183987,), (1402184622,), (1402184514,), (1402184565,), (1402184601,), (1402184618,), (1402184719,), (1402184722,), (1402184724,), (1402184727,), (1402184730,), (1402184752,), (1402184753,), (1402184754,), (1402184884,), (1402184952,), (1402185035,), (1402185122,), (1402185201,), (1402185291,), (1402185681,), (1402185686,), (1402185713,), (1402185716,), (1402185751,), (1402185777,), (1402185779,), (1402185781,), (1402185783,), (1402185786,), (1402185803,), (1402185804,), (1402185805,), (1402185818,), (1402185819,), (1402185820,), (1402185821,), (1402185825,), (1402185910,), (1402185911,), (1402185913,), (1402185916,), (1402185920,), (1402185982,), (1402185993,), (1402186001,), (1402186023,), (1402186026,), (1402186028,), (1402186032,), (1402186034,), (1402186036,), (1402186038,), (1402186041,), (1402186051,), (1402186053,), (1402186089,), (1402186090,), (1402186092,), (1402186093,), (1402186096,), (1402186098,), (1402186127,), (1402186130,), (1402186132,), (1402186135,), (1402186139,), (1402186141,), (1402186154,), (1402186155,), (1402186156,), (1402186176,), (1402186178,), (1402186181,), (1402186184,), (1402186188,), (1402186226,), (1402186217,), (1402186219,), (1402186220,), (1402186222,), (1402186240,), (1402186241,), (1402186244,), (1402186273,), (1402186275,), (1402186295,), (1402186296,), (1402186297,), (1402186323,), (1402186325,), (1402186327,), (1402186344,), (1402186346,), (1402186366,), (1402186367,), (1402186369,), (1402186392,), (1402186395,), (1402186398,), (1402186402,), (1402186442,), (1402186444,), (1402186446,), (1402186466,), (1402186468,), (1402186489,), (1402186491,), (1402186510,), (1402186513,), (1402186679,), (1402186681,), (1402186683,), (1402186721,), (1402186722,), (1402186723,), (1402186724,), (1402186744,), (1402186745,), (1402186748,), (1402186752,), (1402186775,), (1402186768,), (1402186770,), (1402186772,), (1402186796,), (1402186798,), (1402186800,), (1402186801,), (1402186805,), (1402186808,), (1402186824,), (1402186826,), (1402186828,), (1402186831,), (1402186835,), (1402186858,), (1402186859,), (1402186883,), (1402186886,), (1402186890,), (1402186893,), (1402186896,), (1402186899,), (1402186911,), (1402186912,), (1402186914,), (1402186916,), (1402186919,), (1402186931,), (1402186932,), (1402186935,), (1402186937,), (1402186941,), (1402187078,), (1402187090,), (1402187092,), (1402187094,), (1402187098,), (1402187100,), (1402187155,), (1402187159,), (1402187224,), (1402187256,), (1402187289,), (1402187311,), (1402187315,), (1402187336,), (1402187337,), (1402187338,), (1402187339,), (1402187369,), (1402187371,), (1402187374,), (1402187421,), (1402187422,), (1402187423,), (1402187656,), (1402187679,), (1402187694,), (1402187699,), (1402187703,), (1402187709,), (1402187851,), (1402187914,), (1402187991,), (1402188055,), (1402188126,), (1402188410,), (1402188392,), (1402188396,), (1402188398,), (1402188490,), (1402188492,), (1402188494,), (1402188496,), (1402188498,), (1402188520,), (1402188521,), (1402188523,), (1402188524,), (1402188527,), (1402188544,), (1402188545,), (1402188546,), (1402188548,), (1402188593,), (1402188601,), (1402188602,), (1402188604,), (1402188607,), (1402188632,), (1402188634,), (1402188636,), (1402188638,), (1402188641,), (1402188644,), (1402188666,), (1402188667,), (1402188668,), (1402188993,), (1402188996,), (1402188998,), (1402189001,), (1402189028,), (1402189029,), (1402189031,), (1402189033,), (1402189035,), (1402189036,), (1402189059,), (1402189063,), (1402189065,), (1402189068,), (1402189092,), (1402189094,), (1402189100,), (1402189102,), (1402189106,), (1402189141,), (1402189189,), (1402189190,), (1402189192,), (1402189194,), (1402189197,), (1402189200,), (1402189231,), (1402189233,), (1402189235,), (1402189297,), (1402189313,), (1402189883,), (1402190199,), (1402190232,), (1402190262,), (1402191945,), (1402191956,), (1402192033,), (1402192035,), (1402192038,), (1402192043,), (1402192047,), (1402192089,), (1402192091,), (1402192093,), (1402192095,), (1402192097,), (1402192099,), (1402192234,), (1402192235,), (1402192247,), (1402192248,), (1402192253,), (1402192257,), (1402192274,), (1402192275,), (1402192278,), (1402192463,), (1402192466,), (1402192468,), (1402192470,), (1402192496,), (1402192516,), (1402192517,), (1402192518,), (1402192519,), (1402192522,), (1402192577,), (1402192578,), (1402192580,), (1402192602,), (1402192634,), (1402192728,), (1402192729,), (1402192742,), (1402192779,), (1402192851,), (1402192832,), (1402192833,), (1402192835,), (1402192837,), (1402192844,), (1402192887,), (1402192888,), (1402192890,), (1402192892,), (1402193123,), (1402193125,), (1402193126,), (1402193147,), (1402193223,), (1402193225,), (1402193227,), (1402193230,), (1402193256,), (1402193270,), (1402193303,), (1402193338,), (1402193341,), (1402193353,), (1402193355,), (1402193357,), (1402193360,), (1402193364,), (1402193367,), (1402193393,), (1402193394,), (1402193396,), (1402193397,), (1402193413,), (1402193415,), (1402193417,), (1402193419,), (1402193422,), (1402193426,), (1402193573,), (1402193578,), (1402193579,), (1402193582,), (1402193600,), (1402193609,), (1402193631,), (1402193632,), (1402193659,), (1402193661,), (1402193663,), (1402193665,), (1402193668,), (1402193679,), (1402193723,), (1402193727,), (1402193729,), (1402193732,), (1402193938,), (1402193976,), (1402194006,), (1402194185,), (1402194219,), (1402194249,), (1402194277,), (1402194281,), (1402194284,), (1402194286,), (1402194289,), (1402194333,), (1402194312,), (1402194322,), (1402194324,), (1402194327,), (1402194331,), (1402194345,), (1402194346,), (1402194349,), (1402194364,), (1402194365,), (1402194368,), (1402194370,), (1402194374,), (1402194381,), (1402194417,), (1402194419,), (1402194421,), (1402194423,), (1402194437,), (1402194439,), (1402194440,), (1402194470,), (1402194472,), (1402194474,), (1402194477,), (1402194480,), (1402194493,), (1402194506,), (1402194565,), (1402194604,), (1402194605,), (1402194722,), (1402194724,), (1402194726,), (1402194759,), (1402194785,), (1402194835,), (1402194837,), (1402194839,), (1402194841,), (1402194871,), (1402194873,), (1402194875,), (1402198113,), (1402197566,), (1402198080,), (1402198381,), (1402198399,), (1402198402,), (1402198404,), (1402198408,), (1402198413,), (1402198418,), (1402198425,), (1402198426,), (1402198430,), (1402198436,), (1402198439,), (1402198442,), (1402198449,), (1402198456,), (1402198459,), (1402198462,), (1402198468,), (1402198496,), (1402198494,), (1402198495,), (1402198526,), (1402198528,), (1402198530,), (1402198548,), (1402198550,), (1402198551,), (1402198553,), (1402198555,), (1402198558,), (1402198576,), (1402198578,), (1402198581,), (1402198585,), (1402198588,), (1402198590,), (1402198594,), (1402198596,), (1402198598,), (1402198600,), (1402198602,), (1402198604,), (1402198607,), (1402198610,), (1402198636,), (1402198638,), (1402198640,), (1402198642,), (1402198645,), (1402198661,), (1402198662,), (1402198664,), (1402198668,), (1402198671,), (1402198674,), (1402198698,), (1402198703,), (1402198704,), (1402198705,), (1402198710,), (1402198713,), (1402198715,), (1402198729,), (1402198730,), (1402198731,), (1402198733,), (1402198765,), (1402198767,), (1402198768,), (1402198791,), (1402198792,), (1402198793,), (1402198794,), (1402198825,), (1402198827,), (1402198829,), (1402198831,), (1402198834,), (1402198849,), (1402198850,), (1402198852,), (1402198922,), (1402198911,), (1402198912,), (1402198914,), (1402198916,), (1402198919,), (1402198936,), (1402198937,), (1402198939,), (1402198941,), (1402198974,), (1402198975,), (1402198977,), (1402198979,), (1402198982,), (1402198998,), (1402199000,), (1402199002,), (1402199038,), (1402199040,), (1402199041,), (1402199043,), (1402199047,), (1402199060,), (1402199062,), (1402199065,), (1402199069,), (1402199074,), (1402199077,), (1402199092,), (1402199094,), (1402199096,), (1402199099,), (1402199117,), (1402199118,), (1402199119,), (1402199292,), (1402199294,), (1402199297,), (1402199301,), (1402199304,), (1402199321,), (1402199322,), (1402199323,), (1402199325,), (1402199329,), (1402199331,), (1402199350,), (1402199352,), (1402199354,), (1402199357,), (1402199361,), (1402199372,), (1402199375,), (1402199402,), (1402199404,), (1402199407,), (1402199410,), (1402199413,), (1402199437,), (1402199440,), (1402199444,), (1402199448,), (1402199453,), (1402199457,), (1402199462,), (1402199473,), (1402199476,), (1402199479,), (1402199493,), (1402199484,), (1402199487,), (1402199489,), (1402199530,), (1402199535,), (1402199537,), (1402199540,), (1402199624,), (1402199693,), (1402199769,), (1402199770,), (1402199791,), (1402199793,), (1402199795,), (1402199813,), (1402199814,), (1402199815,), (1402199816,), (1402199818,), (1402199852,), (1402199854,), (1402199856,), (1402199859,), (1402199862,), (1402199864,), (1402199869,), (1402199871,), (1402199873,), (1402199877,), (1402199878,), (1402199879,), (1402199923,), (1402199947,), (1402199954,), (1402199962,), (1402199978,), (1402200027,), (1402200028,), (1402200030,), (1402200032,), (1402200035,), (1402200060,), (1402200063,), (1402200066,), (1402200068,), (1402200072,), (1402200229,), (1402200234,), (1402200237,), (1402200245,), (1402200660,), (1402200657,), (1402200658,), (1402200689,), (1402200690,), (1402200691,), (1402200692,), (1402200694,), (1402200710,), (1402200711,), (1402200714,), (1402200731,), (1402200732,), (1402200759,), (1402200761,), (1402200763,), (1402200766,), (1402200770,), (1402200797,), (1402200798,), (1402200800,), (1402200802,), (1402200805,), (1402200820,), (1402200821,), (1402200823,), (1402200826,), (1402200856,), (1402200857,), (1402200858,), (1402200879,), (1402200881,), (1402200885,), (1402200890,), (1402200894,), (1402200919,), (1402200921,), (1402200922,), (1402200924,), (1402200928,), (1402200931,), (1402200951,), (1402200953,), (1402200957,), (1402200960,), (1402200965,), (1402200967,), (1402200992,), (1402200993,), (1402200994,), (1402201018,), (1402201020,), (1402201022,), (1402201025,), (1402201029,), (1402201063,), (1402201061,), (1402201084,), (1402201085,), (1402201086,), (1402201088,), (1402201117,), (1402201119,), (1402201122,), (1402201124,), (1402201128,), (1402201150,), (1402201151,), (1402201169,), (1402201172,), (1402201175,), (1402201178,), (1402201186,), (1402201195,), (1402201197,), (1402201199,), (1402201201,), (1402201223,), (1402201224,), (1402201225,), (1402201249,), (1402201251,), (1402201253,), (1402201256,), (1402201272,), (1402201273,), (1402201292,), (1402201294,), (1402201296,), (1402201298,), (1402201300,), (1402201316,), (1402201320,), (1402201324,), (1402201328,), (1402201332,), (1402201345,), (1402201346,), (1402201347,), (1402201350,), (1402201353,), (1402201481,), (1402201483,), (1402201511,), (1402201512,), (1402201514,), (1402201516,), (1402201540,), (1402201543,), (1402201546,), (1402201575,), (1402201576,), (1402201608,), (1402201613,), (1402201642,), (1402201647,), (1402201925,), (1402201860,), (1402201891,), (1402202721,), (1402202754,), (1402202791,), (1402203444,), (1402203563,), (1402203677,), (1402203817,), (1402204097,), (1402204098,), (1402204101,), (1402204130,), (1402204165,), (1402204200,), (1402204567,), (1402204620,), (1402204660,), (1402204894,), (1402204921,), (1402204952,), (1402204985,), (1402205033,), (1402205058,), (1402205141,), (1402205142,), (1402205143,), (1402205264,), (1402205296,), (1402205328,), (1402205361,), (1402205400,), (1402205433,), (1402205553,), (1402205588,), (1402205929,), (1402206039,), (1402206157,), (1402206280,), (1402206395,), (1402207015,), (1402207045,), (1402207122,), (1402207158,), (1402207195,), (1402207229,), (1402207464,), (1402207532,), (1402207600,), (1402207652,), (1402207686,), (1402207848,), (1402208027,), (1402208047,), (1402208060,), (1402208090,), (1402208091,), (1402208094,), (1402208097,), (1402208124,), (1402208472,), (1402208506,), (1402208541,), (1402208580,), (1402208619,), (1402208668,), (1402208792,), (1402208903,), (1402210058,), (1402209892,), (1402209925,), (1402209978,), (1402210527,), (1402210651,), (1402210661,), (1402210663,), (1402210665,), (1402210813,), (1402210839,), (1402210846,), (1402210864,), (1402211457,), (1402211460,), (1402211463,), (1402211467,), (1402211533,), (1402211660,), (1402211663,), (1402211664,), (1402211665,), (1402211667,), (1402211698,), (1402211700,), (1402211701,), (1402211703,), (1402211706,), (1402211723,), (1402211725,), (1402211728,), (1402211734,), (1402211742,), (1402214799,), (1402214801,), (1402214804,), (1402214837,), (1402214838,), (1402214839,), (1402214840,), (1402214858,), (1402214859,), (1402214862,), (1402214864,), (1402214868,), (1402214891,), (1402214887,), (1402215791,), (1402216337,), (1402216367,), (1402216398,), (1402217066,), (1402217083,), (1402217085,), (1402217086,), (1402217090,), (1402217280,), (1402217292,), (1402217297,), (1402217300,), (1402217358,), (1402217393,), (1402217492,), (1402217522,), (1402217554,), (1402217587,), (1402217622,), (1402217982,), (1402218018,), (1402218047,), (1402218229,), (1402218230,), (1402218255,), (1402218281,), (1402218284,), (1402218311,), (1402218347,), (1402218349,), (1402218350,), (1402218353,), (1402218355,), (1402218531,), (1402218563,), (1402218595,), (1402218627,), (1402219040,), (1402219077,), (1402219112,), (1402219145,), (1402219178,), (1402219185,), (1402219646,), (1402220529,), (1402220558,), (1402220567,), (1402220766,), (1402220775,), (1402220780,), (1402220810,), (1402220818,), (1402220821,), (1402220863,), (1402220857,), (1402220859,), (1402220860,), (1402220861,), (1402220959,), (1402220996,), (1402221027,), (1402221823,), (1402221856,), (1402221890,), (1402221922,), (1402222073,), (1402222074,), (1402222090,), (1402222360,), (1402222381,), (1402222407,), (1402222416,), (1402222432,), (1402222434,), (1402222436,), (1402222438,), (1402222465,), (1402222467,), (1402222469,), (1402222471,), (1402222474,), (1402222748,), (1402222778,), (1402222811,), (1402222841,), (1402223713,), (1402223722,), (1402223725,), (1402224157,), (1402224158,), (1402224408,), (1402224443,), (1402224475,), (1402224886,), (1402224915,), (1402224947,), (1402224980,), (1402225016,), (1402225263,), (1402225264,), (1402225266,), (1402225269,), (1402226847,), (1402226945,), (1402227051,), (1402227438,), (1402227545,), (1402227639,), (1402227747,), (1402227845,), (1402228742,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'02012026': {'nb_upload': 36, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29887673]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1402147135, 1402146904, 1402146809, 1402146807, 1402146805, 1402146478, 1402146471, 1402146313, 1402146262, 1402146261, 1402146260, 1402146259, 1402146238, 1402146227, 1402146207, 1402146196, 1402145971, 1402145934, 1402145442, 1402145440, 1402145430, 1402145415, 1402145103, 1402145072, 1402145039, 1402144652, 1402144623, 1402144603, 1402144568, 1402144420, 1402144395, 1402144373, 1402144364, 1402143964, 1402143527, 1402143420] map_info['map_portfolio_photo'] : {29887673: [1402147135, 1402146904, 1402146809, 1402146807, 1402146805, 1402146478, 1402146471, 1402146313, 1402146262, 1402146261, 1402146260, 1402146259, 1402146238, 1402146227, 1402146207, 1402146196, 1402145971, 1402145934, 1402145442, 1402145440, 1402145430, 1402145415, 1402145103, 1402145072, 1402145039, 1402144652, 1402144623, 1402144603, 1402144568, 1402144420, 1402144395, 1402144373, 1402144364, 1402143964, 1402143527, 1402143420]} final : True mtd_id 4302 list_pids : [1402147135, 1402146904, 1402146809, 1402146807, 1402146805, 1402146478, 1402146471, 1402146313, 1402146262, 1402146261, 1402146260, 1402146259, 1402146238, 1402146227, 1402146207, 1402146196, 1402145971, 1402145934, 1402145442, 1402145440, 1402145430, 1402145415, 1402145103, 1402145072, 1402145039, 1402144652, 1402144623, 1402144603, 1402144568, 1402144420, 1402144395, 1402144373, 1402144364, 1402143964, 1402143527, 1402143420] Looping around the photos to save general results len do output : 1 /29887673Didn'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, '4307380') ('4302', '29887673', '1402147135', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146904', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146809', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146807', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146805', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146478', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146471', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146313', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146262', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146261', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146260', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146259', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146238', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146227', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146207', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402146196', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145971', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145934', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145442', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145440', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145430', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145415', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145103', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145072', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402145039', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144652', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144623', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144603', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144568', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144420', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144395', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144373', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402144364', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402143964', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402143527', None, None, None, None, None, '4307380') ('4302', None, None, None, None, None, None, None, '4307380') ('4302', '29887673', '1402143420', None, None, None, None, None, '4307380') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '29887673', 'None', None, None, None, None, '4307380'), ('4302', '29887673', '1402147135', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146904', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146809', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146807', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146805', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146478', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146471', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146313', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146262', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146261', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146260', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146259', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146238', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146227', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146207', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402146196', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145971', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145934', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145442', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145440', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145430', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145415', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145103', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145072', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402145039', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144652', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144623', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144603', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144568', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144420', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144395', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144373', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402144364', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402143964', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402143527', None, None, None, None, None, '4307380'), ('4302', '29887673', '1402143420', None, None, None, None, None, '4307380')] time used for this insertion : 0.022633790969848633 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.808809518814087 time spend to save output : 0.022976398468017578 total time spend for step 5 : 5.8317859172821045 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 (4307380) 2.99user 2.62system 0:22.75elapsed 24%CPU (0avgtext+0avgdata 168996maxresident)k 480inputs+31640outputs (2major+81231minor)pagefaults 0swaps