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 : 340711 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 (4315840) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4315840) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29963903 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4315840'] with mtr_portfolio_ids : ['29963903'] and first list_photo_ids : [] new path : /proc/340711/ Name: python3 Umask: 0002 State: R (running) Tgid: 340711 Ngid: 0 Pid: 340711 PPid: 340710 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 340711 NSpid: 340711 NSpgid: 339469 NSsid: 339469 VmPeak: 1113368 kB VmSize: 1113368 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 104956 kB VmRSS: 104956 kB RssAnon: 66304 kB RssFile: 38652 kB RssShmem: 0 kB VmData: 872096 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 620 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: 50 nonvoluntary_ctxt_switches: 93 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '340711', 'Ngid': '0', 'Pid': '340711', 'PPid': '340710', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '340711', 'NSpid': '340711', 'NSpgid': '339469', 'NSsid': '339469', 'VmPeak': '1113368 kB', 'VmSize': '1113368 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '104956 kB', 'VmRSS': '104956 kB', 'RssAnon': '66304 kB', 'RssFile': '38652 kB', 'RssShmem': '0 kB', 'VmData': '872096 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '620 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': '50', 'nonvoluntary_ctxt_switches': '93'} ('datou_batch_current', '340711', '1113368', '0', '1113368', '872096', '104956', b'', 'marlene', '4315840') 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 (29963903) 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 (4315840 ) ) 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 (29963903) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1402542225, 'portfolio_id': 29963903}, {'photo_id': 1402542223, 'portfolio_id': 29963903}, {'photo_id': 1402542216, 'portfolio_id': 29963903}, {'photo_id': 1402542209, 'portfolio_id': 29963903}, {'photo_id': 1402542184, 'portfolio_id': 29963903}, {'photo_id': 1402542183, 'portfolio_id': 29963903}, {'photo_id': 1402542109, 'portfolio_id': 29963903}, {'photo_id': 1402542108, 'portfolio_id': 29963903}, {'photo_id': 1402542105, 'portfolio_id': 29963903}, {'photo_id': 1402542100, 'portfolio_id': 29963903}, {'photo_id': 1402542082, 'portfolio_id': 29963903}, {'photo_id': 1402542079, 'portfolio_id': 29963903}, {'photo_id': 1402542075, 'portfolio_id': 29963903}, {'photo_id': 1402541975, 'portfolio_id': 29963903}, {'photo_id': 1402541968, 'portfolio_id': 29963903}, {'photo_id': 1402541955, 'portfolio_id': 29963903}, {'photo_id': 1402541947, 'portfolio_id': 29963903}, {'photo_id': 1402541868, 'portfolio_id': 29963903}, {'photo_id': 1402541866, 'portfolio_id': 29963903}, {'photo_id': 1402541864, 'portfolio_id': 29963903}, {'photo_id': 1402541862, 'portfolio_id': 29963903}, {'photo_id': 1402541839, 'portfolio_id': 29963903}, {'photo_id': 1402541836, 'portfolio_id': 29963903}, {'photo_id': 1402541753, 'portfolio_id': 29963903}, {'photo_id': 1402541549, 'portfolio_id': 29963903}, {'photo_id': 1402541548, 'portfolio_id': 29963903}, {'photo_id': 1402541547, 'portfolio_id': 29963903}, {'photo_id': 1402541431, 'portfolio_id': 29963903}, {'photo_id': 1402541158, 'portfolio_id': 29963903}, {'photo_id': 1402541157, 'portfolio_id': 29963903}] map_portfolio_id_photo_id: {29963903: [1402542225, 1402542223, 1402542216, 1402542209, 1402542184, 1402542183, 1402542109, 1402542108, 1402542105, 1402542100, 1402542082, 1402542079, 1402542075, 1402541975, 1402541968, 1402541955, 1402541947, 1402541868, 1402541866, 1402541864, 1402541862, 1402541839, 1402541836, 1402541753, 1402541549, 1402541548, 1402541547, 1402541431, 1402541158, 1402541157]} ##### 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.018226146697998047 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Tue Jan 6 05:45:56 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 (29963903) 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 : 29963903 get user id for portfolio 29963903 get sub ptf for main ptf 29963903, type 3726 and hashtags ['Carton_gris', 'mal_croppe', 'environnement', 'cartonnette', 'papier', 'flou', 'metal', 'autre_refus', 'kraft', 'Carton_brun', 'Teint_Dans_La_Masse', 'plastique'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29963903 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','environnement','cartonnette','papier','flou','metal','autre_refus','kraft','Carton_brun','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29963903 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','environnement','cartonnette','papier','flou','metal','autre_refus','kraft','Carton_brun','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 29963903, 'sub_port_id': 29963971, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504212, 'last_updated_at': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 29)}, 'cartonnette': {'main_port_id': 29963903, 'sub_port_id': 29963972, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504213, 'last_updated_at': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 29)}, 'metal': {'main_port_id': 29963903, 'sub_port_id': 29963973, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504214, 'last_updated_at': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 29)}, 'kraft': {'main_port_id': 29963903, 'sub_port_id': 29963974, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504215, 'last_updated_at': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 29)}, 'flou': {'main_port_id': 29963903, 'sub_port_id': 29963975, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504216, 'last_updated_at': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 29)}, 'papier': {'main_port_id': 29963903, 'sub_port_id': 29963976, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504217, 'last_updated_at': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 29)}, 'Carton_brun': {'main_port_id': 29963903, 'sub_port_id': 29963977, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504218, 'last_updated_at': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 29963903, 'sub_port_id': 29963978, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504219, 'last_updated_at': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 29)}, 'environnement': {'main_port_id': 29963903, 'sub_port_id': 29963979, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504220, 'last_updated_at': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 29)}, 'autre_refus': {'main_port_id': 29963903, 'sub_port_id': 29963980, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504221, 'last_updated_at': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 29)}, 'plastique': {'main_port_id': 29963903, 'sub_port_id': 29963981, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504222, 'last_updated_at': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 29)}, 'mal_croppe': {'main_port_id': 29963903, 'sub_port_id': 29963982, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504223, 'last_updated_at': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29963971 , 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=29963903 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 (29963971) result : ((1402542023,), (1402542087,), (1402542157,), (1402542375,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29963903) result : ((1402541157,), (1402541158,), (1402541431,), (1402541547,), (1402541548,), (1402541549,), (1402541753,), (1402541836,), (1402541839,), (1402541862,), (1402541864,), (1402541866,), (1402541868,), (1402541947,), (1402541955,), (1402541968,), (1402541975,), (1402542075,), (1402542079,), (1402542082,), (1402542100,), (1402542105,), (1402542108,), (1402542109,), (1402542183,), (1402542184,), (1402542209,), (1402542216,), (1402542223,), (1402542225,)) 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 (1402542100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29963972 , 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=29963903 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 (29963972) result : ((1402541560,), (1402541561,), (1402541849,), (1402542088,), (1402544486,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29963903) result : ((1402541157,), (1402541158,), (1402541431,), (1402541547,), (1402541548,), (1402541549,), (1402541753,), (1402541836,), (1402541839,), (1402541862,), (1402541864,), (1402541866,), (1402541868,), (1402541947,), (1402541955,), (1402541968,), (1402541975,), (1402542075,), (1402542079,), (1402542082,), (1402542100,), (1402542105,), (1402542108,), (1402542109,), (1402542183,), (1402542184,), (1402542209,), (1402542216,), (1402542223,), (1402542225,)) 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 (1402542100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29963973 , 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=29963903 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 (29963973) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29963903) result : ((1402541157,), (1402541158,), (1402541431,), (1402541547,), (1402541548,), (1402541549,), (1402541753,), (1402541836,), (1402541839,), (1402541862,), (1402541864,), (1402541866,), (1402541868,), (1402541947,), (1402541955,), (1402541968,), (1402541975,), (1402542075,), (1402542079,), (1402542082,), (1402542100,), (1402542105,), (1402542108,), (1402542109,), (1402542183,), (1402542184,), (1402542209,), (1402542216,), (1402542223,), (1402542225,)) 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 (1402542100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29963974 , 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=29963903 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 (29963974) result : ((1402542093,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29963903) result : ((1402541157,), (1402541158,), (1402541431,), (1402541547,), (1402541548,), (1402541549,), (1402541753,), (1402541836,), (1402541839,), (1402541862,), (1402541864,), (1402541866,), (1402541868,), (1402541947,), (1402541955,), (1402541968,), (1402541975,), (1402542075,), (1402542079,), (1402542082,), (1402542100,), (1402542105,), (1402542108,), (1402542109,), (1402542183,), (1402542184,), (1402542209,), (1402542216,), (1402542223,), (1402542225,)) 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 (1402542100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29963975 , 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=29963903 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 (29963975) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29963903) result : ((1402541157,), (1402541158,), (1402541431,), (1402541547,), (1402541548,), (1402541549,), (1402541753,), (1402541836,), (1402541839,), (1402541862,), (1402541864,), (1402541866,), (1402541868,), (1402541947,), (1402541955,), (1402541968,), (1402541975,), (1402542075,), (1402542079,), (1402542082,), (1402542100,), (1402542105,), (1402542108,), (1402542109,), (1402542183,), (1402542184,), (1402542209,), (1402542216,), (1402542223,), (1402542225,)) 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 (1402542100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29963976 , 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=29963903 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 (29963976) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29963903) result : ((1402541157,), (1402541158,), (1402541431,), (1402541547,), (1402541548,), (1402541549,), (1402541753,), (1402541836,), (1402541839,), (1402541862,), (1402541864,), (1402541866,), (1402541868,), (1402541947,), (1402541955,), (1402541968,), (1402541975,), (1402542075,), (1402542079,), (1402542082,), (1402542100,), (1402542105,), (1402542108,), (1402542109,), (1402542183,), (1402542184,), (1402542209,), (1402542216,), (1402542223,), (1402542225,)) 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 (1402542100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29963977 , 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=29963903 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 (29963977) result : ((1402542090,), (1402542091,), (1402542092,), (1402542161,), (1402544487,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29963903) result : ((1402541157,), (1402541158,), (1402541431,), (1402541547,), (1402541548,), (1402541549,), (1402541753,), (1402541836,), (1402541839,), (1402541862,), (1402541864,), (1402541866,), (1402541868,), (1402541947,), (1402541955,), (1402541968,), (1402541975,), (1402542075,), (1402542079,), (1402542082,), (1402542100,), (1402542105,), (1402542108,), (1402542109,), (1402542183,), (1402542184,), (1402542209,), (1402542216,), (1402542223,), (1402542225,)) 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 (1402542100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29963978 , 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=29963903 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 (29963978) result : ((1402541555,), (1402542022,), (1402542083,), (1402542374,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29963903) result : ((1402541157,), (1402541158,), (1402541431,), (1402541547,), (1402541548,), (1402541549,), (1402541753,), (1402541836,), (1402541839,), (1402541862,), (1402541864,), (1402541866,), (1402541868,), (1402541947,), (1402541955,), (1402541968,), (1402541975,), (1402542075,), (1402542079,), (1402542082,), (1402542100,), (1402542105,), (1402542108,), (1402542109,), (1402542183,), (1402542184,), (1402542209,), (1402542216,), (1402542223,), (1402542225,)) 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 (1402542100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29963979 , 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=29963903 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 (29963979) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29963903) result : ((1402541157,), (1402541158,), (1402541431,), (1402541547,), (1402541548,), (1402541549,), (1402541753,), (1402541836,), (1402541839,), (1402541862,), (1402541864,), (1402541866,), (1402541868,), (1402541947,), (1402541955,), (1402541968,), (1402541975,), (1402542075,), (1402542079,), (1402542082,), (1402542100,), (1402542105,), (1402542108,), (1402542109,), (1402542183,), (1402542184,), (1402542209,), (1402542216,), (1402542223,), (1402542225,)) 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 (1402542100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29963980 , 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=29963903 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 (29963980) result : ((1402541556,), (1402542074,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29963903) result : ((1402541157,), (1402541158,), (1402541431,), (1402541547,), (1402541548,), (1402541549,), (1402541753,), (1402541836,), (1402541839,), (1402541862,), (1402541864,), (1402541866,), (1402541868,), (1402541947,), (1402541955,), (1402541968,), (1402541975,), (1402542075,), (1402542079,), (1402542082,), (1402542100,), (1402542105,), (1402542108,), (1402542109,), (1402542183,), (1402542184,), (1402542209,), (1402542216,), (1402542223,), (1402542225,)) 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 (1402542100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29963981 , 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=29963903 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 (29963981) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29963903) result : ((1402541157,), (1402541158,), (1402541431,), (1402541547,), (1402541548,), (1402541549,), (1402541753,), (1402541836,), (1402541839,), (1402541862,), (1402541864,), (1402541866,), (1402541868,), (1402541947,), (1402541955,), (1402541968,), (1402541975,), (1402542075,), (1402542079,), (1402542082,), (1402542100,), (1402542105,), (1402542108,), (1402542109,), (1402542183,), (1402542184,), (1402542209,), (1402542216,), (1402542223,), (1402542225,)) 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 (1402542100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29963982 , 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=29963903 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 (29963982) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29963903) result : ((1402541157,), (1402541158,), (1402541431,), (1402541547,), (1402541548,), (1402541549,), (1402541753,), (1402541836,), (1402541839,), (1402541862,), (1402541864,), (1402541866,), (1402541868,), (1402541947,), (1402541955,), (1402541968,), (1402541975,), (1402542075,), (1402542079,), (1402542082,), (1402542100,), (1402542105,), (1402542108,), (1402542109,), (1402542183,), (1402542184,), (1402542209,), (1402542216,), (1402542223,), (1402542225,)) 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 (1402542100) and cspi.crop_hashtag_id = chi.id; 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`=29963903 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','environnement','cartonnette','papier','flou','metal','autre_refus','kraft','Carton_brun','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29963903 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','environnement','cartonnette','papier','flou','metal','autre_refus','kraft','Carton_brun','Teint_Dans_La_Masse','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 29963903, 'sub_port_id': 29963983, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504224, 'last_updated_at': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 32)}, 'cartonnette': {'main_port_id': 29963903, 'sub_port_id': 29963984, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504225, 'last_updated_at': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 32)}, 'metal': {'main_port_id': 29963903, 'sub_port_id': 29963985, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504226, 'last_updated_at': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 32)}, 'kraft': {'main_port_id': 29963903, 'sub_port_id': 29963986, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504227, 'last_updated_at': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 32)}, 'flou': {'main_port_id': 29963903, 'sub_port_id': 29963987, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504228, 'last_updated_at': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 32)}, 'papier': {'main_port_id': 29963903, 'sub_port_id': 29963988, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504229, 'last_updated_at': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 32)}, 'Carton_brun': {'main_port_id': 29963903, 'sub_port_id': 29963989, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504230, 'last_updated_at': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 32)}, 'Teint_Dans_La_Masse': {'main_port_id': 29963903, 'sub_port_id': 29963990, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504231, 'last_updated_at': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 32)}, 'environnement': {'main_port_id': 29963903, 'sub_port_id': 29963991, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504232, 'last_updated_at': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 32)}, 'autre_refus': {'main_port_id': 29963903, 'sub_port_id': 29963992, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504233, 'last_updated_at': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 32)}, 'plastique': {'main_port_id': 29963903, 'sub_port_id': 29963993, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504234, 'last_updated_at': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 15, 47, 32), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 32)}, 'mal_croppe': {'main_port_id': 29963903, 'sub_port_id': 29963994, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20504235, 'last_updated_at': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 16, 4, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 15, 47, 32)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29963983,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29963971 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29963984,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29963972 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29963985,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29963973 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29963986,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29963974 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29963987,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29963975 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29963988,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29963976 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29963989,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29963977 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29963990,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29963978 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29963991,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29963979 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29963992,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29963980 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29963993,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29963981 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29963994,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29963982 lien utilise dans velours : https://marlene.fotonower.com/velours/29963983,29963984,29963985,29963986,29963987,29963988,29963989,29963990,29963991,29963992,29963993,29963994?tags=Carton_gris,cartonnette,metal,kraft,flou,papier,Carton_brun,Teint_Dans_La_Masse,environnement,autre_refus,plastique,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29963903]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1402542225, 1402542223, 1402542216, 1402542209, 1402542184, 1402542183, 1402542109, 1402542108, 1402542105, 1402542100, 1402542082, 1402542079, 1402542075, 1402541975, 1402541968, 1402541955, 1402541947, 1402541868, 1402541866, 1402541864, 1402541862, 1402541839, 1402541836, 1402541753, 1402541549, 1402541548, 1402541547, 1402541431, 1402541158, 1402541157] map_info['map_portfolio_photo'] : {29963903: [1402542225, 1402542223, 1402542216, 1402542209, 1402542184, 1402542183, 1402542109, 1402542108, 1402542105, 1402542100, 1402542082, 1402542079, 1402542075, 1402541975, 1402541968, 1402541955, 1402541947, 1402541868, 1402541866, 1402541864, 1402541862, 1402541839, 1402541836, 1402541753, 1402541549, 1402541548, 1402541547, 1402541431, 1402541158, 1402541157]} final : False mtd_id 4302 list_pids : [1402542225, 1402542223, 1402542216, 1402542209, 1402542184, 1402542183, 1402542109, 1402542108, 1402542105, 1402542100, 1402542082, 1402542079, 1402542075, 1402541975, 1402541968, 1402541955, 1402541947, 1402541868, 1402541866, 1402541864, 1402541862, 1402541839, 1402541836, 1402541753, 1402541549, 1402541548, 1402541547, 1402541431, 1402541158, 1402541157] Looping around the photos to save general results len do output : 1 /29963903. 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, '4315840') ('4302', '29963903', '1402542225', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542223', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542216', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542209', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542184', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542183', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542109', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542108', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542105', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542100', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542082', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542079', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542075', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541975', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541968', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541955', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541947', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541868', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541866', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541864', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541862', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541839', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541836', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541753', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541549', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541548', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541547', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541431', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541158', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541157', None, None, None, None, None, '4315840') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 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, '29963903', "{'Carton_gris': 29963971, 'cartonnette': 29963972, 'metal': 29963973, 'kraft': 29963974, 'flou': 29963975, 'papier': 29963976, 'Carton_brun': 29963977, 'Teint_Dans_La_Masse': 29963978, 'environnement': 29963979, 'autre_refus': 29963980, 'plastique': 29963981, 'mal_croppe': 29963982}", None, None, None, None, '4315840'), ('4302', '29963903', '1402542225', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542223', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542216', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542209', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542184', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542183', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542109', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542108', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542105', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542100', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542082', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542079', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542075', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541975', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541968', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541955', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541947', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541868', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541866', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541864', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541862', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541839', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541836', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541753', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541549', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541548', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541547', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541431', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541158', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541157', None, None, None, None, None, '4315840')] time used for this insertion : 0.023571491241455078 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5564761161804199 time spend to save output : 0.023981809616088867 total time spend for step 1 : 0.5804579257965088 step2:final Tue Jan 6 05:45:57 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 (29963903) 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 29963903 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1402541158,1402541157,1402541431,1402541549,1402541548,1402541547,1402541839,1402541753,1402541836,1402541868,1402541866,1402541864,1402541862,1402541975,1402541968,1402541955,1402541947,1402542082,1402542079,1402542075,1402542109,1402542225,1402542108,1402542223,1402542105,1402542216,1402542100,1402542209,1402542183,1402542184); 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([29963903]) Inside saveOutput : final : False verbose : True original output for save of step final : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} new output for save of step final : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} [1402542225, 1402542223, 1402542216, 1402542209, 1402542184, 1402542183, 1402542109, 1402542108, 1402542105, 1402542100, 1402542082, 1402542079, 1402542075, 1402541975, 1402541968, 1402541955, 1402541947, 1402541868, 1402541866, 1402541864, 1402541862, 1402541839, 1402541836, 1402541753, 1402541549, 1402541548, 1402541547, 1402541431, 1402541158, 1402541157] map_info['map_portfolio_photo'] : {29963903: [1402542225, 1402542223, 1402542216, 1402542209, 1402542184, 1402542183, 1402542109, 1402542108, 1402542105, 1402542100, 1402542082, 1402542079, 1402542075, 1402541975, 1402541968, 1402541955, 1402541947, 1402541868, 1402541866, 1402541864, 1402541862, 1402541839, 1402541836, 1402541753, 1402541549, 1402541548, 1402541547, 1402541431, 1402541158, 1402541157]} final : False mtd_id 4302 list_pids : [1402542225, 1402542223, 1402542216, 1402542209, 1402542184, 1402542183, 1402542109, 1402542108, 1402542105, 1402542100, 1402542082, 1402542079, 1402542075, 1402541975, 1402541968, 1402541955, 1402541947, 1402541868, 1402541866, 1402541864, 1402541862, 1402541839, 1402541836, 1402541753, 1402541549, 1402541548, 1402541547, 1402541431, 1402541158, 1402541157] Looping around the photos to save general results len do output : 30 /1402542225.Didn't retrieve data . /1402542223.Didn't retrieve data . /1402542216.Didn't retrieve data . /1402542209.Didn't retrieve data . /1402542184.Didn't retrieve data . /1402542183.Didn't retrieve data . /1402542109.Didn't retrieve data . /1402542108.Didn't retrieve data . /1402542105.Didn't retrieve data . /1402542100.Didn't retrieve data . /1402542082.Didn't retrieve data . /1402542079.Didn't retrieve data . /1402542075.Didn't retrieve data . /1402541975.Didn't retrieve data . /1402541968.Didn't retrieve data . /1402541955.Didn't retrieve data . /1402541947.Didn't retrieve data . /1402541868.Didn't retrieve data . /1402541866.Didn't retrieve data . /1402541864.Didn't retrieve data . /1402541862.Didn't retrieve data . /1402541839.Didn't retrieve data . /1402541836.Didn't retrieve data . /1402541753.Didn't retrieve data . /1402541549.Didn't retrieve data . /1402541548.Didn't retrieve data . /1402541547.Didn't retrieve data . /1402541431.Didn't retrieve data . /1402541158.Didn't retrieve data . /1402541157.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, '4315840') ('4302', '29963903', '1402542225', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542223', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542216', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542209', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542184', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542183', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542109', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542108', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542105', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542100', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542082', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542079', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542075', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541975', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541968', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541955', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541947', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541868', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541866', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541864', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541862', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541839', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541836', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541753', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541549', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541548', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541547', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541431', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541158', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541157', None, None, None, None, None, '4315840') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 90 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', '29963903', '1402542225', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402542223', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402542216', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402542209', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402542184', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402542183', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402542109', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402542108', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402542105', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402542100', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402542082', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402542079', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402542075', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402541975', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402541968', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402541955', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402541947', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402541868', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402541866', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402541864', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402541862', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402541839', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402541836', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402541753', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402541549', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402541548', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402541547', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402541431', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402541158', '0.03498436145281377', None, None, None, None, '4315840'), ('4302', '29963903', '1402541157', '0.03498436145281377', None, None, None, None, '4315840')] time used for this insertion : 0.022907018661499023 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08201932907104492 time spend to save output : 0.024098873138427734 total time spend for step 2 : 0.10611820220947266 step3:velours_tree Tue Jan 6 05:45:57 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 : {29963903: [{'Carton_gris': 29963971, 'cartonnette': 29963972, 'metal': 29963973, 'kraft': 29963974, 'flou': 29963975, 'papier': 29963976, 'Carton_brun': 29963977, 'Teint_Dans_La_Masse': 29963978, 'environnement': 29963979, 'autre_refus': 29963980, 'plastique': 29963981, 'mal_croppe': 29963982}]} input_args_next_step : {29963903: ()} output_args : {29963903: [{'Carton_gris': 29963971, 'cartonnette': 29963972, 'metal': 29963973, 'kraft': 29963974, 'flou': 29963975, 'papier': 29963976, 'Carton_brun': 29963977, 'Teint_Dans_La_Masse': 29963978, 'environnement': 29963979, 'autre_refus': 29963980, 'plastique': 29963981, 'mal_croppe': 29963982}]} args : 29963903 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': 29963971, 'cartonnette': 29963972, 'metal': 29963973, 'kraft': 29963974, 'flou': 29963975, 'papier': 29963976, 'Carton_brun': 29963977, 'Teint_Dans_La_Masse': 29963978, 'environnement': 29963979, 'autre_refus': 29963980, 'plastique': 29963981, 'mal_croppe': 29963982},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29963903) 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([29963903]) 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.24087762832641602 time spend to save output : 4.887580871582031e-05 total time spend for step 3 : 0.24092650413513184 step4:send_mail_cod Tue Jan 6 05:45:57 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 : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} input_args_next_step : {1402542225: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402542225 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402542223 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402542216 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402542209 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402542184 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402542183 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402542109 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402542108 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402542105 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402542100 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402542082 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402542079 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402542075 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402541975 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402541968 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402541955 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402541947 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402541868 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402541866 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402541864 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402541862 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402541839 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402541836 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402541753 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402541549 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402541548 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402541547 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402541431 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402541158 depend.output_id : 0 input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ()} output_args : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',)} args : 1402541157 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 : {29963903: [{'Carton_gris': 29963971, 'cartonnette': 29963972, 'metal': 29963973, 'kraft': 29963974, 'flou': 29963975, 'papier': 29963976, 'Carton_brun': 29963977, 'Teint_Dans_La_Masse': 29963978, 'environnement': 29963979, 'autre_refus': 29963980, 'plastique': 29963981, 'mal_croppe': 29963982}]} input_args_next_step : {1402542225: ('0.03498436145281377',), 1402542223: ('0.03498436145281377',), 1402542216: ('0.03498436145281377',), 1402542209: ('0.03498436145281377',), 1402542184: ('0.03498436145281377',), 1402542183: ('0.03498436145281377',), 1402542109: ('0.03498436145281377',), 1402542108: ('0.03498436145281377',), 1402542105: ('0.03498436145281377',), 1402542100: ('0.03498436145281377',), 1402542082: ('0.03498436145281377',), 1402542079: ('0.03498436145281377',), 1402542075: ('0.03498436145281377',), 1402541975: ('0.03498436145281377',), 1402541968: ('0.03498436145281377',), 1402541955: ('0.03498436145281377',), 1402541947: ('0.03498436145281377',), 1402541868: ('0.03498436145281377',), 1402541866: ('0.03498436145281377',), 1402541864: ('0.03498436145281377',), 1402541862: ('0.03498436145281377',), 1402541839: ('0.03498436145281377',), 1402541836: ('0.03498436145281377',), 1402541753: ('0.03498436145281377',), 1402541549: ('0.03498436145281377',), 1402541548: ('0.03498436145281377',), 1402541547: ('0.03498436145281377',), 1402541431: ('0.03498436145281377',), 1402541158: ('0.03498436145281377',), 1402541157: ('0.03498436145281377',), 29963903: ()} output_args : {29963903: [{'Carton_gris': 29963971, 'cartonnette': 29963972, 'metal': 29963973, 'kraft': 29963974, 'flou': 29963975, 'papier': 29963976, 'Carton_brun': 29963977, 'Teint_Dans_La_Masse': 29963978, 'environnement': 29963979, 'autre_refus': 29963980, 'plastique': 29963981, 'mal_croppe': 29963982}]} args : 29963903 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 :31, first value : ('0.03498436145281377',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29963903) 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 (1402542225,1402542223,1402542216,1402542209,1402542184,1402542183,1402542109,1402542108,1402542105,1402542100,1402542082,1402542079,1402542075,1402541975,1402541968,1402541955,1402541947,1402541868,1402541866,1402541864,1402541862,1402541839,1402541836,1402541753,1402541549,1402541548,1402541547,1402541431,1402541158,1402541157) Found this number of photos: 30 ##### Call download_photos : nb_thread : 5 begin to download photo : 1402541157 begin to download photo : 1402541836 begin to download photo : 1402541955 begin to download photo : 1402542105 begin to download photo : 1402542223 download finish for photo 1402541157 begin to download photo : 1402541158 download finish for photo 1402542105 begin to download photo : 1402542108 download finish for photo 1402541836 begin to download photo : 1402541839 download finish for photo 1402542223 begin to download photo : 1402542225 download finish for photo 1402541955 begin to download photo : 1402541968 download finish for photo 1402541158 begin to download photo : 1402541431 download finish for photo 1402541839 begin to download photo : 1402541862 download finish for photo 1402541968 begin to download photo : 1402541975 download finish for photo 1402542225 download finish for photo 1402542108 begin to download photo : 1402542109 download finish for photo 1402541431 begin to download photo : 1402541547 download finish for photo 1402541975 begin to download photo : 1402542075 download finish for photo 1402542109 begin to download photo : 1402542183 download finish for photo 1402541862 begin to download photo : 1402541864 download finish for photo 1402541547 begin to download photo : 1402541548 download finish for photo 1402542075 begin to download photo : 1402542079 download finish for photo 1402541864 begin to download photo : 1402541866 download finish for photo 1402541548 begin to download photo : 1402541549 download finish for photo 1402542183 begin to download photo : 1402542184 download finish for photo 1402542079 begin to download photo : 1402542082 download finish for photo 1402541866 begin to download photo : 1402541868 download finish for photo 1402541549 begin to download photo : 1402541753 download finish for photo 1402542184 begin to download photo : 1402542209 download finish for photo 1402542082 begin to download photo : 1402542100 download finish for photo 1402541868 begin to download photo : 1402541947 download finish for photo 1402541753 download finish for photo 1402542100 download finish for photo 1402542209 begin to download photo : 1402542216 download finish for photo 1402541947 download finish for photo 1402542216 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 30 ; length of list_pids : 30 ; length of list_args : 30 results_Auto_P29963903_06-01-2026_05_45_58.pdf 29963972 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=29963972 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402541560: '1767624547_2356724_1402541158_d95dd26bee6dbef059d0db2cd8a7eebc_rle_crop_4091020089_0.png', 1402541561: '1767624547_2356724_1402541158_d95dd26bee6dbef059d0db2cd8a7eebc_rle_crop_4091020086_0.png', 1402541849: '1767624906_2376130_1402541548_2067853728d75921645a724f60e13794_rle_crop_4091028588_0.png', 1402542088: '1767625166_2388450_1402541955_fb0ba28c72ddee77adb98c45bb1babc9_rle_crop_4091030297_0.png', 1402544486: '1767626345_2479139_1402541836_22d50dd070427a31b1240c07048058e4_rle_crop_4091049988_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/07a3954c47b1ae2823adf36b558c4113_92652678.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/7a72bbfad938d2703aa95b7b94548e97_13003688.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/e6ff0fc0ebd0cc6ee6fd44b918f3c299_48305267.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/830d7d26d0517d90d842c493c03a4eaa_97299003.png change filename to text .imagette299639721767674758/ imagette299639721767674758/1767624547_2356724_1402541158_d95dd26bee6dbef059d0db2cd8a7eebc_rle_crop_4091020086_0.png.png imagette299639721767674758/1767625166_2388450_1402541955_fb0ba28c72ddee77adb98c45bb1babc9_rle_crop_4091030297_0.png.png imagette299639721767674758/1767624547_2356724_1402541158_d95dd26bee6dbef059d0db2cd8a7eebc_rle_crop_4091020089_0.png.png imagette299639721767674758/1767626345_2479139_1402541836_22d50dd070427a31b1240c07048058e4_rle_crop_4091049988_0.png.png imagette299639721767674758/1767624906_2376130_1402541548_2067853728d75921645a724f60e13794_rle_crop_4091028588_0.png.png imagette299639731767674759/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/332a6b97a459c0bf0785d9641bcbf34f_78658995.png imagette299639721767674758 29963973 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=29963973 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette299639731767674759 29963974 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=29963974 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402542093: '1767625166_2388450_1402541968_fb55d649abd7b2aa1f3c3b5e166978fc_rle_crop_4091030275_0.png'} change filename to text .imagette299639741767674759/ imagette299639741767674759/1767625166_2388450_1402541968_fb55d649abd7b2aa1f3c3b5e166978fc_rle_crop_4091030275_0.png.png imagette299639751767674759/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/cdb0fd59fc8f726e46eb87459e06c85a_72222114.png imagette299639741767674759 29963975 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=29963975 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette299639751767674759 29963980 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=29963980 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402541556: '1767624547_2356724_1402541158_d95dd26bee6dbef059d0db2cd8a7eebc_rle_crop_4091020091_0.png', 1402542074: '1767625147_2388053_1402541839_99a2ff7506ad667f61ee3609c688f1dd_rle_crop_4091030069_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/c7b896e4c6bb569ee2f51b684566c1cf_80906588.png change filename to text .imagette299639801767674759/ imagette299639801767674759/1767625147_2388053_1402541839_99a2ff7506ad667f61ee3609c688f1dd_rle_crop_4091030069_0.png.png imagette299639801767674759/1767624547_2356724_1402541158_d95dd26bee6dbef059d0db2cd8a7eebc_rle_crop_4091020091_0.png.png imagette299639811767674759/ imagette299639821767674759/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/b343e35a1cef23b9ede61fd4c4d30d38_16604811.png imagette299639801767674759 29963981 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=29963981 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette299639811767674759 29963982 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=29963982 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette299639821767674759 29963971 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=29963971 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402542023: '1767625048_2382563_1402541866_23d60acf7f354a1adbd393d1124bce4b_rle_crop_4091029443_0.png', 1402542087: '1767625166_2388450_1402541947_d9f6460b764c05e5d4269f5b251397b2_rle_crop_4091030316_0.png', 1402542157: '1767625267_2427207_1402541975_23007a05c39c874918f355e3c5402a26_rle_crop_4091030578_0.png', 1402542375: '1767625504_2434290_1402542108_a5cd21885ad10d62764f88de913f039a_rle_crop_4091032263_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/66d5794dc8ce266360d3502259063b6e_69545753.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/aebd2b309842c625f33d8bf49a1ea73d_84588741.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/b8cb91552790047d9dc4f2203cab41f7_65830820.png change filename to text .imagette299639711767674759/ imagette299639711767674759/1767625504_2434290_1402542108_a5cd21885ad10d62764f88de913f039a_rle_crop_4091032263_0.png.png imagette299639711767674759/1767625166_2388450_1402541947_d9f6460b764c05e5d4269f5b251397b2_rle_crop_4091030316_0.png.png imagette299639711767674759/1767625048_2382563_1402541866_23d60acf7f354a1adbd393d1124bce4b_rle_crop_4091029443_0.png.png imagette299639711767674759/1767625267_2427207_1402541975_23007a05c39c874918f355e3c5402a26_rle_crop_4091030578_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/c284e9c9afd64779ae5a51736eaa480b_87980506.png imagette299639711767674759 29963977 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=29963977 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402542090: '1767625166_2388450_1402541968_fb55d649abd7b2aa1f3c3b5e166978fc_rle_crop_4091030273_0.png', 1402542091: '1767625166_2388450_1402541968_fb55d649abd7b2aa1f3c3b5e166978fc_rle_crop_4091030274_0.png', 1402542092: '1767625166_2388450_1402541955_fb0ba28c72ddee77adb98c45bb1babc9_rle_crop_4091030298_0.png', 1402542161: '1767625267_2427207_1402541975_23007a05c39c874918f355e3c5402a26_rle_crop_4091030581_0.png', 1402544487: '1767626345_2479139_1402541868_abea90ef8810dd9885a5af2620616862_rle_crop_4091049968_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/b0b1304f122bbcda809213792443f7e7_82550860.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/6ac26f83c5aacde5d18a76b3e15ca67e_77019297.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/ab8d4b54f559b8bf0e0290bdf0ea0b01_84640746.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/aaf72344e6a3e95b6a3817c8d743d3f4_57765650.png change filename to text .imagette299639771767674760/ imagette299639771767674760/1767625267_2427207_1402541975_23007a05c39c874918f355e3c5402a26_rle_crop_4091030581_0.png.png imagette299639771767674760/1767626345_2479139_1402541868_abea90ef8810dd9885a5af2620616862_rle_crop_4091049968_0.png.png imagette299639771767674760/1767625166_2388450_1402541968_fb55d649abd7b2aa1f3c3b5e166978fc_rle_crop_4091030273_0.png.png imagette299639771767674760/1767625166_2388450_1402541968_fb55d649abd7b2aa1f3c3b5e166978fc_rle_crop_4091030274_0.png.png imagette299639771767674760/1767625166_2388450_1402541955_fb0ba28c72ddee77adb98c45bb1babc9_rle_crop_4091030298_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/bc67c4a05041dbc87d77dcb22a310680_54989676.png imagette299639771767674760 29963978 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=29963978 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402541555: '1767624547_2356724_1402541158_d95dd26bee6dbef059d0db2cd8a7eebc_rle_crop_4091020093_0.png', 1402542022: '1767625048_2382563_1402541862_a058b036e4946f8eac070afef4940099_rle_crop_4091029467_0.png', 1402542083: '1767625166_2388450_1402541947_d9f6460b764c05e5d4269f5b251397b2_rle_crop_4091030320_0.png', 1402542374: '1767625504_2434290_1402542100_529aa7f8b0c2ff2088c0f582aaff1028_rle_crop_4091032288_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/a95832b2d645255035f421c7f73071d6_19303736.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/65eba441ead3bb73b223a5ca0b022da6_41859116.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/9af94965513a6b6f75dfaae218239c5a_73801037.png change filename to text .imagette299639781767674760/ imagette299639781767674760/1767625166_2388450_1402541947_d9f6460b764c05e5d4269f5b251397b2_rle_crop_4091030320_0.png.png imagette299639781767674760/1767625504_2434290_1402542100_529aa7f8b0c2ff2088c0f582aaff1028_rle_crop_4091032288_0.png.png imagette299639781767674760/1767625048_2382563_1402541862_a058b036e4946f8eac070afef4940099_rle_crop_4091029467_0.png.png imagette299639781767674760/1767624547_2356724_1402541158_d95dd26bee6dbef059d0db2cd8a7eebc_rle_crop_4091020093_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/9b6cd567fe262637b7da5c679bb13029_89897807.png imagette299639781767674760 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29963903 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29963983,29963984,29963985,29963986,29963987,29963988,29963989,29963990,29963991,29963992,29963993,29963994?tags=Carton_gris,cartonnette,metal,kraft,flou,papier,Carton_brun,Teint_Dans_La_Masse,environnement,autre_refus,plastique,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1402542225] : ('0.03498436145281377',) no score found for photo 1402542225 We are sending mail with results at report@fotonower.com args[1402542223] : ('0.03498436145281377',) no score found for photo 1402542223 We are sending mail with results at report@fotonower.com args[1402542216] : ('0.03498436145281377',) no score found for photo 1402542216 We are sending mail with results at report@fotonower.com args[1402542209] : ('0.03498436145281377',) no score found for photo 1402542209 We are sending mail with results at report@fotonower.com args[1402542184] : ('0.03498436145281377',) no score found for photo 1402542184 We are sending mail with results at report@fotonower.com args[1402542183] : ('0.03498436145281377',) no score found for photo 1402542183 We are sending mail with results at report@fotonower.com args[1402542109] : ('0.03498436145281377',) no score found for photo 1402542109 We are sending mail with results at report@fotonower.com args[1402542108] : ('0.03498436145281377',) no score found for photo 1402542108 We are sending mail with results at report@fotonower.com args[1402542105] : ('0.03498436145281377',) no score found for photo 1402542105 We are sending mail with results at report@fotonower.com args[1402542100] : ('0.03498436145281377',) no score found for photo 1402542100 We are sending mail with results at report@fotonower.com args[1402542082] : ('0.03498436145281377',) no score found for photo 1402542082 We are sending mail with results at report@fotonower.com args[1402542079] : ('0.03498436145281377',) no score found for photo 1402542079 We are sending mail with results at report@fotonower.com args[1402542075] : ('0.03498436145281377',) no score found for photo 1402542075 We are sending mail with results at report@fotonower.com args[1402541975] : ('0.03498436145281377',) no score found for photo 1402541975 We are sending mail with results at report@fotonower.com args[1402541968] : ('0.03498436145281377',) no score found for photo 1402541968 We are sending mail with results at report@fotonower.com args[1402541955] : ('0.03498436145281377',) no score found for photo 1402541955 We are sending mail with results at report@fotonower.com args[1402541947] : ('0.03498436145281377',) no score found for photo 1402541947 We are sending mail with results at report@fotonower.com args[1402541868] : ('0.03498436145281377',) no score found for photo 1402541868 We are sending mail with results at report@fotonower.com args[1402541866] : ('0.03498436145281377',) no score found for photo 1402541866 We are sending mail with results at report@fotonower.com args[1402541864] : ('0.03498436145281377',) no score found for photo 1402541864 We are sending mail with results at report@fotonower.com args[1402541862] : ('0.03498436145281377',) no score found for photo 1402541862 We are sending mail with results at report@fotonower.com args[1402541839] : ('0.03498436145281377',) no score found for photo 1402541839 We are sending mail with results at report@fotonower.com args[1402541836] : ('0.03498436145281377',) no score found for photo 1402541836 We are sending mail with results at report@fotonower.com args[1402541753] : ('0.03498436145281377',) no score found for photo 1402541753 We are sending mail with results at report@fotonower.com args[1402541549] : ('0.03498436145281377',) no score found for photo 1402541549 We are sending mail with results at report@fotonower.com args[1402541548] : ('0.03498436145281377',) no score found for photo 1402541548 We are sending mail with results at report@fotonower.com args[1402541547] : ('0.03498436145281377',) no score found for photo 1402541547 We are sending mail with results at report@fotonower.com args[1402541431] : ('0.03498436145281377',) no score found for photo 1402541431 We are sending mail with results at report@fotonower.com args[1402541158] : ('0.03498436145281377',) no score found for photo 1402541158 We are sending mail with results at report@fotonower.com args[1402541157] : ('0.03498436145281377',) no score found for photo 1402541157 We are sending mail with results at report@fotonower.com refus_total : 0.03498436145281377 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=29963903 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_P29963903_06-01-2026_05_45_58.pdf results_Auto_P29963903_06-01-2026_05_45_58.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29963903_06-01-2026_05_45_58.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','29963903','results_Auto_P29963903_06-01-2026_05_45_58.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29963903_06-01-2026_05_45_58.pdf','pdf','','0.27','0.03498436145281377') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29963903]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1402542225, 1402542223, 1402542216, 1402542209, 1402542184, 1402542183, 1402542109, 1402542108, 1402542105, 1402542100, 1402542082, 1402542079, 1402542075, 1402541975, 1402541968, 1402541955, 1402541947, 1402541868, 1402541866, 1402541864, 1402541862, 1402541839, 1402541836, 1402541753, 1402541549, 1402541548, 1402541547, 1402541431, 1402541158, 1402541157] map_info['map_portfolio_photo'] : {29963903: [1402542225, 1402542223, 1402542216, 1402542209, 1402542184, 1402542183, 1402542109, 1402542108, 1402542105, 1402542100, 1402542082, 1402542079, 1402542075, 1402541975, 1402541968, 1402541955, 1402541947, 1402541868, 1402541866, 1402541864, 1402541862, 1402541839, 1402541836, 1402541753, 1402541549, 1402541548, 1402541547, 1402541431, 1402541158, 1402541157]} final : False mtd_id 4302 list_pids : [1402542225, 1402542223, 1402542216, 1402542209, 1402542184, 1402542183, 1402542109, 1402542108, 1402542105, 1402542100, 1402542082, 1402542079, 1402542075, 1402541975, 1402541968, 1402541955, 1402541947, 1402541868, 1402541866, 1402541864, 1402541862, 1402541839, 1402541836, 1402541753, 1402541549, 1402541548, 1402541547, 1402541431, 1402541158, 1402541157] 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, '4315840') ('4302', '29963903', '1402542225', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542223', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542216', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542209', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542184', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542183', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542109', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542108', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542105', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542100', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542082', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542079', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542075', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541975', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541968', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541955', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541947', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541868', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541866', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541864', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541862', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541839', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541836', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541753', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541549', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541548', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541547', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541431', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541158', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541157', None, None, None, None, None, '4315840') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 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', '29963903', '1402542225', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542223', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542216', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542209', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542184', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542183', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542109', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542108', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542105', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542100', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542082', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542079', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542075', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541975', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541968', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541955', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541947', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541868', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541866', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541864', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541862', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541839', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541836', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541753', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541549', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541548', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541547', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541431', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541158', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541157', None, None, None, None, None, '4315840')] time used for this insertion : 0.018533945083618164 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.4283154010772705 time spend to save output : 0.018861055374145508 total time spend for step 4 : 5.447176456451416 step5:split_time_score Tue Jan 6 05:46:03 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 : ['29963903'] 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 : [('29963903',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29963903) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1402542223: {'path': 'temp/1767674757_340711_1402542223_671a3e0451c03a2731ef493b8469396f.jpg', 'extension': 'jpg'}, 1402542225: {'path': 'temp/1767674757_340711_1402542225_18cba5e84784e94fdf13eb7b9ad63367.jpg', 'extension': 'jpg'}, 1402541157: {'path': 'temp/1767674757_340711_1402541157_4783350b387478a1bd54c6961ca4312a.jpg', 'extension': 'jpg'}, 1402541158: {'path': 'temp/1767674757_340711_1402541158_d95dd26bee6dbef059d0db2cd8a7eebc.jpg', 'extension': 'jpg'}, 1402541431: {'path': 'temp/1767674757_340711_1402541431_a1966a59c923b0e92855c126ca27bcbf.jpg', 'extension': 'jpg'}, 1402541547: {'path': 'temp/1767674757_340711_1402541547_9a4ebaa8e740cb46fe80e83534acd980.jpg', 'extension': 'jpg'}, 1402541548: {'path': 'temp/1767674757_340711_1402541548_2067853728d75921645a724f60e13794.jpg', 'extension': 'jpg'}, 1402541549: {'path': 'temp/1767674757_340711_1402541549_75378d1a66c1964d080b3819bae9b343.jpg', 'extension': 'jpg'}, 1402541753: {'path': 'temp/1767674757_340711_1402541753_0a07dd139e123952f3b261d8507b15a0.jpg', 'extension': 'jpg'}, 1402541955: {'path': 'temp/1767674757_340711_1402541955_fb0ba28c72ddee77adb98c45bb1babc9.jpg', 'extension': 'jpg'}, 1402541968: {'path': 'temp/1767674757_340711_1402541968_fb55d649abd7b2aa1f3c3b5e166978fc.jpg', 'extension': 'jpg'}, 1402541975: {'path': 'temp/1767674757_340711_1402541975_23007a05c39c874918f355e3c5402a26.jpg', 'extension': 'jpg'}, 1402542075: {'path': 'temp/1767674757_340711_1402542075_e399b692088a9c77012351067d1b7a4e.jpg', 'extension': 'jpg'}, 1402542079: {'path': 'temp/1767674757_340711_1402542079_c92913b1893a6dc1870a4256cedec9b6.jpg', 'extension': 'jpg'}, 1402542082: {'path': 'temp/1767674757_340711_1402542082_ba50597f16cb7186bfe4cafbf1614f4e.jpg', 'extension': 'jpg'}, 1402542100: {'path': 'temp/1767674757_340711_1402542100_529aa7f8b0c2ff2088c0f582aaff1028.jpg', 'extension': 'jpg'}, 1402541836: {'path': 'temp/1767674757_340711_1402541836_22d50dd070427a31b1240c07048058e4.jpg', 'extension': 'jpg'}, 1402541839: {'path': 'temp/1767674757_340711_1402541839_99a2ff7506ad667f61ee3609c688f1dd.jpg', 'extension': 'jpg'}, 1402541862: {'path': 'temp/1767674757_340711_1402541862_a058b036e4946f8eac070afef4940099.jpg', 'extension': 'jpg'}, 1402541864: {'path': 'temp/1767674757_340711_1402541864_0319e074a54e30826759da805bf453bb.jpg', 'extension': 'jpg'}, 1402541866: {'path': 'temp/1767674757_340711_1402541866_23d60acf7f354a1adbd393d1124bce4b.jpg', 'extension': 'jpg'}, 1402541868: {'path': 'temp/1767674757_340711_1402541868_abea90ef8810dd9885a5af2620616862.jpg', 'extension': 'jpg'}, 1402541947: {'path': 'temp/1767674757_340711_1402541947_d9f6460b764c05e5d4269f5b251397b2.jpg', 'extension': 'jpg'}, 1402542105: {'path': 'temp/1767674757_340711_1402542105_aba33ac9c844e0c0c6ca63920272f15e.jpg', 'extension': 'jpg'}, 1402542108: {'path': 'temp/1767674757_340711_1402542108_a5cd21885ad10d62764f88de913f039a.jpg', 'extension': 'jpg'}, 1402542109: {'path': 'temp/1767674757_340711_1402542109_51de107d45e7f565df50e53199508aaa.jpg', 'extension': 'jpg'}, 1402542183: {'path': 'temp/1767674757_340711_1402542183_99d6b9492da6545061ee764b70b6c8c8.jpg', 'extension': 'jpg'}, 1402542184: {'path': 'temp/1767674757_340711_1402542184_4d7656afbc72e0daa0582915b7ba6fc2.jpg', 'extension': 'jpg'}, 1402542209: {'path': 'temp/1767674757_340711_1402542209_b919c8beb709023f6323eb63aa5ea05c.jpg', 'extension': 'jpg'}, 1402542216: {'path': 'temp/1767674757_340711_1402542216_588928a08b1e37ee06f88feeb739cb26.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 = 29963903; (('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 = 29963903 group by h (('15', 30),) 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=29963903 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 (29963903) 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 (29963903) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 05012026 29963903 Nombre de photos uploadées : 30 / 23040 (0%) 05012026 29963903 Nombre de photos taguées (types de déchets): 0 / 30 (0%) 05012026 29963903 Nombre de photos taguées (volume) : 0 / 30 (0%) [{'photo_id': 1402541158, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/d95dd26bee6dbef059d0db2cd8a7eebc.jpg', 'username': None, 'uploaded_at': 1767624367, 'text': 'image_05012026_15_45_05_010153m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1402541157, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/4783350b387478a1bd54c6961ca4312a.jpg', 'username': None, 'uploaded_at': 1767624367, 'text': 'image_05012026_15_45_15_010137m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1402541431, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/a1966a59c923b0e92855c126ca27bcbf.jpg', 'username': None, 'uploaded_at': 1767624488, 'text': 'image_05012026_15_45_55_010136m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1402541549, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/75378d1a66c1964d080b3819bae9b343.jpg', 'username': None, 'uploaded_at': 1767624547, 'text': 'image_05012026_15_47_05_10162.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 3.814697265625e-06 ?????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0011703968048095703 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29963903, '2026-01-05' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2841756,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2618906497955322 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= 2841756 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29943959, 'dashboard_result_id': 19066481, '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_P29943959_06-01-2026_05_34_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29943961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29943962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29943963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29943964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29943965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29943966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29943967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29943968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29943969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29943970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29943971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29943972, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29944115, 'dashboard_result_id': 19066482, '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_P29944115_06-01-2026_05_35_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944130, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29944510, 'dashboard_result_id': 19066483, '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_P29944510_06-01-2026_05_35_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944522, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944526, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29944916, 'dashboard_result_id': 19066484, '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_P29944916_06-01-2026_05_35_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944927, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944929, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944934, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29945305, 'dashboard_result_id': 19066485, '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_P29945305_06-01-2026_05_36_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29945313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29945314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29945315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29945316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29945317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29945318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29945319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29945320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29945321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29945322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29945323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29945324, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29945724, 'dashboard_result_id': 19066486, '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_P29945724_06-01-2026_05_36_13.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29945750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29945751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29945752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29945753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29945754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29945755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29945756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29945757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29945758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29945759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29945760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29945761, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29946229, 'dashboard_result_id': 19066487, '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_P29946229_06-01-2026_05_36_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29946255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29946256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29946257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29946258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29946259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29946260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29946261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29946262, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29946263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29946264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29946265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29946266, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29946669, 'dashboard_result_id': 19066488, '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_P29946669_06-01-2026_05_37_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29946670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29946671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29946672, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29946673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29946674, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29946676, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29946677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29946678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29946680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29946681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29946683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29946684, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29947066, 'dashboard_result_id': 19066489, '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_P29947066_06-01-2026_05_37_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29947098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29947099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29947100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29947101, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29947102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29947103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29947104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29947105, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29947106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29947107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29947108, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29947109, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29947777, 'dashboard_result_id': 19066490, '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_P29947777_06-01-2026_05_37_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29947829, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29947830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29947831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29947832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29947833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29947834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29947835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29947836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29947837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29947838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29947839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29947840, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29948502, 'dashboard_result_id': 19066491, '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_P29948502_06-01-2026_05_38_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29948513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29948514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29948515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29948516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29948517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29948518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29948519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29948520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29948521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29948522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29948523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29948524, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29949018, 'dashboard_result_id': 19066492, '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_P29949018_06-01-2026_05_38_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29949033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29949034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29949035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29949036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29949037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29949038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29949039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29949040, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29949041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29949042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29949043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29949044, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29949468, 'dashboard_result_id': 19066493, '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_P29949468_06-01-2026_05_39_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29949508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29949509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29949510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29949511, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29949512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29949513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29949514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29949515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29949516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29949517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29949518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29949519, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29950325, 'dashboard_result_id': 19066494, '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_P29950325_06-01-2026_05_39_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29950347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29950348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29950349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29950350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29950351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29950352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29950353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29950354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29950355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29950356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29950357, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29950358, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29950757, 'dashboard_result_id': 19066495, '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_P29950757_06-01-2026_05_39_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29950823, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29950824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29950825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29950826, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29950827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29950828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29950829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29950830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29950831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29950832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29950833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29950834, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29951361, 'dashboard_result_id': 19066496, '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_P29951361_06-01-2026_05_40_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29951375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29951376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29951377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29951378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29951379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29951380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29951381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29951382, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29951383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29951384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29951385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29951386, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29952807, 'dashboard_result_id': 19066497, '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_P29952807_06-01-2026_05_40_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29952813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29952814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29952815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29952816, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29952817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29952818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29952819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29952820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29952821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29952822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29952823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29952824, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29953273, 'dashboard_result_id': 19066498, '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_P29953273_06-01-2026_05_40_42.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29953279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29953280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29953281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29953282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29953283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29953284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29953285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29953286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29953287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29953288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29953289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29953290, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29953685, 'dashboard_result_id': 19066499, '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_P29953685_06-01-2026_05_40_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29953701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29953702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29953703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29953704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29953705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29953706, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29953707, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29953708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29953709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29953710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29953711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29953712, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29954426, 'dashboard_result_id': 19066500, '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_P29954426_06-01-2026_05_41_14.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29954434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954441, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954443, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29954814, 'dashboard_result_id': 19066501, '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_P29954814_06-01-2026_05_41_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29954816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954827, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29954934, 'dashboard_result_id': 19066502, '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_P29954934_06-01-2026_05_41_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29954990, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954992, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29955397, 'dashboard_result_id': 19066503, '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_P29955397_06-01-2026_05_42_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29955446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29955447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29955448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29955449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29955450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29955451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29955452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29955453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29955454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29955455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29955456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29955457, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29956118, 'dashboard_result_id': 19066504, '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_P29956118_06-01-2026_05_42_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29956147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29956148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29956149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29956150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29956151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29956152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29956153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29956154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29956155, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29956156, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29956157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29956158, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29956847, 'dashboard_result_id': 19066505, '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_P29956847_06-01-2026_05_43_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29956885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29956886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29956887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29956889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29956890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29956891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29956892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29956893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29956894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29956895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29956896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29956897, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29957432, 'dashboard_result_id': 19066506, '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_P29957432_06-01-2026_05_43_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29957495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29957496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29957497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29957499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29957500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29957501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29957503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29957504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29957506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29957507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29957508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29957510, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29958094, 'dashboard_result_id': 19066507, '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_P29958094_06-01-2026_05_43_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29958136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29958137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29958138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29958139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29958140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29958141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29958142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29958143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29958144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29958145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29958146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29958147, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29960855, 'dashboard_result_id': 19066508, '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_P29960855_06-01-2026_05_44_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29960858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29960859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29960860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29960861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29960862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29960863, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29960864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29960865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29960866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29960867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29960868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29960869, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29960983, 'dashboard_result_id': 19066509, '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_P29960983_06-01-2026_05_44_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29960991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29960992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29960993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29960994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29960995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29960996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29960997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29960998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29960999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29961000, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29961001, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29961002, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29961530, 'dashboard_result_id': 19066510, '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_P29961530_06-01-2026_05_45_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29961562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29961563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29961564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29961565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29961566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29961567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29961568, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29961569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29961570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29961571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29961572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29961573, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29962056, 'dashboard_result_id': 19066511, '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_P29962056_06-01-2026_05_45_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29962063, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29962064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29962065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29962066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29962067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29962068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29962069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29962070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29962071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29962072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29962073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29962074, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29962633, 'dashboard_result_id': 19066512, '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_P29962633_06-01-2026_05_45_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29962673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29962675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29962676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29962677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29962678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29962679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29962680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29962681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29962682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29962683, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29962684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29962685, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29963242, 'dashboard_result_id': 19066513, '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_P29963242_06-01-2026_05_45_42.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29963250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29963251, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29963252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29963253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29963254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29963255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29963256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29963257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29963258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29963260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29963261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29963262, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29963903, 'dashboard_result_id': 19066514, '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_P29963903_06-01-2026_05_45_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29963971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29963972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29963973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29963974, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29963975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29963976, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29963977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29963978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29963979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29963980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29963981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29963982, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29964465, 'dashboard_result_id': 19066515, '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_P29964465_05-01-2026_16_20_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29964498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29964499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29964500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29964501, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29964503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29964504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29964505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29964507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29964508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29964509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29964510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29964511, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29965338, 'dashboard_result_id': 19066516, '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_P29965338_05-01-2026_16_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29965345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29965346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29965347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29965348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29965349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29965350, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29965351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29965352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29965353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29965354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29965355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29965356, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29965614, 'dashboard_result_id': 19066517, '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_P29965614_05-01-2026_16_47_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29965632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29965633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29965634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29965635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29965636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29965637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29965638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29965639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29965640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29965641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29965642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29965644, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29966302, 'dashboard_result_id': 19066518, '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_P29966302_05-01-2026_17_04_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29966309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29966310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29966311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29966312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29966313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29966314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29966315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29966316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29966317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29966318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29966319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29966320, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29966600, 'dashboard_result_id': 19066519, '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_P29966600_05-01-2026_17_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29966620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29966621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29966622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29966623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29966624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29966625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29966626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29966627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29966628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29966629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29966630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29966631, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29967529, 'dashboard_result_id': 19066520, '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_P29967529_05-01-2026_18_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29967543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29967544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29967545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29967546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29967547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29967548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29967549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29967550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29967551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29967552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29967553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29967554, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29968800, 'dashboard_result_id': 19066521, '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_P29968800_05-01-2026_18_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29968813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29968814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29968815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29968816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29968817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29968818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29968819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29968820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29968821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29968822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29968823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29968824, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29969245, 'dashboard_result_id': 19066522, '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_P29969245_05-01-2026_18_35_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29969260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29969261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29969262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29969263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29969264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29969265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29969266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29969267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29969268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29969269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29969270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29969271, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29969805, 'dashboard_result_id': 19066523, '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_P29969805_05-01-2026_18_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29969809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29969811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29969812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29969813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29969814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29969815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29969816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29969817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29969818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29969819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29969820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29969821, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29970253, 'dashboard_result_id': 19066524, '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_P29970253_05-01-2026_19_04_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29970267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29970268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29970269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29970270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29970271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29970272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29970273, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29970274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29970275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29970276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29970277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29970278, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29970794, 'dashboard_result_id': 19066525, '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_P29970794_05-01-2026_19_21_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29970858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29970859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29970860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29970861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29970862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29970863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29970864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29970865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29970866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29970867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29970868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29970869, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29971778, 'dashboard_result_id': 19066526, '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_P29971778_05-01-2026_19_35_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29971792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29971793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29971794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29971795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29971796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29971797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29971798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29971799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29971800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29971801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29971802, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29971803, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29972238, 'dashboard_result_id': 19066527, '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_P29972238_05-01-2026_19_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29972274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29972275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29972276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29972277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29972278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29972279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29972280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29972281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29972282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29972283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29972284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29972285, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29972838, 'dashboard_result_id': 19066528, '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_P29972838_05-01-2026_20_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29972878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29972879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29972880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29972881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29972882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29972883, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29972884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29972885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29972886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29972887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29972888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29972889, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29973318, 'dashboard_result_id': 19066529, '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_P29973318_05-01-2026_20_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29973343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29973344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29973345, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29973346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29973347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29973348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29973349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29973350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29973351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29973352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29973353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29973354, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29974015, 'dashboard_result_id': 19066530, '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_P29974015_05-01-2026_20_35_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29974052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29974053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29974054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29974055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29974056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29974057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29974058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29974059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29974060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29974061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29974062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29974063, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29974521, 'dashboard_result_id': 19066531, '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_P29974521_05-01-2026_20_43_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29974543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29974544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29974546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29974547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29974548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29974549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29974550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29974551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29974553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29974554, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29974556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29974557, '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 = 29943959 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': 4315807, 'mtr_portfolio_id': 29943959, 'created_at': datetime.datetime(2026, 1, 6, 5, 34, 28), 'result': '0.05384510005075696', 'result_long': None, 'result_double': None}] Qualite : 0.05384510005075696 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29943959 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29943959_06-01-2026_05_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29943959 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_P29943959_06-01-2026_05_34_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29943961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29943962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29943963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29943964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29943965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29943966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29943967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29943968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29943969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29943970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29943971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29943972, 'pht': 3726}}" where mtr_portfolio_id = 29943959 and dashboard_run_id = 2854788 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`=29943959 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066481, 0.05384510005075696, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29943959_06-01-2026_05_34_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29943961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29943962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29943963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29943964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29943965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29943966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29943967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29943968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29943969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29943970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29943971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29943972, '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 = 29944115 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': 4315808, 'mtr_portfolio_id': 29944115, 'created_at': datetime.datetime(2026, 1, 6, 5, 35), 'result': '0.08150683530916315', 'result_long': None, 'result_double': None}] Qualite : 0.08150683530916315 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29944115 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944115_06-01-2026_05_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29944115 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_P29944115_06-01-2026_05_35_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944130, 'pht': 3726}}" where mtr_portfolio_id = 29944115 and dashboard_run_id = 2854788 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`=29944115 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066482, 0.08150683530916315, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944115_06-01-2026_05_35_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944130, '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 = 29944510 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': 4315809, 'mtr_portfolio_id': 29944510, 'created_at': datetime.datetime(2026, 1, 6, 5, 35, 32), 'result': '0.05130528826738411', 'result_long': None, 'result_double': None}] Qualite : 0.05130528826738411 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29944510 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944510_06-01-2026_05_35_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29944510 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_P29944510_06-01-2026_05_35_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944522, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944526, 'pht': 3726}}" where mtr_portfolio_id = 29944510 and dashboard_run_id = 2854788 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`=29944510 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066483, 0.05130528826738411, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944510_06-01-2026_05_35_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944522, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944526, '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 = 29944916 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': 4315810, 'mtr_portfolio_id': 29944916, 'created_at': datetime.datetime(2026, 1, 6, 5, 35, 28), 'result': '0.04668967344214251', 'result_long': None, 'result_double': None}] Qualite : 0.04668967344214251 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29944916 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944916_06-01-2026_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29944916 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_P29944916_06-01-2026_05_35_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944927, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944929, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944934, 'pht': 3726}}" where mtr_portfolio_id = 29944916 and dashboard_run_id = 2854788 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`=29944916 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066484, 0.04668967344214251, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944916_06-01-2026_05_35_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944927, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944929, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944934, '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 = 29945305 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': 4315811, 'mtr_portfolio_id': 29945305, 'created_at': datetime.datetime(2026, 1, 6, 5, 35, 58), 'result': '0.04671362569225794', 'result_long': None, 'result_double': None}] Qualite : 0.04671362569225794 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29945305 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29945305_06-01-2026_05_36_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29945305 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_P29945305_06-01-2026_05_36_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29945313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29945314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29945315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29945316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29945317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29945318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29945319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29945320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29945321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29945322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29945323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29945324, 'pht': 3726}}" where mtr_portfolio_id = 29945305 and dashboard_run_id = 2854788 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`=29945305 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066485, 0.04671362569225794, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29945305_06-01-2026_05_36_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29945313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29945314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29945315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29945316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29945317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29945318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29945319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29945320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29945321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29945322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29945323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29945324, '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 = 29945724 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': 4315812, 'mtr_portfolio_id': 29945724, 'created_at': datetime.datetime(2026, 1, 6, 5, 36, 9), 'result': '0.05275792643256549', 'result_long': None, 'result_double': None}] Qualite : 0.05275792643256549 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29945724 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29945724_06-01-2026_05_36_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29945724 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_P29945724_06-01-2026_05_36_13.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29945750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29945751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29945752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29945753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29945754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29945755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29945756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29945757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29945758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29945759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29945760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29945761, 'pht': 3726}}" where mtr_portfolio_id = 29945724 and dashboard_run_id = 2854788 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`=29945724 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066486, 0.05275792643256549, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29945724_06-01-2026_05_36_13.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29945750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29945751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29945752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29945753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29945754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29945755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29945756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29945757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29945758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29945759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29945760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29945761, '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 = 29946229 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': 4315813, 'mtr_portfolio_id': 29946229, 'created_at': datetime.datetime(2026, 1, 6, 5, 36, 29), 'result': '0.04034878339349899', 'result_long': None, 'result_double': None}] Qualite : 0.04034878339349899 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29946229 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29946229_06-01-2026_05_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29946229 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_P29946229_06-01-2026_05_36_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29946255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29946256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29946257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29946258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29946259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29946260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29946261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29946262, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29946263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29946264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29946265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29946266, 'pht': 3726}}" where mtr_portfolio_id = 29946229 and dashboard_run_id = 2854788 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`=29946229 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066487, 0.04034878339349899, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29946229_06-01-2026_05_36_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29946255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29946256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29946257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29946258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29946259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29946260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29946261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29946262, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29946263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29946264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29946265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29946266, '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 = 29946669 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': 4315814, 'mtr_portfolio_id': 29946669, 'created_at': datetime.datetime(2026, 1, 6, 5, 37), 'result': '0.04519646117634525', 'result_long': None, 'result_double': None}] Qualite : 0.04519646117634525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29946669 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29946669_06-01-2026_05_37_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29946669 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_P29946669_06-01-2026_05_37_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29946670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29946671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29946672, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29946673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29946674, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29946676, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29946677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29946678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29946680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29946681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29946683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29946684, 'pht': 3726}}" where mtr_portfolio_id = 29946669 and dashboard_run_id = 2854788 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`=29946669 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066488, 0.04519646117634525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29946669_06-01-2026_05_37_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29946670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29946671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29946672, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29946673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29946674, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29946676, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29946677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29946678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29946680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29946681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29946683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29946684, '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 = 29947066 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': 4315815, 'mtr_portfolio_id': 29947066, 'created_at': datetime.datetime(2026, 1, 6, 5, 37, 29), 'result': '0.0534366524318118', 'result_long': None, 'result_double': None}] Qualite : 0.0534366524318118 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29947066 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29947066_06-01-2026_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29947066 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_P29947066_06-01-2026_05_37_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29947098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29947099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29947100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29947101, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29947102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29947103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29947104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29947105, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29947106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29947107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29947108, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29947109, 'pht': 3726}}" where mtr_portfolio_id = 29947066 and dashboard_run_id = 2854788 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`=29947066 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066489, 0.0534366524318118, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29947066_06-01-2026_05_37_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29947098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29947099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29947100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29947101, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29947102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29947103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29947104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29947105, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29947106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29947107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29947108, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29947109, '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 = 29947777 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': 4315816, 'mtr_portfolio_id': 29947777, 'created_at': datetime.datetime(2026, 1, 6, 5, 37, 28), 'result': '0.04800383315397186', 'result_long': None, 'result_double': None}] Qualite : 0.04800383315397186 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29947777 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29947777_06-01-2026_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29947777 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_P29947777_06-01-2026_05_37_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29947829, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29947830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29947831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29947832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29947833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29947834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29947835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29947836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29947837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29947838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29947839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29947840, 'pht': 3726}}" where mtr_portfolio_id = 29947777 and dashboard_run_id = 2854788 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`=29947777 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066490, 0.04800383315397186, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29947777_06-01-2026_05_37_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29947829, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29947830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29947831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29947832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29947833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29947834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29947835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29947836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29947837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29947838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29947839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29947840, '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 = 29948502 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': 4315817, 'mtr_portfolio_id': 29948502, 'created_at': datetime.datetime(2026, 1, 6, 5, 37, 58), 'result': '0.05423616625209125', 'result_long': None, 'result_double': None}] Qualite : 0.05423616625209125 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29948502 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29948502_06-01-2026_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29948502 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_P29948502_06-01-2026_05_38_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29948513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29948514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29948515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29948516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29948517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29948518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29948519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29948520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29948521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29948522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29948523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29948524, 'pht': 3726}}" where mtr_portfolio_id = 29948502 and dashboard_run_id = 2854788 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`=29948502 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066491, 0.05423616625209125, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29948502_06-01-2026_05_38_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29948513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29948514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29948515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29948516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29948517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29948518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29948519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29948520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29948521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29948522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29948523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29948524, '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 = 29949018 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': 4315818, 'mtr_portfolio_id': 29949018, 'created_at': datetime.datetime(2026, 1, 6, 5, 38, 28), 'result': '0.06802769818071434', 'result_long': None, 'result_double': None}] Qualite : 0.06802769818071434 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29949018 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29949018_06-01-2026_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29949018 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_P29949018_06-01-2026_05_38_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29949033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29949034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29949035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29949036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29949037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29949038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29949039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29949040, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29949041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29949042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29949043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29949044, 'pht': 3726}}" where mtr_portfolio_id = 29949018 and dashboard_run_id = 2854788 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`=29949018 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066492, 0.06802769818071434, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29949018_06-01-2026_05_38_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29949033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29949034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29949035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29949036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29949037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29949038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29949039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29949040, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29949041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29949042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29949043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29949044, '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 = 29949468 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': 4315819, 'mtr_portfolio_id': 29949468, 'created_at': datetime.datetime(2026, 1, 6, 5, 39, 1), 'result': '0.08178755018139013', 'result_long': None, 'result_double': None}] Qualite : 0.08178755018139013 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29949468 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29949468_06-01-2026_05_39_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29949468 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_P29949468_06-01-2026_05_39_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29949508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29949509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29949510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29949511, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29949512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29949513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29949514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29949515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29949516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29949517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29949518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29949519, 'pht': 3726}}" where mtr_portfolio_id = 29949468 and dashboard_run_id = 2854788 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`=29949468 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066493, 0.08178755018139013, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29949468_06-01-2026_05_39_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29949508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29949509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29949510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29949511, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29949512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29949513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29949514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29949515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29949516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29949517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29949518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29949519, '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 = 29950325 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': 4315820, 'mtr_portfolio_id': 29950325, 'created_at': datetime.datetime(2026, 1, 6, 5, 39, 31), 'result': '0.05661131053530334', 'result_long': None, 'result_double': None}] Qualite : 0.05661131053530334 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29950325 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29950325_06-01-2026_05_39_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29950325 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_P29950325_06-01-2026_05_39_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29950347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29950348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29950349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29950350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29950351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29950352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29950353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29950354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29950355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29950356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29950357, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29950358, 'pht': 3726}}" where mtr_portfolio_id = 29950325 and dashboard_run_id = 2854788 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`=29950325 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066494, 0.05661131053530334, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29950325_06-01-2026_05_39_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29950347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29950348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29950349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29950350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29950351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29950352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29950353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29950354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29950355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29950356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29950357, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29950358, '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 = 29950757 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': 4315821, 'mtr_portfolio_id': 29950757, 'created_at': datetime.datetime(2026, 1, 6, 5, 39, 28), 'result': '0.04177442083759016', 'result_long': None, 'result_double': None}] Qualite : 0.04177442083759016 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29950757 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29950757_06-01-2026_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29950757 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_P29950757_06-01-2026_05_39_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29950823, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29950824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29950825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29950826, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29950827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29950828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29950829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29950830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29950831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29950832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29950833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29950834, 'pht': 3726}}" where mtr_portfolio_id = 29950757 and dashboard_run_id = 2854788 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`=29950757 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066495, 0.04177442083759016, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29950757_06-01-2026_05_39_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29950823, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29950824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29950825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29950826, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29950827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29950828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29950829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29950830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29950831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29950832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29950833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29950834, '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 = 29951361 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': 4315822, 'mtr_portfolio_id': 29951361, 'created_at': datetime.datetime(2026, 1, 6, 5, 39, 58), 'result': '0.04587331303836001', 'result_long': None, 'result_double': None}] Qualite : 0.04587331303836001 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29951361 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29951361_06-01-2026_05_40_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29951361 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_P29951361_06-01-2026_05_40_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29951375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29951376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29951377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29951378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29951379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29951380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29951381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29951382, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29951383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29951384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29951385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29951386, 'pht': 3726}}" where mtr_portfolio_id = 29951361 and dashboard_run_id = 2854788 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`=29951361 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066496, 0.04587331303836001, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29951361_06-01-2026_05_40_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29951375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29951376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29951377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29951378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29951379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29951380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29951381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29951382, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29951383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29951384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29951385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29951386, '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 = 29952807 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': 4315823, 'mtr_portfolio_id': 29952807, 'created_at': datetime.datetime(2026, 1, 6, 5, 40, 29), 'result': '0.06425556073421321', 'result_long': None, 'result_double': None}] Qualite : 0.06425556073421321 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29952807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29952807_06-01-2026_05_40_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29952807 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_P29952807_06-01-2026_05_40_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29952813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29952814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29952815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29952816, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29952817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29952818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29952819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29952820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29952821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29952822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29952823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29952824, 'pht': 3726}}" where mtr_portfolio_id = 29952807 and dashboard_run_id = 2854788 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`=29952807 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066497, 0.06425556073421321, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29952807_06-01-2026_05_40_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29952813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29952814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29952815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29952816, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29952817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29952818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29952819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29952820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29952821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29952822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29952823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29952824, '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 = 29953273 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': 4315824, 'mtr_portfolio_id': 29953273, 'created_at': datetime.datetime(2026, 1, 6, 5, 40, 39), 'result': '0.06689948683403031', 'result_long': None, 'result_double': None}] Qualite : 0.06689948683403031 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29953273 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29953273_06-01-2026_05_40_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29953273 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_P29953273_06-01-2026_05_40_42.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29953279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29953280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29953281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29953282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29953283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29953284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29953285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29953286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29953287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29953288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29953289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29953290, 'pht': 3726}}" where mtr_portfolio_id = 29953273 and dashboard_run_id = 2854788 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`=29953273 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066498, 0.06689948683403031, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29953273_06-01-2026_05_40_42.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29953279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29953280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29953281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29953282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29953283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29953284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29953285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29953286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29953287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29953288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29953289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29953290, '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 = 29953685 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': 4315825, 'mtr_portfolio_id': 29953685, 'created_at': datetime.datetime(2026, 1, 6, 5, 40, 58), 'result': '0.04941706848459025', 'result_long': None, 'result_double': None}] Qualite : 0.04941706848459025 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29953685 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29953685_06-01-2026_05_40_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29953685 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_P29953685_06-01-2026_05_40_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29953701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29953702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29953703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29953704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29953705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29953706, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29953707, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29953708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29953709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29953710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29953711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29953712, 'pht': 3726}}" where mtr_portfolio_id = 29953685 and dashboard_run_id = 2854788 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`=29953685 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066499, 0.04941706848459025, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29953685_06-01-2026_05_40_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29953701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29953702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29953703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29953704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29953705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29953706, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29953707, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29953708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29953709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29953710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29953711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29953712, '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 = 29954426 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': 4315826, 'mtr_portfolio_id': 29954426, 'created_at': datetime.datetime(2026, 1, 6, 5, 41, 13), 'result': '0.020221519388462648', 'result_long': None, 'result_double': None}] Qualite : 0.020221519388462648 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29954426 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954426_06-01-2026_05_41_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29954426 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_P29954426_06-01-2026_05_41_14.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29954434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954441, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954443, 'pht': 3726}}" where mtr_portfolio_id = 29954426 and dashboard_run_id = 2854788 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`=29954426 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066500, 0.020221519388462648, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954426_06-01-2026_05_41_14.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29954434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954441, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954443, '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 = 29954814 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': 4315827, 'mtr_portfolio_id': 29954814, 'created_at': datetime.datetime(2026, 1, 6, 5, 41, 33), 'result': '0.09890785260505598', 'result_long': None, 'result_double': None}] Qualite : 0.09890785260505598 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29954814 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954814_06-01-2026_05_41_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29954814 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_P29954814_06-01-2026_05_41_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29954816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954827, 'pht': 3726}}" where mtr_portfolio_id = 29954814 and dashboard_run_id = 2854788 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`=29954814 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066501, 0.09890785260505598, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954814_06-01-2026_05_41_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29954816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954827, '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 = 29954934 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': 4315828, 'mtr_portfolio_id': 29954934, 'created_at': datetime.datetime(2026, 1, 6, 5, 41, 29), 'result': '0.0709297965884072', 'result_long': None, 'result_double': None}] Qualite : 0.0709297965884072 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29954934 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954934_06-01-2026_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29954934 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_P29954934_06-01-2026_05_41_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29954990, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954992, 'pht': 3726}}" where mtr_portfolio_id = 29954934 and dashboard_run_id = 2854788 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`=29954934 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066502, 0.0709297965884072, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954934_06-01-2026_05_41_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29954990, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954992, '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 = 29955397 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': 4315829, 'mtr_portfolio_id': 29955397, 'created_at': datetime.datetime(2026, 1, 6, 5, 42), 'result': '0.04003846282841279', 'result_long': None, 'result_double': None}] Qualite : 0.04003846282841279 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29955397 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29955397_06-01-2026_05_42_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29955397 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_P29955397_06-01-2026_05_42_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29955446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29955447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29955448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29955449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29955450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29955451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29955452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29955453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29955454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29955455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29955456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29955457, 'pht': 3726}}" where mtr_portfolio_id = 29955397 and dashboard_run_id = 2854788 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`=29955397 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066503, 0.04003846282841279, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29955397_06-01-2026_05_42_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29955446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29955447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29955448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29955449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29955450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29955451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29955452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29955453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29955454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29955455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29955456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29955457, '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 = 29956118 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': 4315830, 'mtr_portfolio_id': 29956118, 'created_at': datetime.datetime(2026, 1, 6, 5, 42, 32), 'result': '0.05122216392844295', 'result_long': None, 'result_double': None}] Qualite : 0.05122216392844295 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29956118 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29956118_06-01-2026_05_42_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29956118 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_P29956118_06-01-2026_05_42_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29956147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29956148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29956149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29956150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29956151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29956152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29956153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29956154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29956155, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29956156, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29956157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29956158, 'pht': 3726}}" where mtr_portfolio_id = 29956118 and dashboard_run_id = 2854788 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`=29956118 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066504, 0.05122216392844295, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29956118_06-01-2026_05_42_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29956147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29956148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29956149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29956150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29956151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29956152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29956153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29956154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29956155, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29956156, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29956157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29956158, '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 = 29956847 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': 4315831, 'mtr_portfolio_id': 29956847, 'created_at': datetime.datetime(2026, 1, 6, 5, 42, 59), 'result': '0.06345972206130782', 'result_long': None, 'result_double': None}] Qualite : 0.06345972206130782 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29956847 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29956847_06-01-2026_05_43_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29956847 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_P29956847_06-01-2026_05_43_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29956885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29956886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29956887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29956889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29956890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29956891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29956892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29956893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29956894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29956895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29956896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29956897, 'pht': 3726}}" where mtr_portfolio_id = 29956847 and dashboard_run_id = 2854788 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`=29956847 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066505, 0.06345972206130782, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29956847_06-01-2026_05_43_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29956885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29956886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29956887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29956889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29956890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29956891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29956892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29956893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29956894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29956895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29956896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29956897, '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 = 29957432 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': 4315832, 'mtr_portfolio_id': 29957432, 'created_at': datetime.datetime(2026, 1, 6, 5, 43, 33), 'result': '0.05431322362377663', 'result_long': None, 'result_double': None}] Qualite : 0.05431322362377663 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29957432 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29957432_06-01-2026_05_43_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29957432 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_P29957432_06-01-2026_05_43_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29957495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29957496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29957497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29957499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29957500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29957501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29957503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29957504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29957506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29957507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29957508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29957510, 'pht': 3726}}" where mtr_portfolio_id = 29957432 and dashboard_run_id = 2854788 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`=29957432 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066506, 0.05431322362377663, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29957432_06-01-2026_05_43_37.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29957495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29957496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29957497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29957499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29957500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29957501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29957503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29957504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29957506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29957507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29957508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29957510, '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 = 29958094 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': 4315833, 'mtr_portfolio_id': 29958094, 'created_at': datetime.datetime(2026, 1, 6, 5, 43, 30), 'result': '0.04262591151383469', 'result_long': None, 'result_double': None}] Qualite : 0.04262591151383469 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29958094 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29958094_06-01-2026_05_43_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29958094 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_P29958094_06-01-2026_05_43_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29958136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29958137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29958138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29958139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29958140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29958141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29958142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29958143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29958144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29958145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29958146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29958147, 'pht': 3726}}" where mtr_portfolio_id = 29958094 and dashboard_run_id = 2854788 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`=29958094 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066507, 0.04262591151383469, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29958094_06-01-2026_05_43_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29958136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29958137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29958138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29958139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29958140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29958141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29958142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29958143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29958144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29958145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29958146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29958147, '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 = 29960855 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': 4315834, 'mtr_portfolio_id': 29960855, 'created_at': datetime.datetime(2026, 1, 6, 5, 43, 59), 'result': '0.03507507532706399', 'result_long': None, 'result_double': None}] Qualite : 0.03507507532706399 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29960855 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29960855_06-01-2026_05_44_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29960855 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_P29960855_06-01-2026_05_44_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29960858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29960859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29960860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29960861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29960862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29960863, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29960864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29960865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29960866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29960867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29960868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29960869, 'pht': 3726}}" where mtr_portfolio_id = 29960855 and dashboard_run_id = 2854788 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`=29960855 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066508, 0.03507507532706399, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29960855_06-01-2026_05_44_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29960858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29960859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29960860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29960861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29960862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29960863, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29960864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29960865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29960866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29960867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29960868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29960869, '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 = 29960983 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': 4315835, 'mtr_portfolio_id': 29960983, 'created_at': datetime.datetime(2026, 1, 6, 5, 44, 28), 'result': '0.04680783888805685', 'result_long': None, 'result_double': None}] Qualite : 0.04680783888805685 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29960983 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29960983_06-01-2026_05_44_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29960983 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_P29960983_06-01-2026_05_44_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29960991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29960992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29960993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29960994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29960995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29960996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29960997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29960998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29960999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29961000, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29961001, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29961002, 'pht': 3726}}" where mtr_portfolio_id = 29960983 and dashboard_run_id = 2854788 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`=29960983 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066509, 0.04680783888805685, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29960983_06-01-2026_05_44_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29960991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29960992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29960993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29960994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29960995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29960996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29960997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29960998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29960999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29961000, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29961001, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29961002, '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 = 29961530 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': 4315836, 'mtr_portfolio_id': 29961530, 'created_at': datetime.datetime(2026, 1, 6, 5, 44, 58), 'result': '0.04817479470458706', 'result_long': None, 'result_double': None}] Qualite : 0.04817479470458706 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29961530 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29961530_06-01-2026_05_45_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29961530 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_P29961530_06-01-2026_05_45_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29961562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29961563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29961564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29961565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29961566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29961567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29961568, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29961569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29961570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29961571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29961572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29961573, 'pht': 3726}}" where mtr_portfolio_id = 29961530 and dashboard_run_id = 2854788 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`=29961530 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066510, 0.04817479470458706, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29961530_06-01-2026_05_45_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29961562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29961563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29961564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29961565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29961566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29961567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29961568, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29961569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29961570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29961571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29961572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29961573, '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 = 29962056 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': 4315837, 'mtr_portfolio_id': 29962056, 'created_at': datetime.datetime(2026, 1, 6, 5, 45, 31), 'result': '0.048874357478266246', 'result_long': None, 'result_double': None}] Qualite : 0.048874357478266246 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29962056 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29962056_06-01-2026_05_45_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29962056 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_P29962056_06-01-2026_05_45_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29962063, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29962064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29962065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29962066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29962067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29962068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29962069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29962070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29962071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29962072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29962073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29962074, 'pht': 3726}}" where mtr_portfolio_id = 29962056 and dashboard_run_id = 2854788 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`=29962056 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066511, 0.048874357478266246, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29962056_06-01-2026_05_45_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29962063, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29962064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29962065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29962066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29962067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29962068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29962069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29962070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29962071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29962072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29962073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29962074, '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 = 29962633 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': 4315838, 'mtr_portfolio_id': 29962633, 'created_at': datetime.datetime(2026, 1, 6, 5, 45, 28), 'result': '0.0731141359782019', 'result_long': None, 'result_double': None}] Qualite : 0.0731141359782019 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29962633 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29962633_06-01-2026_05_45_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29962633 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_P29962633_06-01-2026_05_45_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29962673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29962675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29962676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29962677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29962678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29962679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29962680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29962681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29962682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29962683, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29962684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29962685, 'pht': 3726}}" where mtr_portfolio_id = 29962633 and dashboard_run_id = 2854788 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`=29962633 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066512, 0.0731141359782019, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29962633_06-01-2026_05_45_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29962673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29962675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29962676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29962677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29962678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29962679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29962680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29962681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29962682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29962683, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29962684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29962685, '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 = 29963242 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': 4315839, 'mtr_portfolio_id': 29963242, 'created_at': datetime.datetime(2026, 1, 6, 5, 45, 39), 'result': '0.039611995402390854', 'result_long': None, 'result_double': None}] Qualite : 0.039611995402390854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29963242 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29963242_06-01-2026_05_45_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29963242 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_P29963242_06-01-2026_05_45_42.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29963250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29963251, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29963252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29963253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29963254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29963255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29963256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29963257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29963258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29963260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29963261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29963262, 'pht': 3726}}" where mtr_portfolio_id = 29963242 and dashboard_run_id = 2854788 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`=29963242 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066513, 0.039611995402390854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29963242_06-01-2026_05_45_42.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29963250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29963251, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29963252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29963253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29963254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29963255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29963256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29963257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29963258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29963260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29963261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29963262, '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 = 29963903 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': 4315840, 'mtr_portfolio_id': 29963903, 'created_at': datetime.datetime(2026, 1, 6, 5, 45, 57), 'result': '0.03498436145281377', 'result_long': None, 'result_double': None}] Qualite : 0.03498436145281377 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29963903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29963903_06-01-2026_05_45_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29963903 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_P29963903_06-01-2026_05_45_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29963971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29963972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29963973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29963974, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29963975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29963976, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29963977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29963978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29963979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29963980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29963981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29963982, 'pht': 3726}}" where mtr_portfolio_id = 29963903 and dashboard_run_id = 2854788 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`=29963903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066514, 0.03498436145281377, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29963903_06-01-2026_05_45_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29963971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29963972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29963973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29963974, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29963975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29963976, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29963977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29963978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29963979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29963980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29963981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29963982, '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 = 29964465 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': 4313357, 'mtr_portfolio_id': 29964465, 'created_at': datetime.datetime(2026, 1, 5, 16, 20, 59), 'result': '0.0313593482758096', 'result_long': None, 'result_double': None}] Qualite : 0.0313593482758096 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29964465 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29964465_05-01-2026_16_20_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29964465 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_P29964465_05-01-2026_16_20_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29964498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29964499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29964500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29964501, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29964503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29964504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29964505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29964507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29964508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29964509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29964510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29964511, 'pht': 3726}}" where mtr_portfolio_id = 29964465 and dashboard_run_id = 2854788 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`=29964465 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066515, 0.0313593482758096, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29964465_05-01-2026_16_20_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29964498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29964499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29964500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29964501, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29964503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29964504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29964505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29964507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29964508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29964509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29964510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29964511, '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 = 29965338 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': 4313447, 'mtr_portfolio_id': 29965338, 'created_at': datetime.datetime(2026, 1, 5, 16, 33), 'result': '0.028700200112077474', 'result_long': None, 'result_double': None}] Qualite : 0.028700200112077474 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29965338 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29965338_05-01-2026_16_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29965338 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_P29965338_05-01-2026_16_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29965345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29965346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29965347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29965348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29965349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29965350, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29965351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29965352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29965353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29965354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29965355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29965356, 'pht': 3726}}" where mtr_portfolio_id = 29965338 and dashboard_run_id = 2854788 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`=29965338 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066516, 0.028700200112077474, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29965338_05-01-2026_16_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29965345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29965346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29965347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29965348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29965349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29965350, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29965351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29965352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29965353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29965354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29965355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29965356, '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 = 29965614 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': 4313481, 'mtr_portfolio_id': 29965614, 'created_at': datetime.datetime(2026, 1, 5, 16, 46, 59), 'result': '0.056224880897965984', 'result_long': None, 'result_double': None}] Qualite : 0.056224880897965984 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29965614 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29965614_05-01-2026_16_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29965614 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_P29965614_05-01-2026_16_47_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29965632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29965633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29965634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29965635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29965636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29965637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29965638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29965639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29965640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29965641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29965642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29965644, 'pht': 3726}}" where mtr_portfolio_id = 29965614 and dashboard_run_id = 2854788 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`=29965614 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066517, 0.056224880897965984, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29965614_05-01-2026_16_47_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29965632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29965633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29965634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29965635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29965636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29965637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29965638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29965639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29965640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29965641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29965642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29965644, '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 = 29966302 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': 4313590, 'mtr_portfolio_id': 29966302, 'created_at': datetime.datetime(2026, 1, 5, 17, 4, 57), 'result': '0.04261782288135194', 'result_long': None, 'result_double': None}] Qualite : 0.04261782288135194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29966302 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29966302_05-01-2026_17_04_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29966302 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_P29966302_05-01-2026_17_04_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29966309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29966310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29966311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29966312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29966313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29966314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29966315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29966316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29966317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29966318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29966319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29966320, 'pht': 3726}}" where mtr_portfolio_id = 29966302 and dashboard_run_id = 2854788 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`=29966302 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066518, 0.04261782288135194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29966302_05-01-2026_17_04_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29966309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29966310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29966311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29966312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29966313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29966314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29966315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29966316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29966317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29966318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29966319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29966320, '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 = 29966600 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': 4313658, 'mtr_portfolio_id': 29966600, 'created_at': datetime.datetime(2026, 1, 5, 17, 18, 59), 'result': '0.05678738688889863', 'result_long': None, 'result_double': None}] Qualite : 0.05678738688889863 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29966600 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29966600_05-01-2026_17_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29966600 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_P29966600_05-01-2026_17_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29966620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29966621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29966622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29966623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29966624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29966625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29966626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29966627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29966628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29966629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29966630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29966631, 'pht': 3726}}" where mtr_portfolio_id = 29966600 and dashboard_run_id = 2854788 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`=29966600 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066519, 0.05678738688889863, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29966600_05-01-2026_17_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29966620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29966621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29966622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29966623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29966624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29966625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29966626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29966627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29966628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29966629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29966630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29966631, '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 = 29967529 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': 4313749, 'mtr_portfolio_id': 29967529, 'created_at': datetime.datetime(2026, 1, 5, 18, 2, 59), 'result': '0.05107611619208426', 'result_long': None, 'result_double': None}] Qualite : 0.05107611619208426 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29967529 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29967529_05-01-2026_18_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29967529 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_P29967529_05-01-2026_18_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29967543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29967544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29967545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29967546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29967547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29967548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29967549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29967550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29967551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29967552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29967553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29967554, 'pht': 3726}}" where mtr_portfolio_id = 29967529 and dashboard_run_id = 2854788 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`=29967529 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066520, 0.05107611619208426, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29967529_05-01-2026_18_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29967543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29967544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29967545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29967546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29967547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29967548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29967549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29967550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29967551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29967552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29967553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29967554, '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 = 29968800 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': 4313934, 'mtr_portfolio_id': 29968800, 'created_at': datetime.datetime(2026, 1, 5, 18, 18, 59), 'result': '0.040104352059711634', 'result_long': None, 'result_double': None}] Qualite : 0.040104352059711634 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29968800 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29968800_05-01-2026_18_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29968800 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_P29968800_05-01-2026_18_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29968813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29968814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29968815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29968816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29968817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29968818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29968819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29968820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29968821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29968822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29968823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29968824, 'pht': 3726}}" where mtr_portfolio_id = 29968800 and dashboard_run_id = 2854788 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`=29968800 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066521, 0.040104352059711634, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29968800_05-01-2026_18_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29968813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29968814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29968815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29968816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29968817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29968818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29968819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29968820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29968821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29968822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29968823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29968824, '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 = 29969245 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': 4313983, 'mtr_portfolio_id': 29969245, 'created_at': datetime.datetime(2026, 1, 5, 18, 35, 31), 'result': '0.04345417299819999', 'result_long': None, 'result_double': None}] Qualite : 0.04345417299819999 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29969245 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29969245_05-01-2026_18_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29969245 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_P29969245_05-01-2026_18_35_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29969260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29969261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29969262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29969263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29969264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29969265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29969266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29969267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29969268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29969269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29969270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29969271, 'pht': 3726}}" where mtr_portfolio_id = 29969245 and dashboard_run_id = 2854788 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`=29969245 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066522, 0.04345417299819999, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29969245_05-01-2026_18_35_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29969260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29969261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29969262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29969263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29969264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29969265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29969266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29969267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29969268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29969269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29969270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29969271, '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 = 29969805 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': 4314062, 'mtr_portfolio_id': 29969805, 'created_at': datetime.datetime(2026, 1, 5, 18, 48, 58), 'result': '0.054164265602348854', 'result_long': None, 'result_double': None}] Qualite : 0.054164265602348854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29969805 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29969805_05-01-2026_18_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29969805 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_P29969805_05-01-2026_18_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29969809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29969811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29969812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29969813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29969814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29969815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29969816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29969817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29969818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29969819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29969820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29969821, 'pht': 3726}}" where mtr_portfolio_id = 29969805 and dashboard_run_id = 2854788 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`=29969805 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066523, 0.054164265602348854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29969805_05-01-2026_18_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29969809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29969811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29969812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29969813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29969814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29969815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29969816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29969817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29969818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29969819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29969820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29969821, '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 = 29970253 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': 4314126, 'mtr_portfolio_id': 29970253, 'created_at': datetime.datetime(2026, 1, 5, 19, 4, 32), 'result': '0.06883433269304322', 'result_long': None, 'result_double': None}] Qualite : 0.06883433269304322 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29970253 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29970253_05-01-2026_19_04_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29970253 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_P29970253_05-01-2026_19_04_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29970267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29970268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29970269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29970270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29970271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29970272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29970273, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29970274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29970275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29970276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29970277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29970278, 'pht': 3726}}" where mtr_portfolio_id = 29970253 and dashboard_run_id = 2854788 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`=29970253 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066524, 0.06883433269304322, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29970253_05-01-2026_19_04_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29970267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29970268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29970269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29970270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29970271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29970272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29970273, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29970274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29970275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29970276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29970277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29970278, '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 = 29970794 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': 4314225, 'mtr_portfolio_id': 29970794, 'created_at': datetime.datetime(2026, 1, 5, 19, 21), 'result': '0.049395863605624785', 'result_long': None, 'result_double': None}] Qualite : 0.049395863605624785 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29970794 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29970794_05-01-2026_19_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29970794 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_P29970794_05-01-2026_19_21_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29970858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29970859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29970860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29970861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29970862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29970863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29970864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29970865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29970866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29970867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29970868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29970869, 'pht': 3726}}" where mtr_portfolio_id = 29970794 and dashboard_run_id = 2854788 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`=29970794 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066525, 0.049395863605624785, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29970794_05-01-2026_19_21_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29970858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29970859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29970860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29970861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29970862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29970863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29970864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29970865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29970866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29970867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29970868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29970869, '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 = 29971778 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': 4314331, 'mtr_portfolio_id': 29971778, 'created_at': datetime.datetime(2026, 1, 5, 19, 35, 1), 'result': '0.07742001470540334', 'result_long': None, 'result_double': None}] Qualite : 0.07742001470540334 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29971778 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29971778_05-01-2026_19_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29971778 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_P29971778_05-01-2026_19_35_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29971792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29971793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29971794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29971795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29971796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29971797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29971798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29971799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29971800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29971801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29971802, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29971803, 'pht': 3726}}" where mtr_portfolio_id = 29971778 and dashboard_run_id = 2854788 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`=29971778 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066526, 0.07742001470540334, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29971778_05-01-2026_19_35_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29971792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29971793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29971794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29971795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29971796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29971797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29971798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29971799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29971800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29971801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29971802, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29971803, '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 = 29972238 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': 4314390, 'mtr_portfolio_id': 29972238, 'created_at': datetime.datetime(2026, 1, 5, 19, 48, 58), 'result': '0.05431054080522053', 'result_long': None, 'result_double': None}] Qualite : 0.05431054080522053 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29972238 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29972238_05-01-2026_19_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29972238 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_P29972238_05-01-2026_19_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29972274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29972275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29972276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29972277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29972278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29972279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29972280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29972281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29972282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29972283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29972284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29972285, 'pht': 3726}}" where mtr_portfolio_id = 29972238 and dashboard_run_id = 2854788 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`=29972238 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066527, 0.05431054080522053, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29972238_05-01-2026_19_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29972274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29972275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29972276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29972277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29972278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29972279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29972280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29972281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29972282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29972283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29972284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29972285, '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 = 29972838 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': 4314475, 'mtr_portfolio_id': 29972838, 'created_at': datetime.datetime(2026, 1, 5, 20, 3, 1), 'result': '0.0943261041865002', 'result_long': None, 'result_double': None}] Qualite : 0.0943261041865002 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29972838 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29972838_05-01-2026_20_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29972838 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_P29972838_05-01-2026_20_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29972878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29972879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29972880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29972881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29972882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29972883, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29972884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29972885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29972886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29972887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29972888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29972889, 'pht': 3726}}" where mtr_portfolio_id = 29972838 and dashboard_run_id = 2854788 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`=29972838 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066528, 0.0943261041865002, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29972838_05-01-2026_20_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29972878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29972879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29972880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29972881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29972882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29972883, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29972884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29972885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29972886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29972887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29972888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29972889, '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 = 29973318 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': 4314580, 'mtr_portfolio_id': 29973318, 'created_at': datetime.datetime(2026, 1, 5, 20, 18, 58), 'result': '0.08693156689325693', 'result_long': None, 'result_double': None}] Qualite : 0.08693156689325693 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29973318 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29973318_05-01-2026_20_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29973318 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_P29973318_05-01-2026_20_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29973343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29973344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29973345, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29973346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29973347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29973348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29973349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29973350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29973351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29973352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29973353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29973354, 'pht': 3726}}" where mtr_portfolio_id = 29973318 and dashboard_run_id = 2854788 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`=29973318 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066529, 0.08693156689325693, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29973318_05-01-2026_20_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29973343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29973344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29973345, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29973346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29973347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29973348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29973349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29973350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29973351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29973352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29973353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29973354, '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 = 29974015 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': 4314664, 'mtr_portfolio_id': 29974015, 'created_at': datetime.datetime(2026, 1, 5, 20, 35, 1), 'result': '0.06277445335624905', 'result_long': None, 'result_double': None}] Qualite : 0.06277445335624905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29974015 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29974015_05-01-2026_20_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29974015 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_P29974015_05-01-2026_20_35_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29974052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29974053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29974054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29974055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29974056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29974057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29974058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29974059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29974060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29974061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29974062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29974063, 'pht': 3726}}" where mtr_portfolio_id = 29974015 and dashboard_run_id = 2854788 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`=29974015 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066530, 0.06277445335624905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29974015_05-01-2026_20_35_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29974052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29974053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29974054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29974055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29974056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29974057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29974058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29974059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29974060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29974061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29974062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29974063, '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 = 29974521 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': 4314726, 'mtr_portfolio_id': 29974521, 'created_at': datetime.datetime(2026, 1, 5, 20, 43), 'result': '0.05910077247593011', 'result_long': None, 'result_double': None}] Qualite : 0.05910077247593011 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29974521 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29974521_05-01-2026_20_43_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29974521 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_P29974521_05-01-2026_20_43_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29974543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29974544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29974546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29974547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29974548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29974549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29974550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29974551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29974553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29974554, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29974556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29974557, 'pht': 3726}}" where mtr_portfolio_id = 29974521 and dashboard_run_id = 2854788 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`=29974521 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066531, 0.05910077247593011, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29974521_05-01-2026_20_43_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29974543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29974544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29974546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29974547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29974548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29974549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29974550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29974551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29974553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29974554, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29974556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29974557, '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 (29943959,29944115,29944510,29944916,29945305,29945724,29946229,29946669,29947066,29947777,29948502,29949018,29949468,29950325,29950757,29951361,29952807,29953273,29953685,29954426,29954814,29954934,29955397,29956118,29956847,29957432,29958094,29960855,29960983,29961530,29962056,29962633,29963242,29963903,29964465,29965338,29965614,29966302,29966600,29967529,29968800,29969245,29969805,29970253,29970794,29971778,29972238,29972838,29973318,29974015,29974521) result : ((1402485317,), (1402485350,), (1402485356,), (1402485358,), (1402485360,), (1402485365,), (1402485367,), (1402485369,), (1402485379,), (1402485381,), (1402485383,), (1402485385,), (1402485387,), (1402485393,), (1402485395,), (1402485397,), (1402485398,), (1402485400,), (1402485403,), (1402485407,), (1402485410,), (1402485411,), (1402485415,), (1402485417,), (1402485418,), (1402485426,), (1402485445,), (1402485448,), (1402485451,), (1402485453,), (1402485457,), (1402485459,), (1402485461,), (1402485463,), (1402485480,), (1402485476,), (1402485478,), (1402485487,), (1402485490,), (1402485493,), (1402485496,), (1402485515,), (1402485516,), (1402485524,), (1402485525,), (1402485527,), (1402485529,), (1402485531,), (1402485552,), (1402485554,), (1402485556,), (1402485558,), (1402485560,), (1402485564,), (1402485566,), (1402485568,), (1402485570,), (1402485572,), (1402485585,), (1402485588,), (1402485590,), (1402485592,), (1402485607,), (1402485610,), (1402485612,), (1402485615,), (1402485618,), (1402485670,), (1402485673,), (1402485676,), (1402485679,), (1402485682,), (1402485691,), (1402485693,), (1402485695,), (1402485718,), (1402485721,), (1402485723,), (1402485725,), (1402485727,), (1402485729,), (1402485732,), (1402485734,), (1402485738,), (1402485740,), (1402485744,), (1402485746,), (1402485783,), (1402485785,), (1402485787,), (1402485866,), (1402485854,), (1402485855,), (1402485858,), (1402485861,), (1402485863,), (1402485893,), (1402485894,), (1402485909,), (1402485916,), (1402485941,), (1402485944,), (1402485946,), (1402485948,), (1402485965,), (1402485967,), (1402485969,), (1402485972,), (1402485975,), (1402485979,), (1402485981,), (1402485984,), (1402485986,), (1402485989,), (1402485991,), (1402486010,), (1402486012,), (1402486014,), (1402486017,), (1402486028,), (1402486030,), (1402486032,), (1402486035,), (1402486037,), (1402486050,), (1402486051,), (1402486053,), (1402486055,), (1402486058,), (1402486061,), (1402486065,), (1402486066,), (1402486068,), (1402486070,), (1402486094,), (1402486096,), (1402486105,), (1402486107,), (1402486110,), (1402486113,), (1402486115,), (1402486143,), (1402486151,), (1402486154,), (1402486157,), (1402486164,), (1402486165,), (1402486167,), (1402486170,), (1402486187,), (1402486189,), (1402486190,), (1402486193,), (1402486201,), (1402486204,), (1402486206,), (1402486209,), (1402486212,), (1402486253,), (1402486241,), (1402486243,), (1402486246,), (1402486249,), (1402486251,), (1402486256,), (1402486257,), (1402486259,), (1402486287,), (1402486290,), (1402486292,), (1402486294,), (1402486296,), (1402486303,), (1402486304,), (1402486306,), (1402486308,), (1402486310,), (1402486312,), (1402486321,), (1402486323,), (1402486325,), (1402486326,), (1402486332,), (1402486334,), (1402486336,), (1402486359,), (1402486362,), (1402486364,), (1402486366,), (1402486371,), (1402486373,), (1402486375,), (1402486377,), (1402486397,), (1402486404,), (1402486412,), (1402486418,), (1402486430,), (1402486431,), (1402486434,), (1402486447,), (1402486449,), (1402486452,), (1402486459,), (1402486461,), (1402486463,), (1402486465,), (1402486467,), (1402486586,), (1402486619,), (1402486652,), (1402486685,), (1402487074,), (1402487110,), (1402487149,), (1402487181,), (1402487582,), (1402487511,), (1402487547,), (1402488017,), (1402488055,), (1402488067,), (1402488069,), (1402488072,), (1402488241,), (1402488247,), (1402488249,), (1402488269,), (1402488351,), (1402488352,), (1402488354,), (1402488375,), (1402488377,), (1402488379,), (1402488382,), (1402488387,), (1402488411,), (1402488413,), (1402488415,), (1402488418,), (1402488430,), (1402488432,), (1402488434,), (1402488437,), (1402488441,), (1402488458,), (1402488460,), (1402488462,), (1402488465,), (1402488469,), (1402488490,), (1402488491,), (1402488493,), (1402488516,), (1402488522,), (1402488524,), (1402488527,), (1402488531,), (1402488540,), (1402488542,), (1402488544,), (1402488547,), (1402488551,), (1402488562,), (1402488564,), (1402488566,), (1402488568,), (1402488590,), (1402488591,), (1402488592,), (1402488593,), (1402488597,), (1402488627,), (1402488629,), (1402488632,), (1402488634,), (1402488637,), (1402488640,), (1402488653,), (1402488655,), (1402488658,), (1402488695,), (1402488688,), (1402488690,), (1402488692,), (1402488713,), (1402488715,), (1402488717,), (1402488720,), (1402488725,), (1402488742,), (1402488744,), (1402488746,), (1402488761,), (1402488763,), (1402488765,), (1402488799,), (1402488801,), (1402488803,), (1402488806,), (1402488825,), (1402488826,), (1402488829,), (1402488832,), (1402488860,), (1402488865,), (1402488866,), (1402488868,), (1402488883,), (1402488884,), (1402488896,), (1402488898,), (1402488900,), (1402488903,), (1402488906,), (1402488930,), (1402488931,), (1402488933,), (1402488936,), (1402488940,), (1402488961,), (1402488963,), (1402488965,), (1402488980,), (1402488981,), (1402488983,), (1402489011,), (1402489013,), (1402489016,), (1402489018,), (1402489022,), (1402489031,), (1402489033,), (1402489035,), (1402489037,), (1402489040,), (1402489064,), (1402489066,), (1402489068,), (1402489071,), (1402489075,), (1402489078,), (1402489098,), (1402489095,), (1402489096,), (1402489130,), (1402489132,), (1402489134,), (1402489137,), (1402489160,), (1402489164,), (1402489168,), (1402489192,), (1402489196,), (1402489200,), (1402489205,), (1402489209,), (1402489215,), (1402489217,), (1402489219,), (1402489222,), (1402489236,), (1402489238,), (1402489241,), (1402489274,), (1402489276,), (1402489278,), (1402489281,), (1402489284,), (1402489297,), (1402489299,), (1402489301,), (1402489304,), (1402489316,), (1402489318,), (1402489320,), (1402489323,), (1402489344,), (1402489346,), (1402489349,), (1402489372,), (1402489373,), (1402489376,), (1402489380,), (1402489383,), (1402489385,), (1402489407,), (1402489409,), (1402489411,), (1402489414,), (1402489433,), (1402489434,), (1402489436,), (1402489440,), (1402489472,), (1402489474,), (1402489475,), (1402489492,), (1402489493,), (1402489497,), (1402489499,), (1402489537,), (1402489531,), (1402489554,), (1402489557,), (1402489561,), (1402489565,), (1402489569,), (1402489572,), (1402489581,), (1402489585,), (1402489589,), (1402489593,), (1402489607,), (1402489609,), (1402489611,), (1402489635,), (1402489637,), (1402489640,), (1402489643,), (1402489646,), (1402489656,), (1402489658,), (1402489660,), (1402489664,), (1402489666,), (1402489698,), (1402489701,), (1402489704,), (1402489707,), (1402489710,), (1402489720,), (1402489722,), (1402489724,), (1402489747,), (1402489748,), (1402489750,), (1402489753,), (1402489756,), (1402489778,), (1402489780,), (1402489782,), (1402489785,), (1402489812,), (1402489814,), (1402489816,), (1402489830,), (1402489833,), (1402489834,), (1402489837,), (1402489841,), (1402489856,), (1402489858,), (1402489861,), (1402489864,), (1402489867,), (1402489869,), (1402489889,), (1402489893,), (1402489897,), (1402489899,), (1402489905,), (1402490102,), (1402490169,), (1402490237,), (1402491055,), (1402491844,), (1402491861,), (1402491867,), (1402491038,), (1402491044,), (1402491052,), (1402491053,), (1402491054,), (1402491319,), (1402491493,), (1402491605,), (1402491637,), (1402491668,), (1402491669,), (1402491876,), (1402491879,), (1402491882,), (1402491885,), (1402491888,), (1402491908,), (1402491910,), (1402491913,), (1402491916,), (1402491999,), (1402492001,), (1402492004,), (1402492085,), (1402492093,), (1402492100,), (1402492103,), (1402492126,), (1402492130,), (1402492140,), (1402492158,), (1402492181,), (1402492184,), (1402492186,), (1402492276,), (1402492278,), (1402492280,), (1402492283,), (1402492290,), (1402492317,), (1402492320,), (1402492322,), (1402492324,), (1402492328,), (1402492344,), (1402492345,), (1402492346,), (1402492535,), (1402492544,), (1402492558,), (1402492561,), (1402492572,), (1402492613,), (1402492615,), (1402492618,), (1402492620,), (1402492623,), (1402492671,), (1402492672,), (1402492676,), (1402492679,), (1402492806,), (1402492812,), (1402492823,), (1402492829,), (1402492874,), (1402492865,), (1402492867,), (1402492871,), (1402493029,), (1402493036,), (1402493044,), (1402493050,), (1402493056,), (1402493060,), (1402493092,), (1402493094,), (1402493097,), (1402493100,), (1402493144,), (1402493152,), (1402493329,), (1402493341,), (1402493344,), (1402493348,), (1402493352,), (1402493365,), (1402493389,), (1402493392,), (1402493398,), (1402493403,), (1402493406,), (1402493441,), (1402493446,), (1402493452,), (1402493479,), (1402493482,), (1402493486,), (1402493546,), (1402493548,), (1402493551,), (1402493553,), (1402493557,), (1402493561,), (1402493573,), (1402493575,), (1402493577,), (1402493583,), (1402493587,), (1402493631,), (1402493836,), (1402493844,), (1402493846,), (1402493907,), (1402493893,), (1402493894,), (1402493897,), (1402493901,), (1402493904,), (1402493929,), (1402493932,), (1402493936,), (1402493942,), (1402493945,), (1402493957,), (1402493959,), (1402493963,), (1402493966,), (1402493975,), (1402493996,), (1402493997,), (1402494000,), (1402494003,), (1402494007,), (1402494023,), (1402494024,), (1402494027,), (1402494028,), (1402494049,), (1402494050,), (1402494052,), (1402494054,), (1402494059,), (1402494078,), (1402494079,), (1402494112,), (1402494113,), (1402494115,), (1402494118,), (1402494122,), (1402494146,), (1402494147,), (1402494149,), (1402494152,), (1402494156,), (1402494159,), (1402494175,), (1402494177,), (1402494179,), (1402494182,), (1402494199,), (1402494202,), (1402494204,), (1402494208,), (1402494211,), (1402494213,), (1402494224,), (1402494234,), (1402494237,), (1402494239,), (1402494242,), (1402494245,), (1402494248,), (1402494273,), (1402494274,), (1402494276,), (1402494278,), (1402494281,), (1402494305,), (1402494307,), (1402494310,), (1402494330,), (1402494332,), (1402494335,), (1402494337,), (1402494342,), (1402494388,), (1402494374,), (1402494376,), (1402494378,), (1402494381,), (1402494385,), (1402494406,), (1402494409,), (1402494412,), (1402494502,), (1402494504,), (1402494506,), (1402494528,), (1402494530,), (1402494535,), (1402494539,), (1402494543,), (1402494560,), (1402494562,), (1402494566,), (1402494569,), (1402494572,), (1402494575,), (1402494589,), (1402494593,), (1402494597,), (1402494600,), (1402494605,), (1402494610,), (1402494617,), (1402494619,), (1402494621,), (1402494648,), (1402494650,), (1402494652,), (1402494665,), (1402494667,), (1402494669,), (1402494672,), (1402494677,), (1402494684,), (1402494720,), (1402494722,), (1402494724,), (1402494754,), (1402494757,), (1402494761,), (1402494766,), (1402494781,), (1402494785,), (1402494793,), (1402494803,), (1402494812,), (1402494815,), (1402494835,), (1402494836,), (1402494838,), (1402494841,), (1402494845,), (1402494872,), (1402494874,), (1402494876,), (1402494879,), (1402495031,), (1402495034,), (1402495039,), (1402495074,), (1402495107,), (1402495136,), (1402495250,), (1402495771,), (1402495464,), (1402495527,), (1402495592,), (1402495656,), (1402495724,), (1402496160,), (1402496207,), (1402496214,), (1402496507,), (1402496532,), (1402496559,), (1402496564,), (1402497026,), (1402497047,), (1402497068,), (1402497091,), (1402497096,), (1402497132,), (1402497135,), (1402497138,), (1402497227,), (1402497247,), (1402497250,), (1402497253,), (1402497260,), (1402497342,), (1402497347,), (1402497351,), (1402497356,), (1402497360,), (1402497363,), (1402497465,), (1402497467,), (1402497476,), (1402497482,), (1402497511,), (1402497513,), (1402497943,), (1402497826,), (1402497926,), (1402497927,), (1402498177,), (1402498179,), (1402498206,), (1402498305,), (1402498308,), (1402498310,), (1402498314,), (1402498402,), (1402498413,), (1402498449,), (1402498451,), (1402498454,), (1402498460,), (1402498467,), (1402498521,), (1402498524,), (1402498526,), (1402498529,), (1402498562,), (1402498582,), (1402498585,), (1402498589,), (1402498593,), (1402498598,), (1402498609,), (1402498611,), (1402498614,), (1402498617,), (1402498620,), (1402498624,), (1402498635,), (1402498636,), (1402498639,), (1402498686,), (1402498689,), (1402498693,), (1402498695,), (1402498709,), (1402498712,), (1402498715,), (1402498718,), (1402498721,), (1402498724,), (1402498813,), (1402498815,), (1402498820,), (1402498824,), (1402498854,), (1402498850,), (1402498851,), (1402498962,), (1402498968,), (1402498982,), (1402498999,), (1402499002,), (1402499005,), (1402499140,), (1402499162,), (1402499177,), (1402499196,), (1402499238,), (1402499244,), (1402499248,), (1402499252,), (1402499255,), (1402499259,), (1402499404,), (1402499456,), (1402499464,), (1402499481,), (1402499484,), (1402499488,), (1402499515,), (1402499517,), (1402499526,), (1402499530,), (1402499563,), (1402499581,), (1402499582,), (1402499584,), (1402499586,), (1402499589,), (1402499592,), (1402499597,), (1402499616,), (1402499618,), (1402499621,), (1402499625,), (1402499636,), (1402499652,), (1402499733,), (1402499734,), (1402499752,), (1402499814,), (1402499815,), (1402499817,), (1402499821,), (1402499826,), (1402499829,), (1402499895,), (1402499961,), (1402500024,), (1402500091,), (1402500159,), (1402500167,), (1402500174,), (1402500176,), (1402500177,), (1402500178,), (1402500184,), (1402500199,), (1402500217,), (1402500245,), (1402500251,), (1402500253,), (1402500257,), (1402500260,), (1402500282,), (1402500284,), (1402500286,), (1402500304,), (1402500333,), (1402500335,), (1402500337,), (1402500347,), (1402500361,), (1402500410,), (1402500404,), (1402500406,), (1402500440,), (1402500442,), (1402500444,), (1402500446,), (1402500451,), (1402500453,), (1402500476,), (1402500478,), (1402500479,), (1402500484,), (1402500585,), (1402500586,), (1402500588,), (1402500592,), (1402500595,), (1402500599,), (1402500607,), (1402500619,), (1402500621,), (1402500648,), (1402500650,), (1402500653,), (1402500838,), (1402500932,), (1402500940,), (1402500943,), (1402500972,), (1402500975,), (1402501014,), (1402501016,), (1402501019,), (1402501042,), (1402501046,), (1402501048,), (1402501051,), (1402501056,), (1402501080,), (1402501082,), (1402501084,), (1402501087,), (1402501091,), (1402501093,), (1402501109,), (1402501111,), (1402501114,), (1402501116,), (1402501120,), (1402501138,), (1402501140,), (1402501143,), (1402501457,), (1402501494,), (1402501527,), (1402501560,), (1402501786,), (1402501788,), (1402501790,), (1402501792,), (1402501797,), (1402505288,), (1402505289,), (1402505290,), (1402505306,), (1402505308,), (1402505309,), (1402505312,), (1402505316,), (1402505319,), (1402505325,), (1402505329,), (1402505330,), (1402505344,), (1402505346,), (1402505348,), (1402505349,), (1402505377,), (1402505379,), (1402505380,), (1402505383,), (1402505400,), (1402505401,), (1402505402,), (1402505983,), (1402506015,), (1402506305,), (1402506306,), (1402506307,), (1402506652,), (1402506653,), (1402506654,), (1402506655,), (1402506668,), (1402506669,), (1402506671,), (1402506673,), (1402506676,), (1402506728,), (1402506833,), (1402506720,), (1402506721,), (1402506722,), (1402506723,), (1402506726,), (1402506781,), (1402506788,), (1402506803,), (1402506805,), (1402506808,), (1402506814,), (1402506822,), (1402506824,), (1402506827,), (1402506843,), (1402506844,), (1402506846,), (1402506848,), (1402506850,), (1402506908,), (1402506943,), (1402506974,), (1402507004,), (1402507035,), (1402507092,), (1402507240,), (1402507273,), (1402507324,), (1402507326,), (1402507328,), (1402507330,), (1402507333,), (1402507348,), (1402507350,), (1402507352,), (1402507354,), (1402507358,), (1402507359,), (1402507372,), (1402507374,), (1402507376,), (1402507378,), (1402507419,), (1402507421,), (1402507442,), (1402507444,), (1402507446,), (1402507448,), (1402507499,), (1402507503,), (1402507505,), (1402507507,), (1402507510,), (1402507525,), (1402507526,), (1402507528,), (1402507530,), (1402507534,), (1402507537,), (1402507564,), (1402507566,), (1402507568,), (1402507570,), (1402507692,), (1402507729,), (1402507764,), (1402507798,), (1402507937,), (1402507938,), (1402507973,), (1402507977,), (1402508008,), (1402508013,), (1402508698,), (1402508759,), (1402508801,), (1402508836,), (1402508614,), (1402508647,), (1402509235,), (1402509267,), (1402509341,), (1402509473,), (1402509475,), (1402509477,), (1402509478,), (1402509483,), (1402509725,), (1402509742,), (1402510307,), (1402510308,), (1402510410,), (1402510412,), (1402510429,), (1402510432,), (1402511321,), (1402511318,), (1402511319,), (1402511353,), (1402511355,), (1402511356,), (1402511357,), (1402511360,), (1402511415,), (1402511418,), (1402511420,), (1402511522,), (1402511962,), (1402511727,), (1402511990,), (1402511997,), (1402512001,), (1402512004,), (1402512011,), (1402512031,), (1402512089,), (1402512110,), (1402512112,), (1402512114,), (1402512116,), (1402512120,), (1402512173,), (1402512151,), (1402512152,), (1402512161,), (1402512165,), (1402512194,), (1402512195,), (1402512196,), (1402512198,), (1402512388,), (1402512389,), (1402512390,), (1402512413,), (1402512414,), (1402512415,), (1402512417,), (1402512422,), (1402512438,), (1402512439,), (1402512441,), (1402512443,), (1402512447,), (1402512464,), (1402512467,), (1402512472,), (1402512476,), (1402512480,), (1402512483,), (1402512496,), (1402512497,), (1402512498,), (1402512499,), (1402512501,), (1402512521,), (1402512523,), (1402512529,), (1402512534,), (1402512536,), (1402512580,), (1402512582,), (1402512583,), (1402512611,), (1402512614,), (1402512616,), (1402512619,), (1402512623,), (1402512641,), (1402512642,), (1402512645,), (1402512646,), (1402512664,), (1402512665,), (1402512668,), (1402512671,), (1402512675,), (1402512699,), (1402512701,), (1402512704,), (1402512707,), (1402512745,), (1402512780,), (1402512816,), (1402512850,), (1402512994,), (1402513029,), (1402513064,), (1402513264,), (1402513265,), (1402513291,), (1402513296,), (1402513235,), (1402513237,), (1402513257,), (1402513263,), (1402513282,), (1402513284,), (1402513288,), (1402513310,), (1402513311,), (1402513313,), (1402513316,), (1402513320,), (1402513325,), (1402513804,), (1402513805,), (1402513808,), (1402514081,), (1402514083,), (1402514085,), (1402514088,), (1402514103,), (1402514105,), (1402514107,), (1402514109,), (1402514137,), (1402514140,), (1402514155,), (1402514176,), (1402514187,), (1402514257,), (1402514261,), (1402514267,), (1402514270,), (1402514280,), (1402514313,), (1402514314,), (1402514316,), (1402514319,), (1402514349,), (1402514351,), (1402514353,), (1402514354,), (1402514822,), (1402514826,), (1402514844,), (1402515059,), (1402515080,), (1402515081,), (1402515139,), (1402515140,), (1402515142,), (1402515143,), (1402515182,), (1402515307,), (1402515175,), (1402515177,), (1402515178,), (1402515179,), (1402515235,), (1402515267,), (1402515285,), (1402515288,), (1402515291,), (1402515296,), (1402515301,), (1402515304,), (1402515313,), (1402515333,), (1402515367,), (1402515758,), (1402515760,), (1402515762,), (1402515763,), (1402515776,), (1402515807,), (1402516043,), (1402516062,), (1402516065,), (1402516066,), (1402516197,), (1402516232,), (1402516516,), (1402516519,), (1402516531,), (1402516541,), (1402516547,), (1402516570,), (1402516576,), (1402516579,), (1402516584,), (1402516651,), (1402516655,), (1402516659,), (1402516684,), (1402516720,), (1402517027,), (1402517028,), (1402517032,), (1402517256,), (1402517257,), (1402517260,), (1402517266,), (1402517297,), (1402517553,), (1402517602,), (1402517646,), (1402517689,), (1402517749,), (1402517756,), (1402517758,), (1402517802,), (1402517805,), (1402517807,), (1402517808,), (1402517809,), (1402517810,), (1402517999,), (1402518022,), (1402518025,), (1402518048,), (1402518051,), (1402518061,), (1402518157,), (1402518127,), (1402518154,), (1402518176,), (1402518177,), (1402518180,), (1402518181,), (1402518185,), (1402518213,), (1402518215,), (1402518219,), (1402518221,), (1402518225,), (1402518247,), (1402518250,), (1402518252,), (1402518255,), (1402518299,), (1402518301,), (1402518302,), (1402518325,), (1402518331,), (1402518339,), (1402518344,), (1402518350,), (1402518392,), (1402518399,), (1402518418,), (1402518425,), (1402518429,), (1402518431,), (1402518436,), (1402518438,), (1402518443,), (1402518446,), (1402518455,), (1402518459,), (1402518461,), (1402518463,), (1402518526,), (1402518541,), (1402518546,), (1402518556,), (1402518559,), (1402518889,), (1402518890,), (1402518891,), (1402518892,), (1402518895,), (1402518914,), (1402518951,), (1402518959,), (1402518960,), (1402518961,), (1402518963,), (1402518983,), (1402519054,), (1402519061,), (1402519064,), (1402519066,), (1402519068,), (1402519109,), (1402519110,), (1402519111,), (1402519113,), (1402519117,), (1402519313,), (1402519346,), (1402519380,), (1402519414,), (1402519561,), (1402519550,), (1402519552,), (1402519554,), (1402519584,), (1402519585,), (1402519587,), (1402519591,), (1402519599,), (1402519619,), (1402519621,), (1402519622,), (1402519624,), (1402519628,), (1402519874,), (1402519878,), (1402519901,), (1402519903,), (1402519907,), (1402519995,), (1402519997,), (1402520001,), (1402520003,), (1402520007,), (1402520042,), (1402520045,), (1402520049,), (1402520051,), (1402520054,), (1402520057,), (1402520070,), (1402520071,), (1402520079,), (1402520106,), (1402520109,), (1402520112,), (1402520121,), (1402520126,), (1402520284,), (1402520285,), (1402520294,), (1402520302,), (1402520425,), (1402520458,), (1402520489,), (1402520606,), (1402520610,), (1402520612,), (1402520617,), (1402520620,), (1402520623,), (1402520634,), (1402520636,), (1402520637,), (1402520640,), (1402520645,), (1402520647,), (1402520658,), (1402520660,), (1402520661,), (1402520720,), (1402520722,), (1402520723,), (1402520726,), (1402520731,), (1402520918,), (1402520962,), (1402521002,), (1402521046,), (1402521084,), (1402521089,), (1402521159,), (1402521166,), (1402521175,), (1402521261,), (1402521262,), (1402521288,), (1402521291,), (1402521252,), (1402521254,), (1402521255,), (1402521260,), (1402521269,), (1402521273,), (1402521277,), (1402521282,), (1402521302,), (1402521303,), (1402521306,), (1402521309,), (1402521341,), (1402521343,), (1402521347,), (1402521351,), (1402521680,), (1402521714,), (1402521747,), (1402521785,), (1402521821,), (1402521852,), (1402522360,), (1402522370,), (1402522652,), (1402522654,), (1402522656,), (1402522675,), (1402522713,), (1402522749,), (1402522913,), (1402522977,), (1402523042,), (1402523072,), (1402523091,), (1402523234,), (1402523236,), (1402523238,), (1402523241,), (1402523314,), (1402523319,), (1402523326,), (1402523333,), (1402523337,), (1402523364,), (1402523368,), (1402523387,), (1402523391,), (1402528187,), (1402532830,), (1402532842,), (1402532843,), (1402532846,), (1402532847,), (1402532850,), (1402532863,), (1402532864,), (1402532866,), (1402532867,), (1402532898,), (1402532899,), (1402532901,), (1402532918,), (1402532979,), (1402532980,), (1402532982,), (1402532983,), (1402532987,), (1402533140,), (1402533163,), (1402533166,), (1402533168,), (1402533170,), (1402533173,), (1402533211,), (1402533213,), (1402533218,), (1402533333,), (1402533336,), (1402533342,), (1402533349,), (1402533327,), (1402533329,), (1402533331,), (1402533350,), (1402533351,), (1402533353,), (1402533355,), (1402533357,), (1402533368,), (1402533369,), (1402533445,), (1402533925,), (1402534235,), (1402534258,), (1402534438,), (1402534439,), (1402534440,), (1402534441,), (1402534444,), (1402534458,), (1402534461,), (1402534463,), (1402534467,), (1402534471,), (1402534502,), (1402534514,), (1402534530,), (1402534532,), (1402534534,), (1402534536,), (1402534539,), (1402534678,), (1402534711,), (1402534739,), (1402534741,), (1402534745,), (1402534765,), (1402534767,), (1402534768,), (1402534770,), (1402534774,), (1402534866,), (1402534862,), (1402534864,), (1402534901,), (1402534902,), (1402534903,), (1402534904,), (1402534906,), (1402534927,), (1402534928,), (1402534929,), (1402534951,), (1402534953,), (1402534954,), (1402534956,), (1402534958,), (1402534986,), (1402534987,), (1402534988,), (1402534989,), (1402534992,), (1402535071,), (1402535072,), (1402535074,), (1402535075,), (1402535100,), (1402535101,), (1402535103,), (1402535104,), (1402535132,), (1402535139,), (1402535143,), (1402535147,), (1402535154,), (1402535198,), (1402535200,), (1402535201,), (1402535220,), (1402535226,), (1402535252,), (1402535253,), (1402535254,), (1402535256,), (1402535288,), (1402535289,), (1402535291,), (1402535292,), (1402535309,), (1402535314,), (1402535318,), (1402535338,), (1402535341,), (1402535345,), (1402535372,), (1402535377,), (1402535379,), (1402535382,), (1402535385,), (1402535397,), (1402535409,), (1402535417,), (1402535432,), (1402535902,), (1402535865,), (1402536532,), (1402536606,), (1402536680,), (1402536736,), (1402536794,), (1402536840,), (1402537186,), (1402537187,), (1402537190,), (1402537197,), (1402537235,), (1402537549,), (1402537583,), (1402537601,), (1402537633,), (1402537635,), (1402537639,), (1402537696,), (1402537899,), (1402537907,), (1402537911,), (1402537920,), (1402537945,), (1402537948,), (1402537965,), (1402537967,), (1402537970,), (1402537990,), (1402537992,), (1402537996,), (1402538029,), (1402538031,), (1402538035,), (1402538055,), (1402538060,), (1402538163,), (1402538212,), (1402538216,), (1402538219,), (1402538222,), (1402538244,), (1402538246,), (1402538250,), (1402538253,), (1402538256,), (1402538272,), (1402538319,), (1402538330,), (1402538340,), (1402538353,), (1402538354,), (1402538355,), (1402538405,), (1402538406,), (1402538413,), (1402538476,), (1402538501,), (1402538502,), (1402538524,), (1402538526,), (1402538529,), (1402538578,), (1402538570,), (1402538571,), (1402538572,), (1402538574,), (1402538598,), (1402538600,), (1402538602,), (1402538637,), (1402538639,), (1402538642,), (1402538645,), (1402538689,), (1402538691,), (1402538696,), (1402538697,), (1402538703,), (1402538726,), (1402538728,), (1402538730,), (1402538733,), (1402538761,), (1402538763,), (1402538765,), (1402538769,), (1402538772,), (1402538834,), (1402538836,), (1402538842,), (1402538845,), (1402538850,), (1402538869,), (1402538870,), (1402538872,), (1402538874,), (1402538878,), (1402538910,), (1402538912,), (1402538915,), (1402538939,), (1402538940,), (1402538944,), (1402538947,), (1402538951,), (1402538955,), (1402538981,), (1402538986,), (1402538990,), (1402539007,), (1402539008,), (1402539027,), (1402539030,), (1402539036,), (1402539087,), (1402539104,), (1402539112,), (1402539123,), (1402539131,), (1402539134,), (1402539166,), (1402539172,), (1402539208,), (1402539211,), (1402539215,), (1402539217,), (1402539255,), (1402539246,), (1402539248,), (1402539249,), (1402539250,), (1402539253,), (1402539393,), (1402539396,), (1402539405,), (1402539441,), (1402539444,), (1402539446,), (1402539459,), (1402539463,), (1402539545,), (1402539547,), (1402539550,), (1402539552,), (1402539556,), (1402539565,), (1402539649,), (1402539654,), (1402539656,), (1402539679,), (1402539864,), (1402539871,), (1402539872,), (1402539873,), (1402540018,), (1402540058,), (1402540146,), (1402540220,), (1402540290,), (1402540369,), (1402540372,), (1402540373,), (1402540377,), (1402540382,), (1402540389,), (1402540443,), (1402540445,), (1402540453,), (1402540538,), (1402540539,), (1402540567,), (1402540570,), (1402540629,), (1402540630,), (1402540733,), (1402540772,), (1402540801,), (1402540818,), (1402540825,), (1402540898,), (1402540902,), (1402540913,), (1402540917,), (1402540930,), (1402540942,), (1402541159,), (1402541157,), (1402541158,), (1402541431,), (1402541547,), (1402541548,), (1402541549,), (1402541753,), (1402541836,), (1402541839,), (1402541862,), (1402541864,), (1402541866,), (1402541868,), (1402541947,), (1402541955,), (1402541968,), (1402541975,), (1402542075,), (1402542079,), (1402542082,), (1402542100,), (1402542105,), (1402542108,), (1402542109,), (1402542183,), (1402542184,), (1402542209,), (1402542216,), (1402542223,), (1402542225,), (1402542163,), (1402542164,), (1402542167,), (1402542168,), (1402542171,), (1402542172,), (1402542175,), (1402542176,), (1402542179,), (1402542180,), (1402542185,), (1402542186,), (1402542187,), (1402542191,), (1402542194,), (1402542198,), (1402542244,), (1402542276,), (1402542315,), (1402542317,), (1402542319,), (1402542321,), (1402542324,), (1402542328,), (1402542343,), (1402542355,), (1402542360,), (1402542364,), (1402542369,), (1402542373,), (1402542382,), (1402542384,), (1402542411,), (1402542420,), (1402542428,), (1402542431,), (1402542436,), (1402542500,), (1402542536,), (1402542568,), (1402542578,), (1402542777,), (1402542820,), (1402542999,), (1402543001,), (1402543004,), (1402543007,), (1402543011,), (1402543015,), (1402543031,), (1402543032,), (1402543034,), (1402543038,), (1402543044,), (1402543048,), (1402543074,), (1402543075,), (1402543076,), (1402543077,), (1402544566,), (1402544619,), (1402544620,), (1402544632,), (1402544666,), (1402544699,), (1402544895,), (1402544897,), (1402544907,), (1402544913,), (1402544929,), (1402544934,), (1402544941,), (1402544943,), (1402545453,), (1402545451,), (1402545452,), (1402545463,), (1402545464,), (1402545466,), (1402545476,), (1402545477,), (1402545489,), (1402545490,), (1402545492,), (1402545494,), (1402545496,), (1402545503,), (1402545504,), (1402545505,), (1402545507,), (1402545520,), (1402545521,), (1402545522,), (1402545527,), (1402545624,), (1402545625,), (1402545626,), (1402545628,), (1402545631,), (1402545656,), (1402545657,), (1402545658,), (1402545659,), (1402545670,), (1402545671,), (1402545672,), (1402545687,), (1402545691,), (1402545706,), (1402545708,), (1402545711,), (1402545713,), (1402545723,), (1402545726,), (1402545728,), (1402545731,), (1402545740,), (1402545742,), (1402545765,), (1402545767,), (1402545769,), (1402545771,), (1402545773,), (1402545774,), (1402545778,), (1402545779,), (1402545780,), (1402545781,), (1402545784,), (1402545786,), (1402545788,), (1402545790,), (1402545799,), (1402545800,), (1402545801,), (1402545803,), (1402545806,), (1402545808,), (1402545849,), (1402545850,), (1402545851,), (1402545864,), (1402545869,), (1402545935,), (1402545959,), (1402546032,), (1402546033,), (1402546034,), (1402546036,), (1402546058,), (1402546059,), (1402546060,), (1402546062,), (1402546070,), (1402546071,), (1402546072,), (1402546075,), (1402546078,), (1402546124,), (1402546125,), (1402546126,), (1402546133,), (1402546134,), (1402546135,), (1402546137,), (1402546141,), (1402546153,), (1402546154,), (1402546156,), (1402546158,), (1402546160,), (1402546162,), (1402546168,), (1402546169,), (1402546170,), (1402546186,), (1402546187,), (1402546189,), (1402546191,), (1402546194,), (1402546284,), (1402546295,), (1402546297,), (1402546300,), (1402546303,), (1402546306,), (1402546772,), (1402548246,), (1402546653,), (1402546689,), (1402546723,), (1402547732,), (1402547806,), (1402547836,), (1402547897,), (1402547964,), (1402548028,), (1402548191,), (1402548192,), (1402548215,), (1402548428,), (1402548500,), (1402548568,), (1402548630,), (1402548692,), (1402549108,), (1402549121,), (1402549538,), (1402549553,), (1402549572,), (1402549573,), (1402549576,), (1402549646,), (1402549647,), (1402549648,), (1402549649,), (1402549651,), (1402549668,), (1402549669,), (1402549670,), (1402549672,), (1402549687,), (1402550046,), (1402550075,), (1402550106,), (1402550139,), (1402550486,), (1402550597,), (1402550703,), (1402551470,), (1402551480,), (1402551512,), (1402551524,), (1402551580,), (1402552128,), (1402552194,), (1402552263,), (1402552339,), (1402552416,), (1402552454,), (1402552592,), (1402552593,), (1402552598,), (1402552603,), (1402552612,), (1402552614,), (1402552646,), (1402552865,), (1402552887,), (1402552889,), (1402552893,), (1402552927,), (1402552950,), (1402552990,), (1402553006,), (1402553010,), (1402553011,), (1402553013,), (1402553085,), (1402553086,), (1402553087,), (1402553089,), (1402553094,), (1402553123,), (1402553358,), (1402553249,), (1402553250,), (1402553262,), (1402553300,), (1402553341,), (1402553397,), (1402553398,), (1402553437,), (1402553446,), (1402553451,), (1402553459,), (1402553461,), (1402553463,), (1402553482,), (1402553484,), (1402553485,), (1402553488,), (1402553490,), (1402553492,), (1402553657,), (1402553694,), (1402553727,), (1402553794,), (1402553795,), (1402553797,), (1402553801,), (1402553803,), (1402553805,), (1402553819,), (1402553820,), (1402553821,), (1402553839,), (1402553841,), (1402553843,), (1402553845,), (1402553847,), (1402553968,), (1402553970,), (1402553974,), (1402553982,), (1402553988,), (1402554044,), (1402554046,), (1402554049,), (1402554084,), (1402554085,), (1402554086,), (1402554088,), (1402554157,), (1402554189,), (1402554222,), (1402554253,), (1402554293,), (1402554495,), (1402554499,), (1402554502,), (1402554510,), (1402554519,), (1402554573,), (1402554580,), (1402554592,), (1402554655,), (1402554657,), (1402554659,), (1402554662,), (1402554665,), (1402554668,), (1402554688,), (1402554692,), (1402557263,), (1402557244,), (1402557259,), (1402557260,), (1402557262,), (1402557270,), (1402557271,), (1402557272,), (1402557273,), (1402557294,), (1402557310,), (1402557312,), (1402557314,), (1402557316,), (1402557319,), (1402557337,), (1402557339,), (1402557341,), (1402557344,), (1402557368,), (1402557370,), (1402557373,), (1402557375,), (1402557379,), (1402557406,), (1402557408,), (1402557409,), (1402557424,), (1402557426,), (1402557428,), (1402557431,), (1402557435,), (1402557459,), (1402557460,), (1402557462,), (1402557464,), (1402557466,), (1402557478,), (1402557479,), (1402557481,), (1402557482,), (1402557485,), (1402557503,), (1402557504,), (1402557505,), (1402557508,), (1402557511,), (1402557514,), (1402557531,), (1402557533,), (1402557534,), (1402557535,), (1402557536,), (1402557539,), (1402557565,), (1402557566,), (1402557567,), (1402557570,), (1402557573,), (1402557575,), (1402557585,), (1402557587,), (1402557588,), (1402557638,), (1402557629,), (1402557630,), (1402557631,), (1402557633,), (1402557637,), (1402557651,), (1402557652,), (1402557653,), (1402557673,), (1402557679,), (1402557686,), (1402557688,), (1402557719,), (1402557720,), (1402557722,), (1402557741,), (1402557744,), (1402557746,), (1402557749,), (1402557759,), (1402557761,), (1402557764,), (1402557767,), (1402557770,), (1402557803,), (1402557804,), (1402557806,), (1402557808,), (1402557810,), (1402557811,), (1402557817,), (1402557819,), (1402557820,), (1402557824,), (1402557826,), (1402557828,), (1402557847,), (1402557849,), (1402557851,), (1402557854,), (1402557858,), (1402557861,), (1402557873,), (1402557875,), (1402557878,), (1402557879,), (1402557883,), (1402557902,), (1402557903,), (1402557904,), (1402557906,), (1402557910,), (1402557920,), (1402557921,), (1402557923,), (1402557925,), (1402557928,), (1402557931,), (1402557954,), (1402557956,), (1402557958,), (1402557982,), (1402558040,), (1402558041,), (1402558042,), (1402558043,), (1402558046,), (1402558049,), (1402558078,), (1402558088,), (1402558089,), (1402558090,), (1402558092,), (1402558127,), (1402558178,), (1402558123,), (1402558154,), (1402558162,), (1402558164,), (1402558173,), (1402558176,), (1402558203,), (1402558206,), (1402558208,), (1402558210,), (1402558228,), (1402558383,), (1402558391,), (1402558394,), (1402558396,), (1402558399,), (1402558414,), (1402558416,), (1402558418,), (1402558432,), (1402558434,), (1402558435,), (1402558437,), (1402558441,), (1402558459,), (1402558460,), (1402558461,), (1402558463,), (1402558501,), (1402558520,), (1402558521,), (1402558523,), (1402558525,), (1402558527,), (1402558529,), (1402558551,), (1402558553,), (1402558556,), (1402558559,), (1402558562,), (1402558574,), (1402558577,), (1402558578,), (1402558581,), (1402558584,), (1402558586,), (1402558604,), (1402558614,), (1402558624,), (1402558626,), (1402558627,), (1402558629,), (1402558658,), (1402558666,), (1402558674,), (1402558677,), (1402558681,), (1402558684,), (1402558719,), (1402558721,), (1402558723,), (1402558874,), (1402558876,), (1402558879,), (1402558882,), (1402558885,), (1402558887,), (1402558920,), (1402558907,), (1402558909,), (1402558912,), (1402558914,), (1402558918,), (1402558930,), (1402558936,), (1402558938,), (1402558941,), (1402558943,), (1402558967,), (1402558969,), (1402558972,), (1402558974,), (1402558977,), (1402558979,), (1402558993,), (1402558994,), (1402558996,), (1402558999,), (1402559003,), (1402559011,), (1402559041,), (1402559043,), (1402559046,), (1402559048,), (1402559051,), (1402559063,), (1402559065,), (1402559067,), (1402559070,), (1402559073,), (1402559095,), (1402559096,), (1402559098,), (1402559101,), (1402559103,), (1402559105,), (1402559110,), (1402559112,), (1402559114,), (1402559117,), (1402559119,), (1402559122,), (1402559182,), (1402559191,), (1402559201,), (1402559205,), (1402559222,), (1402559228,), (1402559318,), (1402559319,), (1402559320,), (1402559322,), (1402559326,), (1402559348,), (1402559349,), (1402559350,), (1402559368,), (1402559370,), (1402559372,), (1402559375,), (1402559379,), (1402559406,), (1402559408,), (1402559415,), (1402559418,), (1402559420,), (1402559423,), (1402560138,), (1402560198,), (1402560236,), (1402560289,), (1402560495,), (1402560529,), (1402560532,), (1402560778,), (1402561784,), (1402560541,), (1402560546,), (1402560599,), (1402560684,), (1402561475,), (1402561508,), (1402561573,), (1402561613,), (1402561660,), (1402561676,), (1402561691,), (1402561709,), (1402561718,), (1402561741,), (1402561919,), (1402561925,), (1402561928,), (1402561940,), (1402562227,), (1402562262,), (1402562295,), (1402562337,), (1402562372,), (1402562405,), (1402562661,), (1402562663,), (1402562673,), (1402562679,), (1402562717,), (1402562899,), (1402562900,), (1402562901,), (1402562903,), (1402562938,), (1402562974,), (1402563068,), (1402563115,), (1402563580,), (1402563620,), (1402563654,), (1402563656,), (1402563870,), (1402563900,), (1402563918,), (1402564036,), (1402564151,), (1402564688,), (1402564691,), (1402564693,), (1402564718,), (1402564724,), (1402565136,), (1402565138,), (1402565140,), (1402565145,), (1402565153,), (1402565220,), (1402565258,), (1402565259,), (1402565260,), (1402565261,), (1402565264,), (1402565271,), (1402565274,), (1402565276,), (1402565278,), (1402565403,), (1402565407,), (1402565428,), (1402565495,), (1402565500,), (1402565503,), (1402565520,), (1402565522,), (1402565525,), (1402565527,), (1402565531,), (1402565565,), (1402565549,), (1402565554,), (1402565557,), (1402565560,), (1402565562,), (1402565578,), (1402565580,), (1402565606,), (1402565608,), (1402565610,), (1402565613,), (1402565617,), (1402565619,), (1402565642,), (1402565650,), (1402565653,), (1402565655,), (1402565658,), (1402565856,), (1402565892,), (1402565926,), (1402565960,), (1402565996,), (1402565997,), (1402565998,), (1402565999,), (1402566001,), (1402566037,), (1402566040,), (1402566044,), (1402566051,), (1402566068,), (1402566071,), (1402566078,), (1402566079,), (1402566080,), (1402566081,), (1402566094,), (1402566096,), (1402566099,), (1402566121,), (1402566123,), (1402566318,), (1402566355,), (1402566390,), (1402566424,), (1402566460,), (1402566686,), (1402566689,), (1402566727,), (1402566736,), (1402566740,), (1402566841,), (1402566842,), (1402566843,), (1402566845,), (1402566873,), (1402566883,), (1402566885,), (1402566887,), (1402566890,), (1402566893,), (1402566903,), (1402566904,), (1402566905,), (1402566924,), (1402566927,), (1402566928,), (1402566929,), (1402566934,), (1402567073,), (1402567228,), (1402566951,), (1402566952,), (1402566978,), (1402567065,), (1402567070,), (1402567104,), (1402567106,), (1402567107,), (1402567111,), (1402567114,), (1402567116,), (1402567220,), (1402567224,), (1402567263,), (1402567265,), (1402567270,), (1402567274,), (1402567278,), (1402567305,), (1402567464,), (1402567470,), (1402567482,), (1402567488,), (1402567491,), (1402567515,), (1402567517,), (1402567519,), (1402567522,), (1402567525,), (1402567526,), (1402567532,), (1402567534,), (1402567536,), (1402567538,), (1402567543,), (1402567550,), (1402567553,), (1402567617,), (1402567619,), (1402567620,), (1402567622,), (1402567648,), (1402567651,), (1402567654,), (1402567663,), (1402567667,), (1402567693,), (1402567707,), (1402567710,), (1402567713,), (1402567715,), (1402567717,), (1402567733,), (1402567735,), (1402567737,), (1402567740,), (1402567743,), (1402567746,), (1402567763,), (1402567764,), (1402567765,), (1402567766,), (1402567768,), (1402567771,), (1402567774,), (1402567777,), (1402567786,), (1402567787,), (1402567788,), (1402567790,), (1402567793,), (1402567795,), (1402567806,), (1402567809,), (1402567813,), (1402567849,), (1402567850,), (1402567853,), (1402567856,), (1402567859,), (1402567902,), (1402567905,), (1402567911,), (1402567914,), (1402567915,), (1402567916,), (1402567875,), (1402567878,), (1402567895,), (1402567899,), (1402567917,), (1402567919,), (1402567921,), (1402567953,), (1402567954,), (1402567955,), (1402567957,), (1402567959,), (1402568137,), (1402568140,), (1402568142,), (1402568145,), (1402568148,), (1402568159,), (1402568161,), (1402568164,), (1402568171,), (1402568216,), (1402568219,), (1402568222,), (1402568225,), (1402568227,), (1402568229,), (1402568235,), (1402568236,), (1402568237,), (1402568238,), (1402568243,), (1402568245,), (1402568247,), (1402568266,), (1402568268,), (1402568270,), (1402568273,), (1402568276,), (1402568278,), (1402568321,), (1402568326,), (1402568330,), (1402568333,), (1402568364,), (1402568352,), (1402568355,), (1402568357,), (1402568360,), (1402568501,), (1402568534,), (1402568567,), (1402568602,), (1402568636,), (1402569311,), (1402569354,), (1402569446,), (1402569683,), (1402569716,), (1402569749,), (1402569781,), (1402569793,), (1402569795,), (1402569943,), (1402569957,), (1402569961,), (1402569964,), (1402569967,), (1402569986,), (1402569988,), (1402569991,), (1402569994,), (1402569997,), (1402569999,), (1402570010,), (1402570011,), (1402570012,), (1402570016,), (1402570019,), (1402570021,), (1402570024,), (1402570027,), (1402570029,), (1402570048,), (1402570050,), (1402570052,), (1402570055,), (1402570059,), (1402570060,), (1402570068,), (1402570070,), (1402570072,), (1402570075,), (1402570125,), (1402570127,), (1402570144,), (1402570156,), (1402570170,), (1402570196,), (1402570198,), (1402570200,), (1402570203,), (1402570206,), (1402570262,), (1402570265,), (1402570269,), (1402570272,), (1402570275,), (1402570277,), (1402570282,), (1402570283,), (1402570296,), (1402570308,), (1402570335,), (1402570375,), (1402570411,), (1402570458,), (1402570488,), (1402570504,), (1402570512,), (1402570514,), (1402570518,), (1402570646,), (1402570679,), (1402570685,), (1402570946,), (1402570977,), (1402570978,), (1402570979,), (1402570892,), (1402570926,), (1402570931,), (1402570935,), (1402570939,), (1402571066,), (1402571072,), (1402571088,), (1402571091,), (1402571094,), (1402571130,), (1402571132,), (1402571134,), (1402571209,), (1402571221,), (1402571223,), (1402571226,), (1402571230,), (1402571531,), (1402571545,), (1402571547,), (1402571550,), (1402571554,), (1402571555,), (1402571566,), (1402571568,), (1402571582,), (1402571588,), (1402571620,), (1402571623,), (1402571624,), (1402571628,), (1402571631,), (1402571633,), (1402571638,), (1402571639,), (1402571640,), (1402571641,), (1402571646,), (1402571649,), (1402571653,), (1402571663,), (1402571671,), (1402571673,), (1402571726,), (1402571755,), (1402571757,), (1402571879,), (1402571881,), (1402571883,), (1402571886,), (1402571890,), (1402571938,), (1402571941,), (1402571944,), (1402571947,), (1402571969,), (1402572003,), (1402572028,), (1402572029,), (1402572030,), (1402572032,), (1402572034,), (1402572040,), (1402572175,), (1402572176,), (1402572181,), (1402572185,), (1402572195,), (1402572211,), (1402572220,), (1402572223,), (1402572225,), (1402572228,), (1402572231,), (1402572234,), (1402572263,), (1402572265,), (1402572268,), (1402572271,), (1402572297,), (1402572367,), (1402572293,), (1402572295,), (1402572351,), (1402572353,), (1402572355,), (1402572358,), (1402572361,), (1402572363,), (1402572369,), (1402572371,), (1402572373,), (1402572375,), (1402572413,), (1402572415,), (1402572416,), (1402572418,), (1402572421,), (1402572441,), (1402572443,), (1402572446,), (1402572447,), (1402572464,), (1402572467,), (1402572469,), (1402572472,), (1402572475,), (1402572478,), (1402572482,), (1402572483,), (1402572525,), (1402572531,), (1402572534,), (1402572537,), (1402572540,), (1402572543,), (1402572564,), (1402572571,), (1402572594,), (1402572596,), (1402572602,), (1402572605,), (1402572635,), (1402572642,), (1402572644,), (1402572647,), (1402572690,), (1402572702,), (1402572712,), (1402572721,), (1402572736,), (1402572757,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'05012026': {'nb_upload': 30, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29963903]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1402542225, 1402542223, 1402542216, 1402542209, 1402542184, 1402542183, 1402542109, 1402542108, 1402542105, 1402542100, 1402542082, 1402542079, 1402542075, 1402541975, 1402541968, 1402541955, 1402541947, 1402541868, 1402541866, 1402541864, 1402541862, 1402541839, 1402541836, 1402541753, 1402541549, 1402541548, 1402541547, 1402541431, 1402541158, 1402541157] map_info['map_portfolio_photo'] : {29963903: [1402542225, 1402542223, 1402542216, 1402542209, 1402542184, 1402542183, 1402542109, 1402542108, 1402542105, 1402542100, 1402542082, 1402542079, 1402542075, 1402541975, 1402541968, 1402541955, 1402541947, 1402541868, 1402541866, 1402541864, 1402541862, 1402541839, 1402541836, 1402541753, 1402541549, 1402541548, 1402541547, 1402541431, 1402541158, 1402541157]} final : True mtd_id 4302 list_pids : [1402542225, 1402542223, 1402542216, 1402542209, 1402542184, 1402542183, 1402542109, 1402542108, 1402542105, 1402542100, 1402542082, 1402542079, 1402542075, 1402541975, 1402541968, 1402541955, 1402541947, 1402541868, 1402541866, 1402541864, 1402541862, 1402541839, 1402541836, 1402541753, 1402541549, 1402541548, 1402541547, 1402541431, 1402541158, 1402541157] Looping around the photos to save general results len do output : 1 /29963903Didn'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, '4315840') ('4302', '29963903', '1402542225', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542223', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542216', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542209', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542184', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542183', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542109', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542108', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542105', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542100', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542082', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542079', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402542075', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541975', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541968', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541955', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541947', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541868', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541866', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541864', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541862', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541839', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541836', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541753', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541549', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541548', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541547', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541431', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541158', None, None, None, None, None, '4315840') ('4302', None, None, None, None, None, None, None, '4315840') ('4302', '29963903', '1402541157', None, None, None, None, None, '4315840') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 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, '29963903', 'None', None, None, None, None, '4315840'), ('4302', '29963903', '1402542225', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542223', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542216', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542209', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542184', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542183', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542109', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542108', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542105', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542100', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542082', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542079', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402542075', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541975', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541968', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541955', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541947', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541868', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541866', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541864', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541862', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541839', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541836', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541753', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541549', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541548', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541547', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541431', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541158', None, None, None, None, None, '4315840'), ('4302', '29963903', '1402541157', None, None, None, None, None, '4315840')] time used for this insertion : 0.020189762115478516 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.632037401199341 time spend to save output : 0.020506620407104492 total time spend for step 5 : 5.652544021606445 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 (4315840) 2.76user 2.50system 0:14.45elapsed 36%CPU (0avgtext+0avgdata 168016maxresident)k 832inputs+19328outputs (18major+81983minor)pagefaults 0swaps