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 : 207478 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 (4325388) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4325388) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30015792 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4325388'] with mtr_portfolio_ids : ['30015792'] and first list_photo_ids : [] new path : /proc/207478/ Name: python3 Umask: 0002 State: R (running) Tgid: 207478 Ngid: 0 Pid: 207478 PPid: 207477 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 207478 NSpid: 207478 NSpgid: 206463 NSsid: 206463 VmPeak: 1113364 kB VmSize: 1113364 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 104172 kB VmRSS: 104172 kB RssAnon: 66292 kB RssFile: 37880 kB RssShmem: 0 kB VmData: 872092 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 608 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: 89 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '207478', 'Ngid': '0', 'Pid': '207478', 'PPid': '207477', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '207478', 'NSpid': '207478', 'NSpgid': '206463', 'NSsid': '206463', 'VmPeak': '1113364 kB', 'VmSize': '1113364 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '104172 kB', 'VmRSS': '104172 kB', 'RssAnon': '66292 kB', 'RssFile': '37880 kB', 'RssShmem': '0 kB', 'VmData': '872092 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '608 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': '89'} ('datou_batch_current', '207478', '1113364', '0', '1113364', '872092', '104172', b'', 'marlene', '4325388') 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 (30015792) 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 (4325388 ) ) 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 (30015792) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1402789780, 'portfolio_id': 30015792}, {'photo_id': 1402789413, 'portfolio_id': 30015792}, {'photo_id': 1402789410, 'portfolio_id': 30015792}, {'photo_id': 1402789408, 'portfolio_id': 30015792}, {'photo_id': 1402789395, 'portfolio_id': 30015792}, {'photo_id': 1402789391, 'portfolio_id': 30015792}, {'photo_id': 1402789388, 'portfolio_id': 30015792}, {'photo_id': 1402789386, 'portfolio_id': 30015792}, {'photo_id': 1402789384, 'portfolio_id': 30015792}, {'photo_id': 1402789382, 'portfolio_id': 30015792}, {'photo_id': 1402789365, 'portfolio_id': 30015792}, {'photo_id': 1402789362, 'portfolio_id': 30015792}, {'photo_id': 1402789360, 'portfolio_id': 30015792}, {'photo_id': 1402789358, 'portfolio_id': 30015792}, {'photo_id': 1402789357, 'portfolio_id': 30015792}, {'photo_id': 1402789295, 'portfolio_id': 30015792}, {'photo_id': 1402789281, 'portfolio_id': 30015792}, {'photo_id': 1402789184, 'portfolio_id': 30015792}, {'photo_id': 1402789182, 'portfolio_id': 30015792}, {'photo_id': 1402789035, 'portfolio_id': 30015792}, {'photo_id': 1402789001, 'portfolio_id': 30015792}, {'photo_id': 1402788482, 'portfolio_id': 30015792}, {'photo_id': 1402788481, 'portfolio_id': 30015792}, {'photo_id': 1402788479, 'portfolio_id': 30015792}, {'photo_id': 1402788477, 'portfolio_id': 30015792}, {'photo_id': 1402788437, 'portfolio_id': 30015792}, {'photo_id': 1402788435, 'portfolio_id': 30015792}, {'photo_id': 1402788417, 'portfolio_id': 30015792}, {'photo_id': 1402788415, 'portfolio_id': 30015792}, {'photo_id': 1402788412, 'portfolio_id': 30015792}] map_portfolio_id_photo_id: {30015792: [1402789780, 1402789413, 1402789410, 1402789408, 1402789395, 1402789391, 1402789388, 1402789386, 1402789384, 1402789382, 1402789365, 1402789362, 1402789360, 1402789358, 1402789357, 1402789295, 1402789281, 1402789184, 1402789182, 1402789035, 1402789001, 1402788482, 1402788481, 1402788479, 1402788477, 1402788437, 1402788435, 1402788417, 1402788415, 1402788412]} ##### 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.018219709396362305 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Jan 8 05:49:58 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 (30015792) 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 : 30015792 get user id for portfolio 30015792 get sub ptf for main ptf 30015792, type 3726 and hashtags ['kraft', 'flou', 'Carton_brun', 'plastique', 'autre_refus', 'mal_croppe', 'environnement', 'cartonnette', 'Teint_Dans_La_Masse', 'papier', 'Carton_gris', 'metal'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30015792 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','flou','Carton_brun','plastique','autre_refus','mal_croppe','environnement','cartonnette','Teint_Dans_La_Masse','papier','Carton_gris','metal')) 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`=30015792 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','flou','Carton_brun','plastique','autre_refus','mal_croppe','environnement','cartonnette','Teint_Dans_La_Masse','papier','Carton_gris','metal')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 30015792, 'sub_port_id': 30015802, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543191, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 57)}, 'autre_refus': {'main_port_id': 30015792, 'sub_port_id': 30015803, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543192, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 57)}, 'metal': {'main_port_id': 30015792, 'sub_port_id': 30015804, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543193, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 30015792, 'sub_port_id': 30015805, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543194, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 57)}, 'Carton_brun': {'main_port_id': 30015792, 'sub_port_id': 30015806, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543195, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 57)}, 'environnement': {'main_port_id': 30015792, 'sub_port_id': 30015807, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543196, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 57)}, 'kraft': {'main_port_id': 30015792, 'sub_port_id': 30015808, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543197, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 57)}, 'papier': {'main_port_id': 30015792, 'sub_port_id': 30015809, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543198, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 57)}, 'mal_croppe': {'main_port_id': 30015792, 'sub_port_id': 30015810, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543199, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 57)}, 'Carton_gris': {'main_port_id': 30015792, 'sub_port_id': 30015811, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543200, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 57)}, 'cartonnette': {'main_port_id': 30015792, 'sub_port_id': 30015812, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543201, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 57)}, 'plastique': {'main_port_id': 30015792, 'sub_port_id': 30015813, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543202, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30015802 , 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=30015792 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 (30015802) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30015792) result : ((1402788412,), (1402788415,), (1402788417,), (1402788435,), (1402788437,), (1402788477,), (1402788479,), (1402788481,), (1402788482,), (1402789001,), (1402789035,), (1402789182,), (1402789184,), (1402789281,), (1402789295,), (1402789357,), (1402789358,), (1402789360,), (1402789362,), (1402789365,), (1402789382,), (1402789384,), (1402789386,), (1402789388,), (1402789391,), (1402789395,), (1402789408,), (1402789410,), (1402789413,), (1402789780,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30015803 , 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=30015792 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 (30015803) result : ((1402789533,), (1402790652,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30015792) result : ((1402788412,), (1402788415,), (1402788417,), (1402788435,), (1402788437,), (1402788477,), (1402788479,), (1402788481,), (1402788482,), (1402789001,), (1402789035,), (1402789182,), (1402789184,), (1402789281,), (1402789295,), (1402789357,), (1402789358,), (1402789360,), (1402789362,), (1402789365,), (1402789382,), (1402789384,), (1402789386,), (1402789388,), (1402789391,), (1402789395,), (1402789408,), (1402789410,), (1402789413,), (1402789780,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30015804 , 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=30015792 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 (30015804) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30015792) result : ((1402788412,), (1402788415,), (1402788417,), (1402788435,), (1402788437,), (1402788477,), (1402788479,), (1402788481,), (1402788482,), (1402789001,), (1402789035,), (1402789182,), (1402789184,), (1402789281,), (1402789295,), (1402789357,), (1402789358,), (1402789360,), (1402789362,), (1402789365,), (1402789382,), (1402789384,), (1402789386,), (1402789388,), (1402789391,), (1402789395,), (1402789408,), (1402789410,), (1402789413,), (1402789780,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30015805 , 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=30015792 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 (30015805) result : ((1402788492,), (1402788493,), (1402788494,), (1402788916,), (1402789370,), (1402789425,), (1402789426,), (1402789427,), (1402789518,), (1402789520,), (1402789522,), (1402789524,), (1402790641,), (1402790643,), (1402790943,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30015792) result : ((1402788412,), (1402788415,), (1402788417,), (1402788435,), (1402788437,), (1402788477,), (1402788479,), (1402788481,), (1402788482,), (1402789001,), (1402789035,), (1402789182,), (1402789184,), (1402789281,), (1402789295,), (1402789357,), (1402789358,), (1402789360,), (1402789362,), (1402789365,), (1402789382,), (1402789384,), (1402789386,), (1402789388,), (1402789391,), (1402789395,), (1402789408,), (1402789410,), (1402789413,), (1402789780,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30015806 , 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=30015792 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 (30015806) result : ((1402788497,), (1402788498,), (1402788918,), (1402788919,), (1402788960,), (1402789431,), (1402789551,), (1402790685,), (1402790960,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30015792) result : ((1402788412,), (1402788415,), (1402788417,), (1402788435,), (1402788437,), (1402788477,), (1402788479,), (1402788481,), (1402788482,), (1402789001,), (1402789035,), (1402789182,), (1402789184,), (1402789281,), (1402789295,), (1402789357,), (1402789358,), (1402789360,), (1402789362,), (1402789365,), (1402789382,), (1402789384,), (1402789386,), (1402789388,), (1402789391,), (1402789395,), (1402789408,), (1402789410,), (1402789413,), (1402789780,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30015807 , 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=30015792 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 (30015807) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30015792) result : ((1402788412,), (1402788415,), (1402788417,), (1402788435,), (1402788437,), (1402788477,), (1402788479,), (1402788481,), (1402788482,), (1402789001,), (1402789035,), (1402789182,), (1402789184,), (1402789281,), (1402789295,), (1402789357,), (1402789358,), (1402789360,), (1402789362,), (1402789365,), (1402789382,), (1402789384,), (1402789386,), (1402789388,), (1402789391,), (1402789395,), (1402789408,), (1402789410,), (1402789413,), (1402789780,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30015808 , 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=30015792 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 (30015808) result : ((1402790990,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30015792) result : ((1402788412,), (1402788415,), (1402788417,), (1402788435,), (1402788437,), (1402788477,), (1402788479,), (1402788481,), (1402788482,), (1402789001,), (1402789035,), (1402789182,), (1402789184,), (1402789281,), (1402789295,), (1402789357,), (1402789358,), (1402789360,), (1402789362,), (1402789365,), (1402789382,), (1402789384,), (1402789386,), (1402789388,), (1402789391,), (1402789395,), (1402789408,), (1402789410,), (1402789413,), (1402789780,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30015809 , 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=30015792 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 (30015809) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30015792) result : ((1402788412,), (1402788415,), (1402788417,), (1402788435,), (1402788437,), (1402788477,), (1402788479,), (1402788481,), (1402788482,), (1402789001,), (1402789035,), (1402789182,), (1402789184,), (1402789281,), (1402789295,), (1402789357,), (1402789358,), (1402789360,), (1402789362,), (1402789365,), (1402789382,), (1402789384,), (1402789386,), (1402789388,), (1402789391,), (1402789395,), (1402789408,), (1402789410,), (1402789413,), (1402789780,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30015810 , 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=30015792 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 (30015810) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30015792) result : ((1402788412,), (1402788415,), (1402788417,), (1402788435,), (1402788437,), (1402788477,), (1402788479,), (1402788481,), (1402788482,), (1402789001,), (1402789035,), (1402789182,), (1402789184,), (1402789281,), (1402789295,), (1402789357,), (1402789358,), (1402789360,), (1402789362,), (1402789365,), (1402789382,), (1402789384,), (1402789386,), (1402789388,), (1402789391,), (1402789395,), (1402789408,), (1402789410,), (1402789413,), (1402789780,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30015811 , 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=30015792 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 (30015811) result : ((1402788952,), (1402788954,), (1402789543,), (1402790662,), (1402790664,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30015792) result : ((1402788412,), (1402788415,), (1402788417,), (1402788435,), (1402788437,), (1402788477,), (1402788479,), (1402788481,), (1402788482,), (1402789001,), (1402789035,), (1402789182,), (1402789184,), (1402789281,), (1402789295,), (1402789357,), (1402789358,), (1402789360,), (1402789362,), (1402789365,), (1402789382,), (1402789384,), (1402789386,), (1402789388,), (1402789391,), (1402789395,), (1402789408,), (1402789410,), (1402789413,), (1402789780,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30015812 , 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=30015792 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 (30015812) result : ((1402788495,), (1402788958,), (1402788959,), (1402789372,), (1402789428,), (1402789429,), (1402789430,), (1402790362,), (1402790674,), (1402790676,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30015792) result : ((1402788412,), (1402788415,), (1402788417,), (1402788435,), (1402788437,), (1402788477,), (1402788479,), (1402788481,), (1402788482,), (1402789001,), (1402789035,), (1402789182,), (1402789184,), (1402789281,), (1402789295,), (1402789357,), (1402789358,), (1402789360,), (1402789362,), (1402789365,), (1402789382,), (1402789384,), (1402789386,), (1402789388,), (1402789391,), (1402789395,), (1402789408,), (1402789410,), (1402789413,), (1402789780,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30015813 , 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=30015792 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 (30015813) result : ((1402789433,), (1402790702,), (1402790704,), (1402790975,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30015792) result : ((1402788412,), (1402788415,), (1402788417,), (1402788435,), (1402788437,), (1402788477,), (1402788479,), (1402788481,), (1402788482,), (1402789001,), (1402789035,), (1402789182,), (1402789184,), (1402789281,), (1402789295,), (1402789357,), (1402789358,), (1402789360,), (1402789362,), (1402789365,), (1402789382,), (1402789384,), (1402789386,), (1402789388,), (1402789391,), (1402789395,), (1402789408,), (1402789410,), (1402789413,), (1402789780,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30015792 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','flou','Carton_brun','plastique','autre_refus','mal_croppe','environnement','cartonnette','Teint_Dans_La_Masse','papier','Carton_gris','metal')) 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`=30015792 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','flou','Carton_brun','plastique','autre_refus','mal_croppe','environnement','cartonnette','Teint_Dans_La_Masse','papier','Carton_gris','metal')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 30015792, 'sub_port_id': 30015814, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543203, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 59)}, 'autre_refus': {'main_port_id': 30015792, 'sub_port_id': 30015815, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543204, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 59)}, 'metal': {'main_port_id': 30015792, 'sub_port_id': 30015816, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543205, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 30015792, 'sub_port_id': 30015817, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543206, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 59)}, 'Carton_brun': {'main_port_id': 30015792, 'sub_port_id': 30015818, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543207, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 59)}, 'environnement': {'main_port_id': 30015792, 'sub_port_id': 30015819, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543208, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 59)}, 'kraft': {'main_port_id': 30015792, 'sub_port_id': 30015820, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543209, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 59)}, 'papier': {'main_port_id': 30015792, 'sub_port_id': 30015821, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543210, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 59)}, 'mal_croppe': {'main_port_id': 30015792, 'sub_port_id': 30015822, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543211, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 59)}, 'Carton_gris': {'main_port_id': 30015792, 'sub_port_id': 30015823, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543212, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 59)}, 'cartonnette': {'main_port_id': 30015792, 'sub_port_id': 30015824, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543213, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 6, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 59)}, 'plastique': {'main_port_id': 30015792, 'sub_port_id': 30015825, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20543214, 'last_updated_at': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_desc': datetime.datetime(2026, 1, 7, 14, 18, 57), 'last_updated_at_asc': datetime.datetime(2026, 1, 7, 14, 6, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30015814,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30015802 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30015815,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30015803 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30015816,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30015804 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30015817,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30015805 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30015818,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30015806 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30015819,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30015807 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30015820,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30015808 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30015821,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30015809 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30015822,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30015810 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30015823,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30015811 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30015824,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30015812 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30015825,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30015813 lien utilise dans velours : https://marlene.fotonower.com/velours/30015814,30015815,30015816,30015817,30015818,30015819,30015820,30015821,30015822,30015823,30015824,30015825?tags=flou,autre_refus,metal,Teint_Dans_La_Masse,Carton_brun,environnement,kraft,papier,mal_croppe,Carton_gris,cartonnette,plastique After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([30015792]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1402789780, 1402789413, 1402789410, 1402789408, 1402789395, 1402789391, 1402789388, 1402789386, 1402789384, 1402789382, 1402789365, 1402789362, 1402789360, 1402789358, 1402789357, 1402789295, 1402789281, 1402789184, 1402789182, 1402789035, 1402789001, 1402788482, 1402788481, 1402788479, 1402788477, 1402788437, 1402788435, 1402788417, 1402788415, 1402788412] map_info['map_portfolio_photo'] : {30015792: [1402789780, 1402789413, 1402789410, 1402789408, 1402789395, 1402789391, 1402789388, 1402789386, 1402789384, 1402789382, 1402789365, 1402789362, 1402789360, 1402789358, 1402789357, 1402789295, 1402789281, 1402789184, 1402789182, 1402789035, 1402789001, 1402788482, 1402788481, 1402788479, 1402788477, 1402788437, 1402788435, 1402788417, 1402788415, 1402788412]} final : False mtd_id 4302 list_pids : [1402789780, 1402789413, 1402789410, 1402789408, 1402789395, 1402789391, 1402789388, 1402789386, 1402789384, 1402789382, 1402789365, 1402789362, 1402789360, 1402789358, 1402789357, 1402789295, 1402789281, 1402789184, 1402789182, 1402789035, 1402789001, 1402788482, 1402788481, 1402788479, 1402788477, 1402788437, 1402788435, 1402788417, 1402788415, 1402788412] Looping around the photos to save general results len do output : 1 /30015792. 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, '4325388') ('4302', '30015792', '1402789780', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789413', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789410', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789408', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789395', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789391', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789388', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789386', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789384', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789382', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789365', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789362', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789360', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789358', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789357', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789295', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789281', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789184', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789182', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789035', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789001', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788482', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788481', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788479', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788477', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788437', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788435', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788417', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788415', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788412', None, None, None, None, None, '4325388') 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, '30015792', "{'flou': 30015802, 'autre_refus': 30015803, 'metal': 30015804, 'Teint_Dans_La_Masse': 30015805, 'Carton_brun': 30015806, 'environnement': 30015807, 'kraft': 30015808, 'papier': 30015809, 'mal_croppe': 30015810, 'Carton_gris': 30015811, 'cartonnette': 30015812, 'plastique': 30015813}", None, None, None, None, '4325388'), ('4302', '30015792', '1402789780', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789413', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789410', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789408', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789395', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789391', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789388', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789386', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789384', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789382', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789365', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789362', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789360', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789358', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789357', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789295', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789281', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789184', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789182', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789035', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789001', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788482', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788481', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788479', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788477', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788437', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788435', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788417', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788415', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788412', None, None, None, None, None, '4325388')] time used for this insertion : 0.023683786392211914 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8583428859710693 time spend to save output : 0.024069786071777344 total time spend for step 1 : 1.8824126720428467 step2:final Thu Jan 8 05:50:00 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 (30015792) 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 30015792 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1402788417,1402788415,1402788412,1402788437,1402788435,1402788482,1402788481,1402788479,1402788477,1402789035,1402789001,1402789184,1402789182,1402789295,1402789281,1402789365,1402789362,1402789360,1402789358,1402789357,1402789395,1402789391,1402789388,1402789386,1402789384,1402789382,1402789413,1402789410,1402789408,1402789780); 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([30015792]) Inside saveOutput : final : False verbose : True original output for save of step final : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} new output for save of step final : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} [1402789780, 1402789413, 1402789410, 1402789408, 1402789395, 1402789391, 1402789388, 1402789386, 1402789384, 1402789382, 1402789365, 1402789362, 1402789360, 1402789358, 1402789357, 1402789295, 1402789281, 1402789184, 1402789182, 1402789035, 1402789001, 1402788482, 1402788481, 1402788479, 1402788477, 1402788437, 1402788435, 1402788417, 1402788415, 1402788412] map_info['map_portfolio_photo'] : {30015792: [1402789780, 1402789413, 1402789410, 1402789408, 1402789395, 1402789391, 1402789388, 1402789386, 1402789384, 1402789382, 1402789365, 1402789362, 1402789360, 1402789358, 1402789357, 1402789295, 1402789281, 1402789184, 1402789182, 1402789035, 1402789001, 1402788482, 1402788481, 1402788479, 1402788477, 1402788437, 1402788435, 1402788417, 1402788415, 1402788412]} final : False mtd_id 4302 list_pids : [1402789780, 1402789413, 1402789410, 1402789408, 1402789395, 1402789391, 1402789388, 1402789386, 1402789384, 1402789382, 1402789365, 1402789362, 1402789360, 1402789358, 1402789357, 1402789295, 1402789281, 1402789184, 1402789182, 1402789035, 1402789001, 1402788482, 1402788481, 1402788479, 1402788477, 1402788437, 1402788435, 1402788417, 1402788415, 1402788412] Looping around the photos to save general results len do output : 30 /1402789780.Didn't retrieve data . /1402789413.Didn't retrieve data . /1402789410.Didn't retrieve data . /1402789408.Didn't retrieve data . /1402789395.Didn't retrieve data . /1402789391.Didn't retrieve data . /1402789388.Didn't retrieve data . /1402789386.Didn't retrieve data . /1402789384.Didn't retrieve data . /1402789382.Didn't retrieve data . /1402789365.Didn't retrieve data . /1402789362.Didn't retrieve data . /1402789360.Didn't retrieve data . /1402789358.Didn't retrieve data . /1402789357.Didn't retrieve data . /1402789295.Didn't retrieve data . /1402789281.Didn't retrieve data . /1402789184.Didn't retrieve data . /1402789182.Didn't retrieve data . /1402789035.Didn't retrieve data . /1402789001.Didn't retrieve data . /1402788482.Didn't retrieve data . /1402788481.Didn't retrieve data . /1402788479.Didn't retrieve data . /1402788477.Didn't retrieve data . /1402788437.Didn't retrieve data . /1402788435.Didn't retrieve data . /1402788417.Didn't retrieve data . /1402788415.Didn't retrieve data . /1402788412.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, '4325388') ('4302', '30015792', '1402789780', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789413', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789410', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789408', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789395', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789391', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789388', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789386', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789384', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789382', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789365', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789362', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789360', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789358', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789357', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789295', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789281', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789184', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789182', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789035', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789001', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788482', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788481', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788479', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788477', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788437', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788435', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788417', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788415', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788412', None, None, None, None, None, '4325388') 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', '30015792', '1402789780', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402789413', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402789410', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402789408', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402789395', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402789391', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402789388', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402789386', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402789384', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402789382', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402789365', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402789362', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402789360', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402789358', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402789357', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402789295', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402789281', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402789184', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402789182', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402789035', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402789001', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402788482', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402788481', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402788479', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402788477', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402788437', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402788435', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402788417', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402788415', '0.045224672050987805', None, None, None, None, '4325388'), ('4302', '30015792', '1402788412', '0.045224672050987805', None, None, None, None, '4325388')] time used for this insertion : 0.02303004264831543 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08197236061096191 time spend to save output : 0.0242156982421875 total time spend for step 2 : 0.10618805885314941 step3:velours_tree Thu Jan 8 05:50:00 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 : {30015792: [{'flou': 30015802, 'autre_refus': 30015803, 'metal': 30015804, 'Teint_Dans_La_Masse': 30015805, 'Carton_brun': 30015806, 'environnement': 30015807, 'kraft': 30015808, 'papier': 30015809, 'mal_croppe': 30015810, 'Carton_gris': 30015811, 'cartonnette': 30015812, 'plastique': 30015813}]} input_args_next_step : {30015792: ()} output_args : {30015792: [{'flou': 30015802, 'autre_refus': 30015803, 'metal': 30015804, 'Teint_Dans_La_Masse': 30015805, 'Carton_brun': 30015806, 'environnement': 30015807, 'kraft': 30015808, 'papier': 30015809, 'mal_croppe': 30015810, 'Carton_gris': 30015811, 'cartonnette': 30015812, 'plastique': 30015813}]} args : 30015792 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 : ({'flou': 30015802, 'autre_refus': 30015803, 'metal': 30015804, 'Teint_Dans_La_Masse': 30015805, 'Carton_brun': 30015806, 'environnement': 30015807, 'kraft': 30015808, 'papier': 30015809, 'mal_croppe': 30015810, 'Carton_gris': 30015811, 'cartonnette': 30015812, 'plastique': 30015813},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (30015792) 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([30015792]) 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.2395470142364502 time spend to save output : 4.649162292480469e-05 total time spend for step 3 : 0.239593505859375 step4:send_mail_cod Thu Jan 8 05:50:00 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 : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} input_args_next_step : {1402789780: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789780 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789413 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789410 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789408 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789395 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789391 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789388 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789386 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789384 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789382 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789365 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789362 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789360 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789358 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789357 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789295 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789281 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789184 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789182 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789035 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402789001 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402788482 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402788481 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402788479 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402788477 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402788437 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402788435 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402788417 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402788415 depend.output_id : 0 input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ()} output_args : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',)} args : 1402788412 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 : {30015792: [{'flou': 30015802, 'autre_refus': 30015803, 'metal': 30015804, 'Teint_Dans_La_Masse': 30015805, 'Carton_brun': 30015806, 'environnement': 30015807, 'kraft': 30015808, 'papier': 30015809, 'mal_croppe': 30015810, 'Carton_gris': 30015811, 'cartonnette': 30015812, 'plastique': 30015813}]} input_args_next_step : {1402789780: ('0.045224672050987805',), 1402789413: ('0.045224672050987805',), 1402789410: ('0.045224672050987805',), 1402789408: ('0.045224672050987805',), 1402789395: ('0.045224672050987805',), 1402789391: ('0.045224672050987805',), 1402789388: ('0.045224672050987805',), 1402789386: ('0.045224672050987805',), 1402789384: ('0.045224672050987805',), 1402789382: ('0.045224672050987805',), 1402789365: ('0.045224672050987805',), 1402789362: ('0.045224672050987805',), 1402789360: ('0.045224672050987805',), 1402789358: ('0.045224672050987805',), 1402789357: ('0.045224672050987805',), 1402789295: ('0.045224672050987805',), 1402789281: ('0.045224672050987805',), 1402789184: ('0.045224672050987805',), 1402789182: ('0.045224672050987805',), 1402789035: ('0.045224672050987805',), 1402789001: ('0.045224672050987805',), 1402788482: ('0.045224672050987805',), 1402788481: ('0.045224672050987805',), 1402788479: ('0.045224672050987805',), 1402788477: ('0.045224672050987805',), 1402788437: ('0.045224672050987805',), 1402788435: ('0.045224672050987805',), 1402788417: ('0.045224672050987805',), 1402788415: ('0.045224672050987805',), 1402788412: ('0.045224672050987805',), 30015792: ()} output_args : {30015792: [{'flou': 30015802, 'autre_refus': 30015803, 'metal': 30015804, 'Teint_Dans_La_Masse': 30015805, 'Carton_brun': 30015806, 'environnement': 30015807, 'kraft': 30015808, 'papier': 30015809, 'mal_croppe': 30015810, 'Carton_gris': 30015811, 'cartonnette': 30015812, 'plastique': 30015813}]} args : 30015792 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.045224672050987805',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (30015792) 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 (1402789780,1402789413,1402789410,1402789408,1402789395,1402789391,1402789388,1402789386,1402789384,1402789382,1402789365,1402789362,1402789360,1402789358,1402789357,1402789295,1402789281,1402789184,1402789182,1402789035,1402789001,1402788482,1402788481,1402788479,1402788477,1402788437,1402788435,1402788417,1402788415,1402788412) Found this number of photos: 30 ##### Call download_photos : nb_thread : 5 begin to download photo : 1402788412 begin to download photo : 1402788481 begin to download photo : 1402789295 begin to download photo : 1402789384 begin to download photo : 1402789413 download finish for photo 1402788481 begin to download photo : 1402788482 download finish for photo 1402789413 begin to download photo : 1402789780 download finish for photo 1402789295 begin to download photo : 1402789357 download finish for photo 1402789384 begin to download photo : 1402789386 download finish for photo 1402788412 begin to download photo : 1402788415 download finish for photo 1402788482 begin to download photo : 1402789001 download finish for photo 1402789780 download finish for photo 1402789386 begin to download photo : 1402789388 download finish for photo 1402789357 begin to download photo : 1402789358 download finish for photo 1402788415 begin to download photo : 1402788417 download finish for photo 1402789001 begin to download photo : 1402789035 download finish for photo 1402789388 begin to download photo : 1402789391 download finish for photo 1402788417 begin to download photo : 1402788435 download finish for photo 1402789358 begin to download photo : 1402789360 download finish for photo 1402789035 begin to download photo : 1402789182 download finish for photo 1402789391 begin to download photo : 1402789395 download finish for photo 1402788435 begin to download photo : 1402788437 download finish for photo 1402789360 begin to download photo : 1402789362 download finish for photo 1402789182 begin to download photo : 1402789184 download finish for photo 1402789395 begin to download photo : 1402789408 download finish for photo 1402788437 begin to download photo : 1402788477 download finish for photo 1402789362 begin to download photo : 1402789365 download finish for photo 1402789184 begin to download photo : 1402789281 download finish for photo 1402788477 begin to download photo : 1402788479 download finish for photo 1402789408 begin to download photo : 1402789410 download finish for photo 1402789365 begin to download photo : 1402789382 download finish for photo 1402789281 download finish for photo 1402788479 download finish for photo 1402789410 download finish for photo 1402789382 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette300158021767847801/ length of list_filenames : 30 ; length of list_pids : 30 ; length of list_args : 30 results_Auto_P30015792_08-01-2026_05_50_01.pdf 30015802 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=30015802 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette300158021767847801 30015803 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=30015803 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402789533: '1767791725_3140037_1402789362_170e6a30374fdef3c652bbe11ad552f7_rle_crop_4092627398_0.png', 1402790652: '1767791845_3147647_1402789391_1a98b84437d40e06acf3ab6fc623842b_rle_crop_4092630417_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/331e062bb069a112fec1f5758d1debc4_7321170.png change filename to text .imagette300158031767847801/ imagette300158031767847801/1767791845_3147647_1402789391_1a98b84437d40e06acf3ab6fc623842b_rle_crop_4092630417_0.png.png imagette300158031767847801/1767791725_3140037_1402789362_170e6a30374fdef3c652bbe11ad552f7_rle_crop_4092627398_0.png.png imagette300158041767847802/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/5b02164fb21f38854abbb32f2d875a8f_71434031.png imagette300158031767847801 30015804 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=30015804 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette300158041767847802 30015808 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=30015808 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402790990: '1767791968_3154391_1402789780_5be66a32c19babec13d786364a302a2b_rle_crop_4092631154_0.png'} change filename to text .imagette300158081767847802/ imagette300158081767847802/1767791968_3154391_1402789780_5be66a32c19babec13d786364a302a2b_rle_crop_4092631154_0.png.png imagette300158101767847802/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/d199a87a356e477083c509d23dcbd7de_74877955.png imagette300158081767847802 30015810 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=30015810 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette300158101767847802 30015812 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=30015812 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402788495: '1767791225_3119202_1402788437_68569536769427dc087ab3588792c697_rle_crop_4092616389_0.png', 1402788958: '1767791365_3123606_1402788482_eeee4f23643f16c21119a13a6dd17bdf_rle_crop_4092619804_0.png', 1402788959: '1767791365_3123606_1402788482_eeee4f23643f16c21119a13a6dd17bdf_rle_crop_4092619805_0.png', 1402789372: '1767791586_3134080_1402789295_34a121c21bcc905c834fcf6b4b59b849_rle_crop_4092622566_0.png', 1402789428: '1767791707_3139671_1402789281_1b3540c7c3cffae64def0f803a196da5_rle_crop_4092627140_0.png', 1402789429: '1767791707_3139671_1402789281_1b3540c7c3cffae64def0f803a196da5_rle_crop_4092627135_0.png', 1402789430: '1767791707_3139671_1402789281_1b3540c7c3cffae64def0f803a196da5_rle_crop_4092627137_0.png', 1402790362: '1767791825_3147239_1402789408_f2c72877d1ef265505e5c9089df99e02_rle_crop_4092630223_0.png', 1402790674: '1767791845_3147647_1402789391_1a98b84437d40e06acf3ab6fc623842b_rle_crop_4092630418_0.png', 1402790676: '1767791845_3147647_1402789388_7bd9bf9fe56df3ea9a9c02e438847a3b_rle_crop_4092630430_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/ca6e1649fab70b1246f394688d5cfa2c_34600302.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/ba9f489ef5227300202704162252d808_93169699.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/7a4e59e2df90921d1b5589dbe578a67b_75846300.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/38f0cf7c9a1b3bcaf74f1f1181f1f4b5_16715535.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/82cb3b4585f27323c8c2ed10e5dbc6fe_51563513.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/3bc5a2d473cf5487f5fed2662d7fc112_23437030.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/d899ca61dc815ccfe0622a273e4a2f40_89763683.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/8e937567e5f4778aacc5ab39de6a2dc9_40076442.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/127af7051b1dee17ce7d701045b4ff5d_34479595.png change filename to text .imagette300158121767847802/ imagette300158121767847802/1767791707_3139671_1402789281_1b3540c7c3cffae64def0f803a196da5_rle_crop_4092627135_0.png.png imagette300158121767847802/1767791845_3147647_1402789388_7bd9bf9fe56df3ea9a9c02e438847a3b_rle_crop_4092630430_0.png.png imagette300158121767847802/1767791707_3139671_1402789281_1b3540c7c3cffae64def0f803a196da5_rle_crop_4092627137_0.png.png imagette300158121767847802/1767791707_3139671_1402789281_1b3540c7c3cffae64def0f803a196da5_rle_crop_4092627140_0.png.png imagette300158121767847802/1767791825_3147239_1402789408_f2c72877d1ef265505e5c9089df99e02_rle_crop_4092630223_0.png.png imagette300158121767847802/1767791365_3123606_1402788482_eeee4f23643f16c21119a13a6dd17bdf_rle_crop_4092619804_0.png.png imagette300158121767847802/1767791225_3119202_1402788437_68569536769427dc087ab3588792c697_rle_crop_4092616389_0.png.png imagette300158121767847802/1767791845_3147647_1402789391_1a98b84437d40e06acf3ab6fc623842b_rle_crop_4092630418_0.png.png imagette300158121767847802/1767791365_3123606_1402788482_eeee4f23643f16c21119a13a6dd17bdf_rle_crop_4092619805_0.png.png imagette300158121767847802/1767791586_3134080_1402789295_34a121c21bcc905c834fcf6b4b59b849_rle_crop_4092622566_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/4b3af80b115f927d60730f21dd6de618_66038521.png imagette300158121767847802 30015813 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=30015813 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402789433: '1767791707_3139671_1402789365_94a838852c5828d1eb6ed60325ff6131_rle_crop_4092627128_0.png', 1402790702: '1767791845_3147647_1402789384_1b1c9e7c71333744f1e173ba2a5f2615_rle_crop_4092630460_0.png', 1402790704: '1767791845_3147647_1402789384_1b1c9e7c71333744f1e173ba2a5f2615_rle_crop_4092630464_0.png', 1402790975: '1767791968_3154391_1402789780_5be66a32c19babec13d786364a302a2b_rle_crop_4092631157_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/f8c8b69bd0ba2b9a8fb46581f08a4585_47482748.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/f2b5fb017c91c758495968809edee9b1_17253473.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/0145889a35275714f8e7ecab5ada0d79_46229535.png change filename to text .imagette300158131767847803/ imagette300158131767847803/1767791845_3147647_1402789384_1b1c9e7c71333744f1e173ba2a5f2615_rle_crop_4092630460_0.png.png imagette300158131767847803/1767791968_3154391_1402789780_5be66a32c19babec13d786364a302a2b_rle_crop_4092631157_0.png.png imagette300158131767847803/1767791845_3147647_1402789384_1b1c9e7c71333744f1e173ba2a5f2615_rle_crop_4092630464_0.png.png imagette300158131767847803/1767791707_3139671_1402789365_94a838852c5828d1eb6ed60325ff6131_rle_crop_4092627128_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/06944909743bbfb22140d6058d96f007_64874690.png imagette300158131767847803 30015805 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=30015805 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402788492: '1767791225_3119202_1402788437_68569536769427dc087ab3588792c697_rle_crop_4092616397_0.png', 1402788493: '1767791225_3119202_1402788415_48011119255fafed20197a84357c7b0d_rle_crop_4092616756_0.png', 1402788494: '1767791225_3119202_1402788412_0dd349a0872fc80f1ee5a203bf36de83_rle_crop_4092616768_0.png', 1402788916: '1767791344_3123113_1402788481_0dfbb189233f8e9f3de93c368801f886_rle_crop_4092619672_0.png', 1402789370: '1767791586_3134080_1402789295_34a121c21bcc905c834fcf6b4b59b849_rle_crop_4092622571_0.png', 1402789425: '1767791707_3139671_1402789365_94a838852c5828d1eb6ed60325ff6131_rle_crop_4092627131_0.png', 1402789426: '1767791707_3139671_1402789281_1b3540c7c3cffae64def0f803a196da5_rle_crop_4092627144_0.png', 1402789427: '1767791707_3139671_1402789281_1b3540c7c3cffae64def0f803a196da5_rle_crop_4092627142_0.png', 1402789518: '1767791725_3140037_1402789360_533d63136fe62cc40a823f66e3117692_rle_crop_4092627410_0.png', 1402789520: '1767791725_3140037_1402789360_533d63136fe62cc40a823f66e3117692_rle_crop_4092627415_0.png', 1402789522: '1767791725_3140037_1402789358_26c96cb4420997232f3d2eacaaa792f6_rle_crop_4092627476_0.png', 1402789524: '1767791725_3140037_1402789358_26c96cb4420997232f3d2eacaaa792f6_rle_crop_4092627474_0.png', 1402790641: '1767791845_3147647_1402789386_fae45686940a58a659cf2a240def4b71_rle_crop_4092630450_0.png', 1402790643: '1767791845_3147647_1402789384_1b1c9e7c71333744f1e173ba2a5f2615_rle_crop_4092630466_0.png', 1402790943: '1767791968_3154391_1402789780_5be66a32c19babec13d786364a302a2b_rle_crop_4092631161_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/967e9ceb4521bd7b60bc919751110f83_92854821.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/0651a6c5221d5d0f9091b1f6cc73d48c_64117811.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/5d1cedae52bb51b3ea04dd2dd01163df_84965303.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/1e92c4efa6bb943a0205e0ca4200b9d7_27974533.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/7c6e07e1146bdfc1230b1988005aa11d_30803419.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/bdbbccc8f970ca329fefdf0e72d79d85_14446654.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/f1401f0c20c99d90d12536460039f179_31062921.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/099da15d75f08e4cf3232037415b80a7_57126346.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/68045ee95624401bf134ac273949806f_11373312.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/287b93c839a2ec61631749a7eb6b863d_79594994.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/1a6a132347ce248154f9126e880df08b_28125801.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/ea43d298187a55f57e8d18349c954843_32580742.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/f6bd91f9bacbe32d8c7b89a96431f409_87364314.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/f76e41811cbdca758903e5d1d8396676_55020364.png change filename to text .imagette300158051767847804/ imagette300158051767847804/1767791845_3147647_1402789384_1b1c9e7c71333744f1e173ba2a5f2615_rle_crop_4092630466_0.png.png imagette300158051767847804/1767791725_3140037_1402789360_533d63136fe62cc40a823f66e3117692_rle_crop_4092627415_0.png.png imagette300158051767847804/1767791725_3140037_1402789358_26c96cb4420997232f3d2eacaaa792f6_rle_crop_4092627476_0.png.png imagette300158051767847804/1767791707_3139671_1402789365_94a838852c5828d1eb6ed60325ff6131_rle_crop_4092627131_0.png.png imagette300158051767847804/1767791707_3139671_1402789281_1b3540c7c3cffae64def0f803a196da5_rle_crop_4092627144_0.png.png imagette300158051767847804/1767791707_3139671_1402789281_1b3540c7c3cffae64def0f803a196da5_rle_crop_4092627142_0.png.png imagette300158051767847804/1767791344_3123113_1402788481_0dfbb189233f8e9f3de93c368801f886_rle_crop_4092619672_0.png.png imagette300158051767847804/1767791225_3119202_1402788412_0dd349a0872fc80f1ee5a203bf36de83_rle_crop_4092616768_0.png.png imagette300158051767847804/1767791586_3134080_1402789295_34a121c21bcc905c834fcf6b4b59b849_rle_crop_4092622571_0.png.png imagette300158051767847804/1767791725_3140037_1402789360_533d63136fe62cc40a823f66e3117692_rle_crop_4092627410_0.png.png imagette300158051767847804/1767791845_3147647_1402789386_fae45686940a58a659cf2a240def4b71_rle_crop_4092630450_0.png.png imagette300158051767847804/1767791968_3154391_1402789780_5be66a32c19babec13d786364a302a2b_rle_crop_4092631161_0.png.png imagette300158051767847804/1767791225_3119202_1402788437_68569536769427dc087ab3588792c697_rle_crop_4092616397_0.png.png imagette300158051767847804/1767791225_3119202_1402788415_48011119255fafed20197a84357c7b0d_rle_crop_4092616756_0.png.png imagette300158051767847804/1767791725_3140037_1402789358_26c96cb4420997232f3d2eacaaa792f6_rle_crop_4092627474_0.png.png wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/656cccad2fe12dd35155c892cd70de0c_57121353.png imagette300158051767847804 30015806 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=30015806 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402788497: '1767791225_3119202_1402788437_68569536769427dc087ab3588792c697_rle_crop_4092616394_0.png', 1402788498: '1767791225_3119202_1402788415_48011119255fafed20197a84357c7b0d_rle_crop_4092616751_0.png', 1402788918: '1767791344_3123113_1402788481_0dfbb189233f8e9f3de93c368801f886_rle_crop_4092619678_0.png', 1402788919: '1767791344_3123113_1402788479_9ee22dc67cb0c26002d08825afcf24e9_rle_crop_4092619686_0.png', 1402788960: '1767791365_3123606_1402788482_eeee4f23643f16c21119a13a6dd17bdf_rle_crop_4092619811_0.png', 1402789431: '1767791707_3139671_1402789281_1b3540c7c3cffae64def0f803a196da5_rle_crop_4092627141_0.png', 1402789551: '1767791725_3140037_1402789357_c4668e7c92fcb35d30e1ee7bc486c151_rle_crop_4092627510_0.png', 1402790685: '1767791845_3147647_1402789388_7bd9bf9fe56df3ea9a9c02e438847a3b_rle_crop_4092630442_0.png', 1402790960: '1767791968_3154391_1402789780_5be66a32c19babec13d786364a302a2b_rle_crop_4092631155_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/cc71381990e3fbb1eeb65e67de83d785_11779076.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/b6dfacbb8ddd2dd6271f432fe50b4c28_6698674.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/a8cb2b5772505bafc3457eaf0e8bb30b_36350504.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/fb43ed214aec68e8237c2391c254828b_65011503.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/029caf03bc19b9bc1821675af71bfa61_9766887.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/93a1f5c6e6337ea158c4bd057e1654e5_18095059.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/347878d97f637bd9ebd289d8f5770496_80448150.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/21b8402d050f3c10bacd25b015c7e878_16229350.png change filename to text .imagette300158061767847805/ imagette300158061767847805/1767791225_3119202_1402788437_68569536769427dc087ab3588792c697_rle_crop_4092616394_0.png.png imagette300158061767847805/1767791344_3123113_1402788481_0dfbb189233f8e9f3de93c368801f886_rle_crop_4092619678_0.png.png imagette300158061767847805/1767791344_3123113_1402788479_9ee22dc67cb0c26002d08825afcf24e9_rle_crop_4092619686_0.png.png imagette300158061767847805/1767791707_3139671_1402789281_1b3540c7c3cffae64def0f803a196da5_rle_crop_4092627141_0.png.png imagette300158061767847805/1767791365_3123606_1402788482_eeee4f23643f16c21119a13a6dd17bdf_rle_crop_4092619811_0.png.png imagette300158061767847805/1767791225_3119202_1402788415_48011119255fafed20197a84357c7b0d_rle_crop_4092616751_0.png.png imagette300158061767847805/1767791845_3147647_1402789388_7bd9bf9fe56df3ea9a9c02e438847a3b_rle_crop_4092630442_0.png.png imagette300158061767847805/1767791725_3140037_1402789357_c4668e7c92fcb35d30e1ee7bc486c151_rle_crop_4092627510_0.png.png imagette300158061767847805/1767791968_3154391_1402789780_5be66a32c19babec13d786364a302a2b_rle_crop_4092631155_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/e30e1f3ba6a924b2cd87a8ed43563081_46415262.png imagette300158061767847805 30015811 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=30015811 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402788952: '1767791365_3123606_1402788482_eeee4f23643f16c21119a13a6dd17bdf_rle_crop_4092619813_0.png', 1402788954: '1767791365_3123606_1402788435_88bfc6022737c5d31cf6e7b96a1cf550_rle_crop_4092619821_0.png', 1402789543: '1767791725_3140037_1402789357_c4668e7c92fcb35d30e1ee7bc486c151_rle_crop_4092627509_0.png', 1402790662: '1767791845_3147647_1402789384_1b1c9e7c71333744f1e173ba2a5f2615_rle_crop_4092630463_0.png', 1402790664: '1767791845_3147647_1402789382_326450dcfda6554c867e06fa1efddc37_rle_crop_4092630483_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/e53da22eacd82a0f50d7954f22cd1033_70270709.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/c6c616c0fa5c326955fb04445afeeb60_48252645.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/474564f9dc9944a4c2d6a3aefcad04ca_16720188.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/3a8ba5e8e2d229a711ad18d19e2d7fed_70149054.png change filename to text .imagette300158111767847806/ imagette300158111767847806/1767791365_3123606_1402788435_88bfc6022737c5d31cf6e7b96a1cf550_rle_crop_4092619821_0.png.png imagette300158111767847806/1767791365_3123606_1402788482_eeee4f23643f16c21119a13a6dd17bdf_rle_crop_4092619813_0.png.png imagette300158111767847806/1767791845_3147647_1402789384_1b1c9e7c71333744f1e173ba2a5f2615_rle_crop_4092630463_0.png.png imagette300158111767847806/1767791725_3140037_1402789357_c4668e7c92fcb35d30e1ee7bc486c151_rle_crop_4092627509_0.png.png imagette300158111767847806/1767791845_3147647_1402789382_326450dcfda6554c867e06fa1efddc37_rle_crop_4092630483_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/a7a56fbcfa64014050b66121ebabaa39_67413767.png imagette300158111767847806 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=30015792 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/30015814,30015815,30015816,30015817,30015818,30015819,30015820,30015821,30015822,30015823,30015824,30015825?tags=flou,autre_refus,metal,Teint_Dans_La_Masse,Carton_brun,environnement,kraft,papier,mal_croppe,Carton_gris,cartonnette,plastique your option no_mail is active, we will not send the real mail to your client args[1402789780] : ('0.045224672050987805',) no score found for photo 1402789780 We are sending mail with results at report@fotonower.com args[1402789413] : ('0.045224672050987805',) no score found for photo 1402789413 We are sending mail with results at report@fotonower.com args[1402789410] : ('0.045224672050987805',) no score found for photo 1402789410 We are sending mail with results at report@fotonower.com args[1402789408] : ('0.045224672050987805',) no score found for photo 1402789408 We are sending mail with results at report@fotonower.com args[1402789395] : ('0.045224672050987805',) no score found for photo 1402789395 We are sending mail with results at report@fotonower.com args[1402789391] : ('0.045224672050987805',) no score found for photo 1402789391 We are sending mail with results at report@fotonower.com args[1402789388] : ('0.045224672050987805',) no score found for photo 1402789388 We are sending mail with results at report@fotonower.com args[1402789386] : ('0.045224672050987805',) no score found for photo 1402789386 We are sending mail with results at report@fotonower.com args[1402789384] : ('0.045224672050987805',) no score found for photo 1402789384 We are sending mail with results at report@fotonower.com args[1402789382] : ('0.045224672050987805',) no score found for photo 1402789382 We are sending mail with results at report@fotonower.com args[1402789365] : ('0.045224672050987805',) no score found for photo 1402789365 We are sending mail with results at report@fotonower.com args[1402789362] : ('0.045224672050987805',) no score found for photo 1402789362 We are sending mail with results at report@fotonower.com args[1402789360] : ('0.045224672050987805',) no score found for photo 1402789360 We are sending mail with results at report@fotonower.com args[1402789358] : ('0.045224672050987805',) no score found for photo 1402789358 We are sending mail with results at report@fotonower.com args[1402789357] : ('0.045224672050987805',) no score found for photo 1402789357 We are sending mail with results at report@fotonower.com args[1402789295] : ('0.045224672050987805',) no score found for photo 1402789295 We are sending mail with results at report@fotonower.com args[1402789281] : ('0.045224672050987805',) no score found for photo 1402789281 We are sending mail with results at report@fotonower.com args[1402789184] : ('0.045224672050987805',) no score found for photo 1402789184 We are sending mail with results at report@fotonower.com args[1402789182] : ('0.045224672050987805',) no score found for photo 1402789182 We are sending mail with results at report@fotonower.com args[1402789035] : ('0.045224672050987805',) no score found for photo 1402789035 We are sending mail with results at report@fotonower.com args[1402789001] : ('0.045224672050987805',) no score found for photo 1402789001 We are sending mail with results at report@fotonower.com args[1402788482] : ('0.045224672050987805',) no score found for photo 1402788482 We are sending mail with results at report@fotonower.com args[1402788481] : ('0.045224672050987805',) no score found for photo 1402788481 We are sending mail with results at report@fotonower.com args[1402788479] : ('0.045224672050987805',) no score found for photo 1402788479 We are sending mail with results at report@fotonower.com args[1402788477] : ('0.045224672050987805',) no score found for photo 1402788477 We are sending mail with results at report@fotonower.com args[1402788437] : ('0.045224672050987805',) no score found for photo 1402788437 We are sending mail with results at report@fotonower.com args[1402788435] : ('0.045224672050987805',) no score found for photo 1402788435 We are sending mail with results at report@fotonower.com args[1402788417] : ('0.045224672050987805',) no score found for photo 1402788417 We are sending mail with results at report@fotonower.com args[1402788415] : ('0.045224672050987805',) no score found for photo 1402788415 We are sending mail with results at report@fotonower.com args[1402788412] : ('0.045224672050987805',) no score found for photo 1402788412 We are sending mail with results at report@fotonower.com refus_total : 0.045224672050987805 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=30015792 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_P30015792_08-01-2026_05_50_01.pdf results_Auto_P30015792_08-01-2026_05_50_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30015792_08-01-2026_05_50_01.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','30015792','results_Auto_P30015792_08-01-2026_05_50_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30015792_08-01-2026_05_50_01.pdf','pdf','','0.37','0.045224672050987805') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([30015792]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1402789780, 1402789413, 1402789410, 1402789408, 1402789395, 1402789391, 1402789388, 1402789386, 1402789384, 1402789382, 1402789365, 1402789362, 1402789360, 1402789358, 1402789357, 1402789295, 1402789281, 1402789184, 1402789182, 1402789035, 1402789001, 1402788482, 1402788481, 1402788479, 1402788477, 1402788437, 1402788435, 1402788417, 1402788415, 1402788412] map_info['map_portfolio_photo'] : {30015792: [1402789780, 1402789413, 1402789410, 1402789408, 1402789395, 1402789391, 1402789388, 1402789386, 1402789384, 1402789382, 1402789365, 1402789362, 1402789360, 1402789358, 1402789357, 1402789295, 1402789281, 1402789184, 1402789182, 1402789035, 1402789001, 1402788482, 1402788481, 1402788479, 1402788477, 1402788437, 1402788435, 1402788417, 1402788415, 1402788412]} final : False mtd_id 4302 list_pids : [1402789780, 1402789413, 1402789410, 1402789408, 1402789395, 1402789391, 1402789388, 1402789386, 1402789384, 1402789382, 1402789365, 1402789362, 1402789360, 1402789358, 1402789357, 1402789295, 1402789281, 1402789184, 1402789182, 1402789035, 1402789001, 1402788482, 1402788481, 1402788479, 1402788477, 1402788437, 1402788435, 1402788417, 1402788415, 1402788412] 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, '4325388') ('4302', '30015792', '1402789780', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789413', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789410', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789408', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789395', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789391', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789388', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789386', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789384', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789382', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789365', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789362', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789360', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789358', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789357', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789295', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789281', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789184', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789182', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789035', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789001', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788482', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788481', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788479', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788477', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788437', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788435', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788417', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788415', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788412', None, None, None, None, None, '4325388') 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', '30015792', '1402789780', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789413', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789410', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789408', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789395', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789391', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789388', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789386', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789384', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789382', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789365', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789362', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789360', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789358', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789357', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789295', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789281', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789184', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789182', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789035', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789001', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788482', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788481', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788479', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788477', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788437', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788435', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788417', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788415', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788412', None, None, None, None, None, '4325388')] time used for this insertion : 0.02274179458618164 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.635299682617188 time spend to save output : 0.023082256317138672 total time spend for step 4 : 8.658381938934326 step5:split_time_score Thu Jan 8 05:50:09 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 : ['30015792'] 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 : [('30015792',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (30015792) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1402789413: {'path': 'temp/1767847800_207478_1402789413_adfac2e825c54662799c806809e1ccc1.jpg', 'extension': 'jpg'}, 1402789780: {'path': 'temp/1767847800_207478_1402789780_5be66a32c19babec13d786364a302a2b.jpg', 'extension': 'jpg'}, 1402788481: {'path': 'temp/1767847800_207478_1402788481_0dfbb189233f8e9f3de93c368801f886.jpg', 'extension': 'jpg'}, 1402788482: {'path': 'temp/1767847800_207478_1402788482_eeee4f23643f16c21119a13a6dd17bdf.jpg', 'extension': 'jpg'}, 1402789001: {'path': 'temp/1767847800_207478_1402789001_396786050f309a5c4d8203f04ae6685c.jpg', 'extension': 'jpg'}, 1402789035: {'path': 'temp/1767847800_207478_1402789035_1a9cba0262d3c1ff781d606e90320072.jpg', 'extension': 'jpg'}, 1402789182: {'path': 'temp/1767847800_207478_1402789182_58e11dc9be352ed524c4421e9451afc1.jpg', 'extension': 'jpg'}, 1402789184: {'path': 'temp/1767847800_207478_1402789184_97429f6f629443fcc89387e28a62ebc5.jpg', 'extension': 'jpg'}, 1402789281: {'path': 'temp/1767847800_207478_1402789281_1b3540c7c3cffae64def0f803a196da5.jpg', 'extension': 'jpg'}, 1402788412: {'path': 'temp/1767847800_207478_1402788412_0dd349a0872fc80f1ee5a203bf36de83.jpg', 'extension': 'jpg'}, 1402788415: {'path': 'temp/1767847800_207478_1402788415_48011119255fafed20197a84357c7b0d.jpg', 'extension': 'jpg'}, 1402788417: {'path': 'temp/1767847800_207478_1402788417_aa65bb6e601a5890d9e20e907a59f336.jpg', 'extension': 'jpg'}, 1402788435: {'path': 'temp/1767847800_207478_1402788435_88bfc6022737c5d31cf6e7b96a1cf550.jpg', 'extension': 'jpg'}, 1402788437: {'path': 'temp/1767847800_207478_1402788437_68569536769427dc087ab3588792c697.jpg', 'extension': 'jpg'}, 1402788477: {'path': 'temp/1767847800_207478_1402788477_1b21fe588615856528125197d7ddfc90.jpg', 'extension': 'jpg'}, 1402788479: {'path': 'temp/1767847800_207478_1402788479_9ee22dc67cb0c26002d08825afcf24e9.jpg', 'extension': 'jpg'}, 1402789384: {'path': 'temp/1767847800_207478_1402789384_1b1c9e7c71333744f1e173ba2a5f2615.jpg', 'extension': 'jpg'}, 1402789386: {'path': 'temp/1767847800_207478_1402789386_fae45686940a58a659cf2a240def4b71.jpg', 'extension': 'jpg'}, 1402789388: {'path': 'temp/1767847800_207478_1402789388_7bd9bf9fe56df3ea9a9c02e438847a3b.jpg', 'extension': 'jpg'}, 1402789391: {'path': 'temp/1767847800_207478_1402789391_1a98b84437d40e06acf3ab6fc623842b.jpg', 'extension': 'jpg'}, 1402789395: {'path': 'temp/1767847800_207478_1402789395_4c3b9d8fd35fa79fac42e792478d081f.jpg', 'extension': 'jpg'}, 1402789408: {'path': 'temp/1767847800_207478_1402789408_f2c72877d1ef265505e5c9089df99e02.jpg', 'extension': 'jpg'}, 1402789410: {'path': 'temp/1767847800_207478_1402789410_09d32cbaa253fd5667c835265e1db2a4.jpg', 'extension': 'jpg'}, 1402789295: {'path': 'temp/1767847800_207478_1402789295_34a121c21bcc905c834fcf6b4b59b849.jpg', 'extension': 'jpg'}, 1402789357: {'path': 'temp/1767847800_207478_1402789357_c4668e7c92fcb35d30e1ee7bc486c151.jpg', 'extension': 'jpg'}, 1402789358: {'path': 'temp/1767847800_207478_1402789358_26c96cb4420997232f3d2eacaaa792f6.jpg', 'extension': 'jpg'}, 1402789360: {'path': 'temp/1767847800_207478_1402789360_533d63136fe62cc40a823f66e3117692.jpg', 'extension': 'jpg'}, 1402789362: {'path': 'temp/1767847800_207478_1402789362_170e6a30374fdef3c652bbe11ad552f7.jpg', 'extension': 'jpg'}, 1402789365: {'path': 'temp/1767847800_207478_1402789365_94a838852c5828d1eb6ed60325ff6131.jpg', 'extension': 'jpg'}, 1402789382: {'path': 'temp/1767847800_207478_1402789382_326450dcfda6554c867e06fa1efddc37.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 = 30015792; (('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 = 30015792 group by h (('14', 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=30015792 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 (30015792) 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 (30015792) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07012026 30015792 Nombre de photos uploadées : 30 / 23040 (0%) 07012026 30015792 Nombre de photos taguées (types de déchets): 0 / 30 (0%) 07012026 30015792 Nombre de photos taguées (volume) : 0 / 30 (0%) [{'photo_id': 1402788417, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/aa65bb6e601a5890d9e20e907a59f336.jpg', 'username': None, 'uploaded_at': 1767791107, 'text': 'image_07012026_14_00_14_10211.jpg'}, {'photo_id': 1402788415, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/48011119255fafed20197a84357c7b0d.jpg', 'username': None, 'uploaded_at': 1767791107, 'text': 'image_07012026_14_04_24_010136m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1402788412, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/0dd349a0872fc80f1ee5a203bf36de83.jpg', 'username': None, 'uploaded_at': 1767791107, 'text': 'image_07012026_14_04_44_009132m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1402788437, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/7/68569536769427dc087ab3588792c697.jpg', 'username': None, 'uploaded_at': 1767791167, 'text': 'image_07012026_14_04_54_010137m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ?????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0013115406036376953 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 30015792, '2026-01-07' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2026-01-07' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2854728,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.26390576362609863 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= 2854728 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 29999365, 'dashboard_result_id': 19142978, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29999365_08-01-2026_05_34_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29999367, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29999368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29999369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29999370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29999371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29999372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29999373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29999374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29999375, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29999376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29999377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29999378, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 29999670, 'dashboard_result_id': 19142979, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29999670_08-01-2026_05_35_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29999676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29999677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29999678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29999679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29999680, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29999681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29999682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29999683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29999684, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29999685, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29999686, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29999687, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30000240, 'dashboard_result_id': 19142980, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30000240_08-01-2026_05_36_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30000241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30000242, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30000243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30000244, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30000245, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30000246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30000247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30000248, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30000249, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30000250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30000251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30000252, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30000381, 'dashboard_result_id': 19142981, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30000381_08-01-2026_05_36_16.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30000389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30000390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30000391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30000392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30000393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30000394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30000395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30000396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30000397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30000398, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30000399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30000400, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30001385, 'dashboard_result_id': 19142982, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001385_08-01-2026_05_37_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30001388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30001389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30001390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30001391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30001392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30001393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30001394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30001395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30001396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30001397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30001398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30001399, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30001625, 'dashboard_result_id': 19142983, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001625_08-01-2026_05_37_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30001629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30001630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30001631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30001632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30001633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30001634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30001635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30001636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30001637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30001638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30001639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30001640, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30001993, 'dashboard_result_id': 19142984, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001993_08-01-2026_05_38_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30002015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30002016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30002017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30002018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30002019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30002020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30002021, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30002022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30002023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30002024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30002025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30002026, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30002683, 'dashboard_result_id': 19142985, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30002683_08-01-2026_05_38_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30002709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30002710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30002711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30002712, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30002713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30002714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30002715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30002716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30002717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30002718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30002719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30002720, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30003176, 'dashboard_result_id': 19142986, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30003176_08-01-2026_05_39_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30003180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30003181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30003182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30003183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30003184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30003185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30003186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30003187, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30003188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30003189, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30003190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30003191, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30003654, 'dashboard_result_id': 19142987, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30003654_08-01-2026_05_40_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30003661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30003662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30003663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30003664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30003666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30003667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30003668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30003669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30003670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30003671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30003672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30003673, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30004058, 'dashboard_result_id': 19142988, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30004058_08-01-2026_05_40_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30004096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30004097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30004098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30004099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30004100, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30004101, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30004102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30004103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30004104, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30004105, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30004106, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30004107, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30004504, 'dashboard_result_id': 19142989, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30004504_08-01-2026_05_40_43.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30004511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30004512, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30004513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30004514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30004515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30004516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30004517, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30004518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30004519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30004520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30004521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30004522, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30005091, 'dashboard_result_id': 19142990, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005091_08-01-2026_05_41_16.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30005124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30005125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30005126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30005127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30005128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30005129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30005130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30005131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30005132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30005133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30005134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30005135, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30005616, 'dashboard_result_id': 19142991, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005616_08-01-2026_05_41_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30005617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30005618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30005619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30005620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30005621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30005622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30005623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30005624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30005625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30005626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30005627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30005628, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30005785, 'dashboard_result_id': 19142992, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005785_08-01-2026_05_42_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30005830, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30005831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30005832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30005833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30005834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30005835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30005836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30005837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30005838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30005839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30005840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30005841, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30006433, 'dashboard_result_id': 19142993, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30006433_08-01-2026_05_42_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30006459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30006460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30006461, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30006462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30006463, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30006464, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30006465, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30006466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30006467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30006468, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30006469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30006470, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30006862, 'dashboard_result_id': 19142994, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30006862_08-01-2026_05_43_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30006912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30006913, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30006914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30006915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30006916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30006917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30006918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30006919, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30006920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30006921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30006922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30006923, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30008133, 'dashboard_result_id': 19142995, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30008133_08-01-2026_05_43_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30008134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30008135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30008136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30008137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30008138, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30008139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30008140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30008141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30008142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30008143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30008144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30008145, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30009247, 'dashboard_result_id': 19142996, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30009247_08-01-2026_05_44_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30009251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30009252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30009253, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30009254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30009255, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30009256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30009257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30009258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30009259, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30009260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30009261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30009262, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30009593, 'dashboard_result_id': 19142997, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30009593_08-01-2026_05_45_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30009597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30009598, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30009599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30009600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30009601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30009602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30009603, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30009604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30009605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30009606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30009607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30009608, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30010197, 'dashboard_result_id': 19142998, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30010197_08-01-2026_05_45_40.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30010198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30010199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30010200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30010201, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30010202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30010203, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30010204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30010205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30010206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30010207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30010208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30010209, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30010468, 'dashboard_result_id': 19142999, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30010468_08-01-2026_05_46_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30010475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30010476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30010477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30010478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30010479, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30010480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30010481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30010482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30010483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30010484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30010485, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30010486, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30011725, 'dashboard_result_id': 19143000, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30011725_08-01-2026_05_46_13.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30011729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30011730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30011731, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30011732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30011733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30011734, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30011735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30011736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30011737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30011738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30011739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30011740, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30011864, 'dashboard_result_id': 19143001, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30011864_08-01-2026_05_46_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30011869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30011870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30011871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30011872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30011873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30011874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30011875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30011876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30011877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30011878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30011879, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30011880, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30012493, 'dashboard_result_id': 19143002, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30012493_08-01-2026_05_47_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30012497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30012498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30012499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30012500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30012501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30012502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30012503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30012504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30012505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30012506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30012507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30012508, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30013967, 'dashboard_result_id': 19143003, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30013967_08-01-2026_05_48_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30013971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30013972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30013973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30013974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30013975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30013976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30013977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30013978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30013979, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30013980, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30013981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30013982, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30014128, 'dashboard_result_id': 19143004, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30014128_08-01-2026_05_48_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30014142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30014143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30014144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30014145, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30014146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30014147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30014148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30014149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30014150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30014151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30014152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30014153, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30015597, 'dashboard_result_id': 19143005, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30015597_08-01-2026_05_49_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30015601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30015602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30015603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30015604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30015605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30015606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30015607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30015608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30015609, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30015610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30015611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30015612, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30015792, 'dashboard_result_id': 19143006, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30015792_07-01-2026_14_18_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30015802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30015803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30015804, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30015805, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30015806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30015807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30015808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30015809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30015810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30015811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30015812, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30015813, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30016267, 'dashboard_result_id': 19143007, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30016267_07-01-2026_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30016306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30016307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30016308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30016309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30016310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30016311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30016312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30016313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30016314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30016315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30016316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30016317, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30016904, 'dashboard_result_id': 19143008, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30016904_07-01-2026_14_46_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30016925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30016926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30016927, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30016928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30016929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30016930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30016931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30016932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30016933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30016934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30016935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30016936, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30017547, 'dashboard_result_id': 19143009, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30017547_07-01-2026_15_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30017555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30017556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30017557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30017558, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30017559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30017560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30017561, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30017562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30017563, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30017564, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30017565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30017566, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30018015, 'dashboard_result_id': 19143010, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30018015_07-01-2026_15_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30018048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30018049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30018050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30018051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30018052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30018053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30018054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30018055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30018056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30018057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30018058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30018059, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30018710, 'dashboard_result_id': 19143011, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30018710_07-01-2026_15_35_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30018727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30018728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30018729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30018730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30018731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30018732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30018733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30018734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30018735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30018736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30018737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30018738, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30019466, 'dashboard_result_id': 19143012, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30019466_07-01-2026_15_54_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30019474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30019475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30019476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30019477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30019478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30019479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30019480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30019481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30019482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30019483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30019484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30019485, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30020121, 'dashboard_result_id': 19143013, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30020121_07-01-2026_16_03_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30020130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30020131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30020132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30020133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30020134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30020135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30020136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30020137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30020138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30020139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30020140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30020141, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30020366, 'dashboard_result_id': 19143014, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30020366_07-01-2026_16_23_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30020376, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30020377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30020378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30020379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30020380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30020381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30020382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30020383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30020384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30020385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30020386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30020387, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30021157, 'dashboard_result_id': 19143015, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30021157_07-01-2026_16_33_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30021175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30021176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30021177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30021178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30021179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30021180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30021181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30021182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30021183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30021184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30021185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30021186, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30021437, 'dashboard_result_id': 19143016, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30021437_07-01-2026_16_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30021467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30021468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30021469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30021470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30021471, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30021472, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30021473, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30021474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30021475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30021476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30021477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30021478, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30022124, 'dashboard_result_id': 19143017, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30022124_07-01-2026_17_04_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30022137, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30022138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30022139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30022140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30022141, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30022142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30022143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30022144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30022145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30022146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30022147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30022148, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30022669, 'dashboard_result_id': 19143018, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30022669_07-01-2026_17_16_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30022722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30022723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30022724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30022725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30022726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30022727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30022728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30022729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30022730, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30022731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30022732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30022733, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30023270, 'dashboard_result_id': 19143019, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30023270_07-01-2026_18_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30023280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30023281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30023282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30023283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30023284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30023285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30023286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30023287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30023288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30023289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30023290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30023291, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30024335, 'dashboard_result_id': 19143020, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30024335_07-01-2026_18_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30024341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30024342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30024343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30024344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30024345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30024346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30024347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30024348, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30024349, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30024350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30024351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30024352, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30024849, 'dashboard_result_id': 19143021, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30024849_07-01-2026_18_42_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30024861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30024862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30024863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30024864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30024865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30024866, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30024867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30024868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30024869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30024870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30024871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30024872, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30025289, 'dashboard_result_id': 19143022, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025289_07-01-2026_18_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30025324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30025325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30025326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30025327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30025328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30025329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30025330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30025331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30025332, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30025333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30025334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30025335, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30025482, 'dashboard_result_id': 19143023, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025482_07-01-2026_19_05_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30025493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30025494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30025495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30025496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30025497, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30025498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30025499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30025500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30025501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30025502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30025503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30025504, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30025984, 'dashboard_result_id': 19143024, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025984_07-01-2026_19_16_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30025991, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30025992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30025993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30025994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30025995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30025996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30025997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30025998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30025999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30026000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30026001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30026002, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30026491, 'dashboard_result_id': 19143025, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30026491_07-01-2026_19_33_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30026499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30026500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30026501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30026502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30026503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30026504, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30026505, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30026506, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30026507, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30026508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30026509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30026510, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30026977, 'dashboard_result_id': 19143026, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30026977_07-01-2026_19_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30026988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30026989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30026990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30026991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30026992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30026993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30026994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30026995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30026996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30026997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30026998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30026999, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30027607, 'dashboard_result_id': 19143027, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30027607_07-01-2026_20_03_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30027611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30027612, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30027613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30027614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30027615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30027616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30027617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30027618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30027619, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30027620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30027621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30027622, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30028025, 'dashboard_result_id': 19143028, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30028025_07-01-2026_20_17_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30028033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30028034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30028035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30028036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30028037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30028038, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30028039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30028040, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30028042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30028043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30028044, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30028045, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30028596, 'dashboard_result_id': 19143029, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30028596_07-01-2026_20_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30028645, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30028646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30028647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30028648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30028649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30028650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30028651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30028652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30028653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30028654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30028655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30028656, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30029122, 'dashboard_result_id': 19143030, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30029122_07-01-2026_21_08_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30029139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30029140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30029141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30029142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30029143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30029144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30029145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30029146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30029147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30029148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30029149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30029150, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30029994, 'dashboard_result_id': 19143031, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30029994_07-01-2026_21_16_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30029995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30029996, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30029997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30029998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30029999, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030002, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030004, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030006, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30030148, 'dashboard_result_id': 19143032, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030148_07-01-2026_21_34_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30030152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030153, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30030154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30030157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30030161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30030162, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30030467, 'dashboard_result_id': 19143033, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030467_07-01-2026_21_49_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30030481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30030483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30030487, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30030490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30030492, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30030938, 'dashboard_result_id': 19143034, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030938_07-01-2026_22_06_12.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30030945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30030946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30030947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30030948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30030952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030953, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30031483, 'dashboard_result_id': 19143035, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30031483_07-01-2026_22_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30031486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30031487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30031488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30031489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30031490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30031491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30031492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30031493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30031494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30031495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30031496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30031497, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30032199, 'dashboard_result_id': 19143036, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30032199_07-01-2026_22_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30032239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30032240, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30032241, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30032242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30032243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30032244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30032245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30032246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30032247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30032248, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30032249, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30032250, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30032701, 'dashboard_result_id': 19143037, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30032701_07-01-2026_22_48_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30032735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30032737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30032738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30032739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30032740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30032741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30032742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30032743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30032744, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30032745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30032746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30032747, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30033526, 'dashboard_result_id': 19143038, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30033526_07-01-2026_23_04_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30033539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30033540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30033541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30033542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30033543, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30033544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30033545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30033546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30033547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30033548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30033549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30033550, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30034210, 'dashboard_result_id': 19143039, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30034210_07-01-2026_23_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30034219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30034220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30034221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30034222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30034223, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30034224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30034225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30034226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30034227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30034228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30034229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30034230, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30034820, 'dashboard_result_id': 19143040, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30034820_07-01-2026_23_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30034829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30034830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30034831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30034832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30034833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30034834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30034835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30034836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30034837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30034838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30034839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30034840, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30035513, 'dashboard_result_id': 19143041, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30035513_07-01-2026_23_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30035514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30035515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30035516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30035517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30035518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30035519, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30035520, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30035521, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30035522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30035523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30035524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30035525, 'pht': 3726}}"}, {'dashboat_entry_day': 2854728, 'dashboard_run_id': 2868582, 'mtr_portfolio_id': 30036264, 'dashboard_result_id': 19143042, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30036264_08-01-2026_00_26_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30036290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30036291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30036292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30036293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30036294, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30036295, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30036296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30036297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30036298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30036299, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30036300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30036301, '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 = 29999365 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325360, 'mtr_portfolio_id': 29999365, 'created_at': datetime.datetime(2026, 1, 8, 5, 34, 29), 'result': '0.049124932594421564', 'result_long': None, 'result_double': None}] Qualite : 0.049124932594421564 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29999365 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29999365_08-01-2026_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29999365 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29999365_08-01-2026_05_34_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29999367, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29999368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29999369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29999370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29999371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29999372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29999373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29999374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29999375, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29999376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29999377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29999378, 'pht': 3726}}" where mtr_portfolio_id = 29999365 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29999365 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142978, 0.049124932594421564, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29999365_08-01-2026_05_34_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29999367, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29999368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29999369, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29999370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29999371, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29999372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29999373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29999374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29999375, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29999376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29999377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29999378, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 29999670 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325361, 'mtr_portfolio_id': 29999670, 'created_at': datetime.datetime(2026, 1, 8, 5, 35, 28), 'result': '0.06694766439685172', 'result_long': None, 'result_double': None}] Qualite : 0.06694766439685172 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29999670 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29999670_08-01-2026_05_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29999670 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29999670_08-01-2026_05_35_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29999676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29999677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29999678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29999679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29999680, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29999681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29999682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29999683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29999684, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29999685, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29999686, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29999687, 'pht': 3726}}" where mtr_portfolio_id = 29999670 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29999670 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142979, 0.06694766439685172, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29999670_08-01-2026_05_35_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29999676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29999677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29999678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29999679, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29999680, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29999681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29999682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29999683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29999684, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29999685, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29999686, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29999687, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30000240 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325362, 'mtr_portfolio_id': 30000240, 'created_at': datetime.datetime(2026, 1, 8, 5, 35, 59), 'result': '0.07013621338932265', 'result_long': None, 'result_double': None}] Qualite : 0.07013621338932265 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30000240 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30000240_08-01-2026_05_36_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30000240 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30000240_08-01-2026_05_36_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30000241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30000242, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30000243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30000244, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30000245, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30000246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30000247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30000248, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30000249, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30000250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30000251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30000252, 'pht': 3726}}" where mtr_portfolio_id = 30000240 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30000240 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142980, 0.07013621338932265, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30000240_08-01-2026_05_36_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30000241, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30000242, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30000243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30000244, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30000245, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30000246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30000247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30000248, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30000249, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30000250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30000251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30000252, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30000381 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325363, 'mtr_portfolio_id': 30000381, 'created_at': datetime.datetime(2026, 1, 8, 5, 36, 13), 'result': '0.048472824194191244', 'result_long': None, 'result_double': None}] Qualite : 0.048472824194191244 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30000381 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30000381_08-01-2026_05_36_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30000381 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30000381_08-01-2026_05_36_16.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30000389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30000390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30000391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30000392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30000393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30000394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30000395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30000396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30000397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30000398, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30000399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30000400, 'pht': 3726}}" where mtr_portfolio_id = 30000381 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30000381 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142981, 0.048472824194191244, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30000381_08-01-2026_05_36_16.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30000389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30000390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30000391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30000392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30000393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30000394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30000395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30000396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30000397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30000398, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30000399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30000400, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30001385 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325364, 'mtr_portfolio_id': 30001385, 'created_at': datetime.datetime(2026, 1, 8, 5, 37), 'result': '0.04826813212001843', 'result_long': None, 'result_double': None}] Qualite : 0.04826813212001843 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30001385 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001385_08-01-2026_05_37_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30001385 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001385_08-01-2026_05_37_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30001388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30001389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30001390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30001391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30001392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30001393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30001394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30001395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30001396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30001397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30001398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30001399, 'pht': 3726}}" where mtr_portfolio_id = 30001385 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30001385 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142982, 0.04826813212001843, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001385_08-01-2026_05_37_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30001388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30001389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30001390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30001391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30001392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30001393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30001394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30001395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30001396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30001397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30001398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30001399, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30001625 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325365, 'mtr_portfolio_id': 30001625, 'created_at': datetime.datetime(2026, 1, 8, 5, 37, 29), 'result': '0.06660748843389316', 'result_long': None, 'result_double': None}] Qualite : 0.06660748843389316 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30001625 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001625_08-01-2026_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30001625 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001625_08-01-2026_05_37_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30001629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30001630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30001631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30001632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30001633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30001634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30001635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30001636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30001637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30001638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30001639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30001640, 'pht': 3726}}" where mtr_portfolio_id = 30001625 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30001625 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142983, 0.06660748843389316, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001625_08-01-2026_05_37_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30001629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30001630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30001631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30001632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30001633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30001634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30001635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30001636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30001637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30001638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30001639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30001640, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30001993 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325366, 'mtr_portfolio_id': 30001993, 'created_at': datetime.datetime(2026, 1, 8, 5, 38, 1), 'result': '0.06158784706174094', 'result_long': None, 'result_double': None}] Qualite : 0.06158784706174094 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30001993 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001993_08-01-2026_05_38_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30001993 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001993_08-01-2026_05_38_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30002015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30002016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30002017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30002018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30002019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30002020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30002021, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30002022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30002023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30002024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30002025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30002026, 'pht': 3726}}" where mtr_portfolio_id = 30001993 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30001993 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142984, 0.06158784706174094, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30001993_08-01-2026_05_38_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30002015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30002016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30002017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30002018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30002019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30002020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30002021, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30002022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30002023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30002024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30002025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30002026, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30002683 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325367, 'mtr_portfolio_id': 30002683, 'created_at': datetime.datetime(2026, 1, 8, 5, 38, 29), 'result': '0.07576182008037409', 'result_long': None, 'result_double': None}] Qualite : 0.07576182008037409 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30002683 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30002683_08-01-2026_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30002683 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30002683_08-01-2026_05_38_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30002709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30002710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30002711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30002712, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30002713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30002714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30002715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30002716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30002717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30002718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30002719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30002720, 'pht': 3726}}" where mtr_portfolio_id = 30002683 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30002683 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142985, 0.07576182008037409, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30002683_08-01-2026_05_38_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30002709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30002710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30002711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30002712, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30002713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30002714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30002715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30002716, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30002717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30002718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30002719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30002720, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30003176 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325368, 'mtr_portfolio_id': 30003176, 'created_at': datetime.datetime(2026, 1, 8, 5, 39, 28), 'result': '0.04453398212877572', 'result_long': None, 'result_double': None}] Qualite : 0.04453398212877572 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30003176 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30003176_08-01-2026_05_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30003176 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30003176_08-01-2026_05_39_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30003180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30003181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30003182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30003183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30003184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30003185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30003186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30003187, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30003188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30003189, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30003190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30003191, 'pht': 3726}}" where mtr_portfolio_id = 30003176 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30003176 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142986, 0.04453398212877572, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30003176_08-01-2026_05_39_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30003180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30003181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30003182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30003183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30003184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30003185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30003186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30003187, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30003188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30003189, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30003190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30003191, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30003654 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325369, 'mtr_portfolio_id': 30003654, 'created_at': datetime.datetime(2026, 1, 8, 5, 39, 59), 'result': '0.05995918110148013', 'result_long': None, 'result_double': None}] Qualite : 0.05995918110148013 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30003654 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30003654_08-01-2026_05_40_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30003654 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30003654_08-01-2026_05_40_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30003661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30003662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30003663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30003664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30003666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30003667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30003668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30003669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30003670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30003671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30003672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30003673, 'pht': 3726}}" where mtr_portfolio_id = 30003654 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30003654 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142987, 0.05995918110148013, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30003654_08-01-2026_05_40_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30003661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30003662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30003663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30003664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30003666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30003667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30003668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30003669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30003670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30003671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30003672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30003673, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30004058 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325370, 'mtr_portfolio_id': 30004058, 'created_at': datetime.datetime(2026, 1, 8, 5, 40, 30), 'result': '0.09219118715305291', 'result_long': None, 'result_double': None}] Qualite : 0.09219118715305291 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30004058 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30004058_08-01-2026_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30004058 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30004058_08-01-2026_05_40_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30004096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30004097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30004098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30004099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30004100, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30004101, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30004102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30004103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30004104, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30004105, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30004106, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30004107, 'pht': 3726}}" where mtr_portfolio_id = 30004058 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30004058 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142988, 0.09219118715305291, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30004058_08-01-2026_05_40_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30004096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30004097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30004098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30004099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30004100, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30004101, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30004102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30004103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30004104, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30004105, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30004106, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30004107, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30004504 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325371, 'mtr_portfolio_id': 30004504, 'created_at': datetime.datetime(2026, 1, 8, 5, 40, 39), 'result': '0.054357922348110085', 'result_long': None, 'result_double': None}] Qualite : 0.054357922348110085 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30004504 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30004504_08-01-2026_05_40_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30004504 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30004504_08-01-2026_05_40_43.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30004511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30004512, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30004513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30004514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30004515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30004516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30004517, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30004518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30004519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30004520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30004521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30004522, 'pht': 3726}}" where mtr_portfolio_id = 30004504 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30004504 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142989, 0.054357922348110085, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30004504_08-01-2026_05_40_43.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30004511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30004512, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30004513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30004514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30004515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30004516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30004517, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30004518, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30004519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30004520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30004521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30004522, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30005091 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325372, 'mtr_portfolio_id': 30005091, 'created_at': datetime.datetime(2026, 1, 8, 5, 41, 13), 'result': '0.09144972504083636', 'result_long': None, 'result_double': None}] Qualite : 0.09144972504083636 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30005091 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005091_08-01-2026_05_41_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30005091 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005091_08-01-2026_05_41_16.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30005124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30005125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30005126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30005127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30005128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30005129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30005130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30005131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30005132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30005133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30005134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30005135, 'pht': 3726}}" where mtr_portfolio_id = 30005091 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30005091 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142990, 0.09144972504083636, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005091_08-01-2026_05_41_16.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30005124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30005125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30005126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30005127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30005128, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30005129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30005130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30005131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30005132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30005133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30005134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30005135, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30005616 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325373, 'mtr_portfolio_id': 30005616, 'created_at': datetime.datetime(2026, 1, 8, 5, 41, 31), 'result': '0.05525133397869822', 'result_long': None, 'result_double': None}] Qualite : 0.05525133397869822 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30005616 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005616_08-01-2026_05_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30005616 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005616_08-01-2026_05_41_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30005617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30005618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30005619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30005620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30005621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30005622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30005623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30005624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30005625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30005626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30005627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30005628, 'pht': 3726}}" where mtr_portfolio_id = 30005616 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30005616 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142991, 0.05525133397869822, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005616_08-01-2026_05_41_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30005617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30005618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30005619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30005620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30005621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30005622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30005623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30005624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30005625, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30005626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30005627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30005628, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30005785 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325374, 'mtr_portfolio_id': 30005785, 'created_at': datetime.datetime(2026, 1, 8, 5, 42), 'result': '0.05482485725749406', 'result_long': None, 'result_double': None}] Qualite : 0.05482485725749406 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30005785 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005785_08-01-2026_05_42_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30005785 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005785_08-01-2026_05_42_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30005830, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30005831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30005832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30005833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30005834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30005835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30005836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30005837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30005838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30005839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30005840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30005841, 'pht': 3726}}" where mtr_portfolio_id = 30005785 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30005785 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142992, 0.05482485725749406, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30005785_08-01-2026_05_42_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30005830, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30005831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30005832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30005833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30005834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30005835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30005836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30005837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30005838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30005839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30005840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30005841, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30006433 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325375, 'mtr_portfolio_id': 30006433, 'created_at': datetime.datetime(2026, 1, 8, 5, 42, 31), 'result': '0.05741888788846315', 'result_long': None, 'result_double': None}] Qualite : 0.05741888788846315 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30006433 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30006433_08-01-2026_05_42_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30006433 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30006433_08-01-2026_05_42_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30006459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30006460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30006461, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30006462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30006463, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30006464, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30006465, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30006466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30006467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30006468, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30006469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30006470, 'pht': 3726}}" where mtr_portfolio_id = 30006433 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30006433 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142993, 0.05741888788846315, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30006433_08-01-2026_05_42_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30006459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30006460, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30006461, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30006462, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30006463, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30006464, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30006465, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30006466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30006467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30006468, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30006469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30006470, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30006862 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325376, 'mtr_portfolio_id': 30006862, 'created_at': datetime.datetime(2026, 1, 8, 5, 43, 28), 'result': '0.06259747425914222', 'result_long': None, 'result_double': None}] Qualite : 0.06259747425914222 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30006862 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30006862_08-01-2026_05_43_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30006862 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30006862_08-01-2026_05_43_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30006912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30006913, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30006914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30006915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30006916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30006917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30006918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30006919, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30006920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30006921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30006922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30006923, 'pht': 3726}}" where mtr_portfolio_id = 30006862 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30006862 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142994, 0.06259747425914222, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30006862_08-01-2026_05_43_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30006912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30006913, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30006914, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30006915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30006916, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30006917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30006918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30006919, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30006920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30006921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30006922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30006923, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30008133 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325377, 'mtr_portfolio_id': 30008133, 'created_at': datetime.datetime(2026, 1, 8, 5, 43, 58), 'result': '0.01564674435668991', 'result_long': None, 'result_double': None}] Qualite : 0.01564674435668991 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30008133 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30008133_08-01-2026_05_43_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30008133 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30008133_08-01-2026_05_43_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30008134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30008135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30008136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30008137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30008138, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30008139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30008140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30008141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30008142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30008143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30008144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30008145, 'pht': 3726}}" where mtr_portfolio_id = 30008133 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30008133 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142995, 0.01564674435668991, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30008133_08-01-2026_05_43_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30008134, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30008135, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30008136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30008137, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30008138, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30008139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30008140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30008141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30008142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30008143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30008144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30008145, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30009247 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325378, 'mtr_portfolio_id': 30009247, 'created_at': datetime.datetime(2026, 1, 8, 5, 44, 31), 'result': '0.007767128188748249', 'result_long': None, 'result_double': None}] Qualite : 0.007767128188748249 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30009247 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30009247_08-01-2026_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30009247 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30009247_08-01-2026_05_44_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30009251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30009252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30009253, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30009254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30009255, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30009256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30009257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30009258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30009259, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30009260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30009261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30009262, 'pht': 3726}}" where mtr_portfolio_id = 30009247 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30009247 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142996, 0.007767128188748249, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30009247_08-01-2026_05_44_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30009251, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30009252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30009253, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30009254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30009255, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30009256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30009257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30009258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30009259, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30009260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30009261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30009262, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30009593 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325379, 'mtr_portfolio_id': 30009593, 'created_at': datetime.datetime(2026, 1, 8, 5, 45, 30), 'result': '0.031687425807450466', 'result_long': None, 'result_double': None}] Qualite : 0.031687425807450466 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30009593 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30009593_08-01-2026_05_45_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30009593 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30009593_08-01-2026_05_45_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30009597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30009598, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30009599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30009600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30009601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30009602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30009603, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30009604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30009605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30009606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30009607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30009608, 'pht': 3726}}" where mtr_portfolio_id = 30009593 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30009593 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142997, 0.031687425807450466, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30009593_08-01-2026_05_45_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30009597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30009598, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30009599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30009600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30009601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30009602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30009603, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30009604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30009605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30009606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30009607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30009608, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30010197 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325380, 'mtr_portfolio_id': 30010197, 'created_at': datetime.datetime(2026, 1, 8, 5, 45, 39), 'result': '0.14204512058446242', 'result_long': None, 'result_double': None}] Qualite : 0.14204512058446242 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30010197 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30010197_08-01-2026_05_45_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30010197 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30010197_08-01-2026_05_45_40.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30010198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30010199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30010200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30010201, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30010202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30010203, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30010204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30010205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30010206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30010207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30010208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30010209, 'pht': 3726}}" where mtr_portfolio_id = 30010197 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30010197 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142998, 0.14204512058446242, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30010197_08-01-2026_05_45_40.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30010198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30010199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30010200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30010201, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30010202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30010203, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30010204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30010205, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30010206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30010207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30010208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30010209, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30010468 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325381, 'mtr_portfolio_id': 30010468, 'created_at': datetime.datetime(2026, 1, 8, 5, 46), 'result': '0.07337793488127957', 'result_long': None, 'result_double': None}] Qualite : 0.07337793488127957 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30010468 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30010468_08-01-2026_05_46_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30010468 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30010468_08-01-2026_05_46_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30010475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30010476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30010477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30010478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30010479, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30010480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30010481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30010482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30010483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30010484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30010485, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30010486, 'pht': 3726}}" where mtr_portfolio_id = 30010468 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30010468 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19142999, 0.07337793488127957, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30010468_08-01-2026_05_46_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30010475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30010476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30010477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30010478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30010479, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30010480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30010481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30010482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30010483, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30010484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30010485, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30010486, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30011725 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325382, 'mtr_portfolio_id': 30011725, 'created_at': datetime.datetime(2026, 1, 8, 5, 46, 13), 'result': '0.0027404002051390555', 'result_long': None, 'result_double': None}] Qualite : 0.0027404002051390555 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30011725 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30011725_08-01-2026_05_46_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30011725 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30011725_08-01-2026_05_46_13.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30011729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30011730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30011731, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30011732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30011733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30011734, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30011735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30011736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30011737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30011738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30011739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30011740, 'pht': 3726}}" where mtr_portfolio_id = 30011725 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30011725 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143000, 0.0027404002051390555, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30011725_08-01-2026_05_46_13.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30011729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30011730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30011731, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30011732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30011733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30011734, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30011735, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30011736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30011737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30011738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30011739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30011740, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30011864 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325383, 'mtr_portfolio_id': 30011864, 'created_at': datetime.datetime(2026, 1, 8, 5, 46, 31), 'result': '0.13208933847964371', 'result_long': None, 'result_double': None}] Qualite : 0.13208933847964371 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30011864 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30011864_08-01-2026_05_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30011864 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30011864_08-01-2026_05_46_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30011869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30011870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30011871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30011872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30011873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30011874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30011875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30011876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30011877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30011878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30011879, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30011880, 'pht': 3726}}" where mtr_portfolio_id = 30011864 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30011864 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143001, 0.13208933847964371, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30011864_08-01-2026_05_46_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30011869, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30011870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30011871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30011872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30011873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30011874, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30011875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30011876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30011877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30011878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30011879, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30011880, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30012493 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325384, 'mtr_portfolio_id': 30012493, 'created_at': datetime.datetime(2026, 1, 8, 5, 47, 31), 'result': '0.14011543555550385', 'result_long': None, 'result_double': None}] Qualite : 0.14011543555550385 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30012493 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30012493_08-01-2026_05_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30012493 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30012493_08-01-2026_05_47_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30012497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30012498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30012499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30012500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30012501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30012502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30012503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30012504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30012505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30012506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30012507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30012508, 'pht': 3726}}" where mtr_portfolio_id = 30012493 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30012493 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143002, 0.14011543555550385, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30012493_08-01-2026_05_47_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30012497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30012498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30012499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30012500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30012501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30012502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30012503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30012504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30012505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30012506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30012507, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30012508, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30013967 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325385, 'mtr_portfolio_id': 30013967, 'created_at': datetime.datetime(2026, 1, 8, 5, 48), 'result': '0.03708154009347683', 'result_long': None, 'result_double': None}] Qualite : 0.03708154009347683 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30013967 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30013967_08-01-2026_05_48_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30013967 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30013967_08-01-2026_05_48_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30013971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30013972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30013973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30013974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30013975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30013976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30013977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30013978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30013979, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30013980, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30013981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30013982, 'pht': 3726}}" where mtr_portfolio_id = 30013967 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30013967 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143003, 0.03708154009347683, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30013967_08-01-2026_05_48_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30013971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30013972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30013973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30013974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30013975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30013976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30013977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30013978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30013979, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30013980, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30013981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30013982, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30014128 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325386, 'mtr_portfolio_id': 30014128, 'created_at': datetime.datetime(2026, 1, 8, 5, 48, 29), 'result': '0.030986524367860566', 'result_long': None, 'result_double': None}] Qualite : 0.030986524367860566 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30014128 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30014128_08-01-2026_05_48_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30014128 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30014128_08-01-2026_05_48_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30014142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30014143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30014144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30014145, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30014146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30014147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30014148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30014149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30014150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30014151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30014152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30014153, 'pht': 3726}}" where mtr_portfolio_id = 30014128 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30014128 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143004, 0.030986524367860566, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30014128_08-01-2026_05_48_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30014142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30014143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30014144, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30014145, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30014146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30014147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30014148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30014149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30014150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30014151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30014152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30014153, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30015597 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325387, 'mtr_portfolio_id': 30015597, 'created_at': datetime.datetime(2026, 1, 8, 5, 49, 28), 'result': '0.03918560776715073', 'result_long': None, 'result_double': None}] Qualite : 0.03918560776715073 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30015597 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30015597_08-01-2026_05_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30015597 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30015597_08-01-2026_05_49_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30015601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30015602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30015603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30015604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30015605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30015606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30015607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30015608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30015609, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30015610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30015611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30015612, 'pht': 3726}}" where mtr_portfolio_id = 30015597 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30015597 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143005, 0.03918560776715073, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30015597_08-01-2026_05_49_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30015601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30015602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30015603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30015604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30015605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30015606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30015607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30015608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30015609, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30015610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30015611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30015612, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30015792 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4325388, 'mtr_portfolio_id': 30015792, 'created_at': datetime.datetime(2026, 1, 8, 5, 50), 'result': '0.045224672050987805', 'result_long': None, 'result_double': None}] Qualite : 0.045224672050987805 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30015792 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30015792_08-01-2026_05_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30015792 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30015792_08-01-2026_05_50_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30015802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30015803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30015804, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30015805, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30015806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30015807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30015808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30015809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30015810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30015811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30015812, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30015813, 'pht': 3726}}" where mtr_portfolio_id = 30015792 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30015792 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143006, 0.045224672050987805, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30015792_08-01-2026_05_50_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30015802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30015803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30015804, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30015805, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30015806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30015807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30015808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30015809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30015810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30015811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30015812, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30015813, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30016267 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4321798, 'mtr_portfolio_id': 30016267, 'created_at': datetime.datetime(2026, 1, 7, 14, 32, 59), 'result': '0.050502616469643165', 'result_long': None, 'result_double': None}] Qualite : 0.050502616469643165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30016267 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30016267_07-01-2026_14_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30016267 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30016267_07-01-2026_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30016306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30016307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30016308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30016309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30016310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30016311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30016312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30016313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30016314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30016315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30016316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30016317, 'pht': 3726}}" where mtr_portfolio_id = 30016267 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30016267 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143007, 0.050502616469643165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30016267_07-01-2026_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30016306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30016307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30016308, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30016309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30016310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30016311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30016312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30016313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30016314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30016315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30016316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30016317, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30016904 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4321858, 'mtr_portfolio_id': 30016904, 'created_at': datetime.datetime(2026, 1, 7, 14, 46, 58), 'result': '0.033514886236474216', 'result_long': None, 'result_double': None}] Qualite : 0.033514886236474216 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30016904 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30016904_07-01-2026_14_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30016904 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30016904_07-01-2026_14_46_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30016925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30016926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30016927, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30016928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30016929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30016930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30016931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30016932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30016933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30016934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30016935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30016936, 'pht': 3726}}" where mtr_portfolio_id = 30016904 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30016904 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143008, 0.033514886236474216, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30016904_07-01-2026_14_46_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30016925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30016926, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30016927, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30016928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30016929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30016930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30016931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30016932, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30016933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30016934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30016935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30016936, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30017547 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4321929, 'mtr_portfolio_id': 30017547, 'created_at': datetime.datetime(2026, 1, 7, 15, 2, 56), 'result': '0.05897271963902756', 'result_long': None, 'result_double': None}] Qualite : 0.05897271963902756 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30017547 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30017547_07-01-2026_15_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30017547 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30017547_07-01-2026_15_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30017555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30017556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30017557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30017558, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30017559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30017560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30017561, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30017562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30017563, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30017564, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30017565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30017566, 'pht': 3726}}" where mtr_portfolio_id = 30017547 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30017547 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143009, 0.05897271963902756, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30017547_07-01-2026_15_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30017555, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30017556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30017557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30017558, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30017559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30017560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30017561, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30017562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30017563, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30017564, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30017565, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30017566, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30018015 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322005, 'mtr_portfolio_id': 30018015, 'created_at': datetime.datetime(2026, 1, 7, 15, 17), 'result': '0.05064700904018109', 'result_long': None, 'result_double': None}] Qualite : 0.05064700904018109 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30018015 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30018015_07-01-2026_15_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30018015 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30018015_07-01-2026_15_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30018048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30018049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30018050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30018051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30018052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30018053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30018054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30018055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30018056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30018057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30018058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30018059, 'pht': 3726}}" where mtr_portfolio_id = 30018015 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30018015 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143010, 0.05064700904018109, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30018015_07-01-2026_15_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30018048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30018049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30018050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30018051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30018052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30018053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30018054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30018055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30018056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30018057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30018058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30018059, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30018710 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322065, 'mtr_portfolio_id': 30018710, 'created_at': datetime.datetime(2026, 1, 7, 15, 34, 59), 'result': '0.05353529490218719', 'result_long': None, 'result_double': None}] Qualite : 0.05353529490218719 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30018710 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30018710_07-01-2026_15_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30018710 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30018710_07-01-2026_15_35_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30018727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30018728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30018729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30018730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30018731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30018732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30018733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30018734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30018735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30018736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30018737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30018738, 'pht': 3726}}" where mtr_portfolio_id = 30018710 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30018710 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143011, 0.05353529490218719, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30018710_07-01-2026_15_35_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30018727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30018728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30018729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30018730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30018731, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30018732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30018733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30018734, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30018735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30018736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30018737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30018738, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30019466 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322150, 'mtr_portfolio_id': 30019466, 'created_at': datetime.datetime(2026, 1, 7, 15, 54, 59), 'result': '0.08661749733974249', 'result_long': None, 'result_double': None}] Qualite : 0.08661749733974249 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30019466 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30019466_07-01-2026_15_54_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30019466 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30019466_07-01-2026_15_54_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30019474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30019475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30019476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30019477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30019478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30019479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30019480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30019481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30019482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30019483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30019484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30019485, 'pht': 3726}}" where mtr_portfolio_id = 30019466 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30019466 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143012, 0.08661749733974249, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30019466_07-01-2026_15_54_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30019474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30019475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30019476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30019477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30019478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30019479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30019480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30019481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30019482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30019483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30019484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30019485, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30020121 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322220, 'mtr_portfolio_id': 30020121, 'created_at': datetime.datetime(2026, 1, 7, 16, 3, 31), 'result': '0.04863153590090776', 'result_long': None, 'result_double': None}] Qualite : 0.04863153590090776 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30020121 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30020121_07-01-2026_16_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30020121 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30020121_07-01-2026_16_03_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30020130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30020131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30020132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30020133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30020134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30020135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30020136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30020137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30020138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30020139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30020140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30020141, 'pht': 3726}}" where mtr_portfolio_id = 30020121 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30020121 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143013, 0.04863153590090776, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30020121_07-01-2026_16_03_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30020130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30020131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30020132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30020133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30020134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30020135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30020136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30020137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30020138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30020139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30020140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30020141, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30020366 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322254, 'mtr_portfolio_id': 30020366, 'created_at': datetime.datetime(2026, 1, 7, 16, 22, 59), 'result': '0.0546993632285205', 'result_long': None, 'result_double': None}] Qualite : 0.0546993632285205 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30020366 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30020366_07-01-2026_16_23_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30020366 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30020366_07-01-2026_16_23_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30020376, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30020377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30020378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30020379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30020380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30020381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30020382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30020383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30020384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30020385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30020386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30020387, 'pht': 3726}}" where mtr_portfolio_id = 30020366 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30020366 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143014, 0.0546993632285205, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30020366_07-01-2026_16_23_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30020376, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30020377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30020378, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30020379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30020380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30020381, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30020382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30020383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30020384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30020385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30020386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30020387, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30021157 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322343, 'mtr_portfolio_id': 30021157, 'created_at': datetime.datetime(2026, 1, 7, 16, 33, 1), 'result': '0.0641264112184009', 'result_long': None, 'result_double': None}] Qualite : 0.0641264112184009 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30021157 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30021157_07-01-2026_16_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30021157 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30021157_07-01-2026_16_33_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30021175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30021176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30021177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30021178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30021179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30021180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30021181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30021182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30021183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30021184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30021185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30021186, 'pht': 3726}}" where mtr_portfolio_id = 30021157 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30021157 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143015, 0.0641264112184009, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30021157_07-01-2026_16_33_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30021175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30021176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30021177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30021178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30021179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30021180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30021181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30021182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30021183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30021184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30021185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30021186, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30021437 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322372, 'mtr_portfolio_id': 30021437, 'created_at': datetime.datetime(2026, 1, 7, 16, 48, 57), 'result': '0.0556395062731642', 'result_long': None, 'result_double': None}] Qualite : 0.0556395062731642 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30021437 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30021437_07-01-2026_16_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30021437 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30021437_07-01-2026_16_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30021467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30021468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30021469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30021470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30021471, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30021472, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30021473, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30021474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30021475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30021476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30021477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30021478, 'pht': 3726}}" where mtr_portfolio_id = 30021437 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30021437 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143016, 0.0556395062731642, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30021437_07-01-2026_16_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30021467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30021468, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30021469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30021470, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30021471, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30021472, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30021473, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30021474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30021475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30021476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30021477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30021478, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30022124 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322436, 'mtr_portfolio_id': 30022124, 'created_at': datetime.datetime(2026, 1, 7, 17, 4, 57), 'result': '0.06361911851027341', 'result_long': None, 'result_double': None}] Qualite : 0.06361911851027341 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30022124 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30022124_07-01-2026_17_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30022124 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30022124_07-01-2026_17_04_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30022137, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30022138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30022139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30022140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30022141, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30022142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30022143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30022144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30022145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30022146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30022147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30022148, 'pht': 3726}}" where mtr_portfolio_id = 30022124 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30022124 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143017, 0.06361911851027341, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30022124_07-01-2026_17_04_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30022137, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30022138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30022139, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30022140, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30022141, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30022142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30022143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30022144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30022145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30022146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30022147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30022148, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30022669 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322510, 'mtr_portfolio_id': 30022669, 'created_at': datetime.datetime(2026, 1, 7, 17, 16, 57), 'result': '0.058487561501514525', 'result_long': None, 'result_double': None}] Qualite : 0.058487561501514525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30022669 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30022669_07-01-2026_17_16_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30022669 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30022669_07-01-2026_17_16_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30022722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30022723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30022724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30022725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30022726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30022727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30022728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30022729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30022730, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30022731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30022732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30022733, 'pht': 3726}}" where mtr_portfolio_id = 30022669 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30022669 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143018, 0.058487561501514525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30022669_07-01-2026_17_16_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30022722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30022723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30022724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30022725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30022726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30022727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30022728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30022729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30022730, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30022731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30022732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30022733, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30023270 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322591, 'mtr_portfolio_id': 30023270, 'created_at': datetime.datetime(2026, 1, 7, 18, 3, 30), 'result': '0.041293334368537674', 'result_long': None, 'result_double': None}] Qualite : 0.041293334368537674 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30023270 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30023270_07-01-2026_18_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30023270 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30023270_07-01-2026_18_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30023280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30023281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30023282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30023283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30023284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30023285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30023286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30023287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30023288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30023289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30023290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30023291, 'pht': 3726}}" where mtr_portfolio_id = 30023270 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30023270 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143019, 0.041293334368537674, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30023270_07-01-2026_18_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30023280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30023281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30023282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30023283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30023284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30023285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30023286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30023287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30023288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30023289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30023290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30023291, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30024335 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322755, 'mtr_portfolio_id': 30024335, 'created_at': datetime.datetime(2026, 1, 7, 18, 19), 'result': '0.03441686989838631', 'result_long': None, 'result_double': None}] Qualite : 0.03441686989838631 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30024335 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30024335_07-01-2026_18_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30024335 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30024335_07-01-2026_18_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30024341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30024342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30024343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30024344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30024345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30024346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30024347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30024348, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30024349, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30024350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30024351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30024352, 'pht': 3726}}" where mtr_portfolio_id = 30024335 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30024335 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143020, 0.03441686989838631, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30024335_07-01-2026_18_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30024341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30024342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30024343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30024344, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30024345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30024346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30024347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30024348, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30024349, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30024350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30024351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30024352, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30024849 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322806, 'mtr_portfolio_id': 30024849, 'created_at': datetime.datetime(2026, 1, 7, 18, 42, 59), 'result': '0.09023403212272008', 'result_long': None, 'result_double': None}] Qualite : 0.09023403212272008 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30024849 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30024849_07-01-2026_18_42_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30024849 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30024849_07-01-2026_18_42_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30024861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30024862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30024863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30024864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30024865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30024866, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30024867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30024868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30024869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30024870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30024871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30024872, 'pht': 3726}}" where mtr_portfolio_id = 30024849 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30024849 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143021, 0.09023403212272008, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30024849_07-01-2026_18_42_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30024861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30024862, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30024863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30024864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30024865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30024866, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30024867, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30024868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30024869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30024870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30024871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30024872, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30025289 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322872, 'mtr_portfolio_id': 30025289, 'created_at': datetime.datetime(2026, 1, 7, 18, 48, 58), 'result': '0.07751083269401277', 'result_long': None, 'result_double': None}] Qualite : 0.07751083269401277 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30025289 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025289_07-01-2026_18_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30025289 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025289_07-01-2026_18_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30025324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30025325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30025326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30025327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30025328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30025329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30025330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30025331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30025332, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30025333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30025334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30025335, 'pht': 3726}}" where mtr_portfolio_id = 30025289 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30025289 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143022, 0.07751083269401277, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025289_07-01-2026_18_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30025324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30025325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30025326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30025327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30025328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30025329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30025330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30025331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30025332, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30025333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30025334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30025335, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30025482 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322889, 'mtr_portfolio_id': 30025482, 'created_at': datetime.datetime(2026, 1, 7, 19, 5, 27), 'result': '0.04293021410019511', 'result_long': None, 'result_double': None}] Qualite : 0.04293021410019511 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30025482 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025482_07-01-2026_19_05_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30025482 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025482_07-01-2026_19_05_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30025493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30025494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30025495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30025496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30025497, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30025498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30025499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30025500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30025501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30025502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30025503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30025504, 'pht': 3726}}" where mtr_portfolio_id = 30025482 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30025482 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143023, 0.04293021410019511, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025482_07-01-2026_19_05_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30025493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30025494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30025495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30025496, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30025497, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30025498, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30025499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30025500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30025501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30025502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30025503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30025504, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30025984 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4322952, 'mtr_portfolio_id': 30025984, 'created_at': datetime.datetime(2026, 1, 7, 19, 16, 30), 'result': '0.05682182459698059', 'result_long': None, 'result_double': None}] Qualite : 0.05682182459698059 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30025984 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025984_07-01-2026_19_16_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30025984 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025984_07-01-2026_19_16_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30025991, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30025992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30025993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30025994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30025995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30025996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30025997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30025998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30025999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30026000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30026001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30026002, 'pht': 3726}}" where mtr_portfolio_id = 30025984 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30025984 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143024, 0.05682182459698059, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30025984_07-01-2026_19_16_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30025991, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30025992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30025993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30025994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30025995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30025996, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30025997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30025998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30025999, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30026000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30026001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30026002, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30026491 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323015, 'mtr_portfolio_id': 30026491, 'created_at': datetime.datetime(2026, 1, 7, 19, 33, 29), 'result': '0.09021418692795662', 'result_long': None, 'result_double': None}] Qualite : 0.09021418692795662 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30026491 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30026491_07-01-2026_19_33_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30026491 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30026491_07-01-2026_19_33_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30026499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30026500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30026501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30026502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30026503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30026504, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30026505, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30026506, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30026507, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30026508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30026509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30026510, 'pht': 3726}}" where mtr_portfolio_id = 30026491 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30026491 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143025, 0.09021418692795662, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30026491_07-01-2026_19_33_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30026499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30026500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30026501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30026502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30026503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30026504, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30026505, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30026506, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30026507, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30026508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30026509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30026510, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30026977 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323089, 'mtr_portfolio_id': 30026977, 'created_at': datetime.datetime(2026, 1, 7, 19, 46, 59), 'result': '0.06697732932951117', 'result_long': None, 'result_double': None}] Qualite : 0.06697732932951117 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30026977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30026977_07-01-2026_19_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30026977 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30026977_07-01-2026_19_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30026988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30026989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30026990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30026991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30026992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30026993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30026994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30026995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30026996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30026997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30026998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30026999, 'pht': 3726}}" where mtr_portfolio_id = 30026977 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30026977 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143026, 0.06697732932951117, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30026977_07-01-2026_19_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30026988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30026989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30026990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30026991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30026992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30026993, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30026994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30026995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30026996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30026997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30026998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30026999, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30027607 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323165, 'mtr_portfolio_id': 30027607, 'created_at': datetime.datetime(2026, 1, 7, 20, 3, 28), 'result': '0.036326983012224076', 'result_long': None, 'result_double': None}] Qualite : 0.036326983012224076 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30027607 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30027607_07-01-2026_20_03_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30027607 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30027607_07-01-2026_20_03_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30027611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30027612, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30027613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30027614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30027615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30027616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30027617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30027618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30027619, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30027620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30027621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30027622, 'pht': 3726}}" where mtr_portfolio_id = 30027607 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30027607 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143027, 0.036326983012224076, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30027607_07-01-2026_20_03_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30027611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30027612, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30027613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30027614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30027615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30027616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30027617, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30027618, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30027619, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30027620, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30027621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30027622, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30028025 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323224, 'mtr_portfolio_id': 30028025, 'created_at': datetime.datetime(2026, 1, 7, 20, 17), 'result': '0.06696223389743043', 'result_long': None, 'result_double': None}] Qualite : 0.06696223389743043 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30028025 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30028025_07-01-2026_20_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30028025 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30028025_07-01-2026_20_17_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30028033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30028034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30028035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30028036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30028037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30028038, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30028039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30028040, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30028042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30028043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30028044, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30028045, 'pht': 3726}}" where mtr_portfolio_id = 30028025 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30028025 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143028, 0.06696223389743043, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30028025_07-01-2026_20_17_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30028033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30028034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30028035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30028036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30028037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30028038, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30028039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30028040, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30028042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30028043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30028044, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30028045, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30028596 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323287, 'mtr_portfolio_id': 30028596, 'created_at': datetime.datetime(2026, 1, 7, 20, 32, 58), 'result': '0.04581538682374502', 'result_long': None, 'result_double': None}] Qualite : 0.04581538682374502 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30028596 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30028596_07-01-2026_20_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30028596 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30028596_07-01-2026_20_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30028645, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30028646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30028647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30028648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30028649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30028650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30028651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30028652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30028653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30028654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30028655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30028656, 'pht': 3726}}" where mtr_portfolio_id = 30028596 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30028596 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143029, 0.04581538682374502, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30028596_07-01-2026_20_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30028645, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30028646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30028647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30028648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30028649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30028650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30028651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30028652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30028653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30028654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30028655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30028656, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30029122 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323366, 'mtr_portfolio_id': 30029122, 'created_at': datetime.datetime(2026, 1, 7, 21, 8, 29), 'result': '0.05666302682078423', 'result_long': None, 'result_double': None}] Qualite : 0.05666302682078423 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30029122 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30029122_07-01-2026_21_08_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30029122 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30029122_07-01-2026_21_08_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30029139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30029140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30029141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30029142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30029143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30029144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30029145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30029146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30029147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30029148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30029149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30029150, 'pht': 3726}}" where mtr_portfolio_id = 30029122 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30029122 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143030, 0.05666302682078423, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30029122_07-01-2026_21_08_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30029139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30029140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30029141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30029142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30029143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30029144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30029145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30029146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30029147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30029148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30029149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30029150, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30029994 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323500, 'mtr_portfolio_id': 30029994, 'created_at': datetime.datetime(2026, 1, 7, 21, 16, 32), 'result': '0.04371468392825144', 'result_long': None, 'result_double': None}] Qualite : 0.04371468392825144 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30029994 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30029994_07-01-2026_21_16_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30029994 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30029994_07-01-2026_21_16_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30029995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30029996, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30029997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30029998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30029999, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030002, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030004, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030006, 'pht': 3726}}" where mtr_portfolio_id = 30029994 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30029994 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143031, 0.04371468392825144, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30029994_07-01-2026_21_16_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30029995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30029996, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30029997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30029998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30029999, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030002, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030004, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030006, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30030148 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323518, 'mtr_portfolio_id': 30030148, 'created_at': datetime.datetime(2026, 1, 7, 21, 34, 57), 'result': '0.07802346702967553', 'result_long': None, 'result_double': None}] Qualite : 0.07802346702967553 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30030148 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030148_07-01-2026_21_34_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30030148 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030148_07-01-2026_21_34_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30030152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030153, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30030154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30030157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30030161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30030162, 'pht': 3726}}" where mtr_portfolio_id = 30030148 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30030148 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143032, 0.07802346702967553, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030148_07-01-2026_21_34_57.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30030152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030153, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30030154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30030157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30030161, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30030162, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30030467 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323561, 'mtr_portfolio_id': 30030467, 'created_at': datetime.datetime(2026, 1, 7, 21, 48, 59), 'result': '0.05641630702449453', 'result_long': None, 'result_double': None}] Qualite : 0.05641630702449453 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30030467 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030467_07-01-2026_21_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30030467 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030467_07-01-2026_21_49_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30030481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30030483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30030487, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30030490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30030492, 'pht': 3726}}" where mtr_portfolio_id = 30030467 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30030467 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143033, 0.05641630702449453, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030467_07-01-2026_21_49_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30030481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30030483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30030487, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030488, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30030490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30030492, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30030938 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323611, 'mtr_portfolio_id': 30030938, 'created_at': datetime.datetime(2026, 1, 7, 22, 6, 11), 'result': '0.04873842150937715', 'result_long': None, 'result_double': None}] Qualite : 0.04873842150937715 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30030938 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030938_07-01-2026_22_06_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30030938 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030938_07-01-2026_22_06_12.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30030945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30030946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30030947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30030948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30030952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030953, 'pht': 3726}}" where mtr_portfolio_id = 30030938 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30030938 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143034, 0.04873842150937715, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30030938_07-01-2026_22_06_12.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30030942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30030943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30030944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30030945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30030946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30030947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30030948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30030949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30030950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30030951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30030952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30030953, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30031483 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323741, 'mtr_portfolio_id': 30031483, 'created_at': datetime.datetime(2026, 1, 7, 22, 17), 'result': '0.06228336133050739', 'result_long': None, 'result_double': None}] Qualite : 0.06228336133050739 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30031483 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30031483_07-01-2026_22_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30031483 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30031483_07-01-2026_22_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30031486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30031487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30031488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30031489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30031490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30031491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30031492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30031493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30031494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30031495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30031496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30031497, 'pht': 3726}}" where mtr_portfolio_id = 30031483 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30031483 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143035, 0.06228336133050739, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30031483_07-01-2026_22_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30031486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30031487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30031488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30031489, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30031490, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30031491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30031492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30031493, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30031494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30031495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30031496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30031497, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30032199 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323803, 'mtr_portfolio_id': 30032199, 'created_at': datetime.datetime(2026, 1, 7, 22, 32, 59), 'result': '0.05541676535868887', 'result_long': None, 'result_double': None}] Qualite : 0.05541676535868887 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30032199 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30032199_07-01-2026_22_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30032199 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30032199_07-01-2026_22_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30032239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30032240, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30032241, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30032242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30032243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30032244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30032245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30032246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30032247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30032248, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30032249, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30032250, 'pht': 3726}}" where mtr_portfolio_id = 30032199 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30032199 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143036, 0.05541676535868887, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30032199_07-01-2026_22_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30032239, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30032240, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30032241, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30032242, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30032243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30032244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30032245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30032246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30032247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30032248, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30032249, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30032250, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30032701 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323849, 'mtr_portfolio_id': 30032701, 'created_at': datetime.datetime(2026, 1, 7, 22, 48, 57), 'result': '0.07176312823161257', 'result_long': None, 'result_double': None}] Qualite : 0.07176312823161257 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30032701 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30032701_07-01-2026_22_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30032701 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30032701_07-01-2026_22_48_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30032735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30032737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30032738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30032739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30032740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30032741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30032742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30032743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30032744, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30032745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30032746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30032747, 'pht': 3726}}" where mtr_portfolio_id = 30032701 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30032701 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143037, 0.07176312823161257, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30032701_07-01-2026_22_48_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30032735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30032737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30032738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30032739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30032740, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30032741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30032742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30032743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30032744, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30032745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30032746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30032747, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30033526 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323914, 'mtr_portfolio_id': 30033526, 'created_at': datetime.datetime(2026, 1, 7, 23, 4, 57), 'result': '0.0703166300631407', 'result_long': None, 'result_double': None}] Qualite : 0.0703166300631407 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30033526 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30033526_07-01-2026_23_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30033526 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30033526_07-01-2026_23_04_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30033539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30033540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30033541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30033542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30033543, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30033544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30033545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30033546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30033547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30033548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30033549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30033550, 'pht': 3726}}" where mtr_portfolio_id = 30033526 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30033526 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143038, 0.0703166300631407, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30033526_07-01-2026_23_04_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30033539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30033540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30033541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30033542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30033543, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30033544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30033545, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30033546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30033547, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30033548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30033549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30033550, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30034210 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4323980, 'mtr_portfolio_id': 30034210, 'created_at': datetime.datetime(2026, 1, 7, 23, 19), 'result': '0.06028908752326231', 'result_long': None, 'result_double': None}] Qualite : 0.06028908752326231 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30034210 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30034210_07-01-2026_23_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30034210 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30034210_07-01-2026_23_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30034219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30034220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30034221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30034222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30034223, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30034224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30034225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30034226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30034227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30034228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30034229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30034230, 'pht': 3726}}" where mtr_portfolio_id = 30034210 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30034210 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143039, 0.06028908752326231, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30034210_07-01-2026_23_19_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30034219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30034220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30034221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30034222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30034223, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30034224, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30034225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30034226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30034227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30034228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30034229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30034230, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30034820 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4324054, 'mtr_portfolio_id': 30034820, 'created_at': datetime.datetime(2026, 1, 7, 23, 33), 'result': '0.07723029760992839', 'result_long': None, 'result_double': None}] Qualite : 0.07723029760992839 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30034820 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30034820_07-01-2026_23_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30034820 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30034820_07-01-2026_23_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30034829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30034830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30034831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30034832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30034833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30034834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30034835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30034836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30034837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30034838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30034839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30034840, 'pht': 3726}}" where mtr_portfolio_id = 30034820 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30034820 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143040, 0.07723029760992839, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30034820_07-01-2026_23_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30034829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30034830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30034831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30034832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30034833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30034834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30034835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30034836, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30034837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30034838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30034839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30034840, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30035513 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4324133, 'mtr_portfolio_id': 30035513, 'created_at': datetime.datetime(2026, 1, 7, 23, 48, 58), 'result': '0.06639760608195727', 'result_long': None, 'result_double': None}] Qualite : 0.06639760608195727 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30035513 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30035513_07-01-2026_23_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30035513 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30035513_07-01-2026_23_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30035514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30035515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30035516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30035517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30035518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30035519, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30035520, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30035521, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30035522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30035523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30035524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30035525, 'pht': 3726}}" where mtr_portfolio_id = 30035513 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30035513 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143041, 0.06639760608195727, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30035513_07-01-2026_23_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30035514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30035515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30035516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30035517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30035518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30035519, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30035520, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30035521, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30035522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30035523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30035524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30035525, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 30036264 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 4324203, 'mtr_portfolio_id': 30036264, 'created_at': datetime.datetime(2026, 1, 8, 0, 26), 'result': '0.08630913194117598', 'result_long': None, 'result_double': None}] Qualite : 0.08630913194117598 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30036264 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30036264_08-01-2026_00_26_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30036264 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30036264_08-01-2026_00_26_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30036290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30036291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30036292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30036293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30036294, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30036295, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30036296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30036297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30036298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30036299, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30036300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30036301, 'pht': 3726}}" where mtr_portfolio_id = 30036264 and dashboard_run_id = 2868582 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30036264 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19143042, 0.08630913194117598, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30036264_08-01-2026_00_26_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30036290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30036291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30036292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30036293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30036294, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30036295, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30036296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30036297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30036298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30036299, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30036300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30036301, '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 (29999365,29999670,30000240,30000381,30001385,30001625,30001993,30002683,30003176,30003654,30004058,30004504,30005091,30005616,30005785,30006433,30006862,30008133,30009247,30009593,30010197,30010468,30011725,30011864,30012493,30013967,30014128,30015597,30015792,30016267,30016904,30017547,30018015,30018710,30019466,30020121,30020366,30021157,30021437,30022124,30022669,30023270,30024335,30024849,30025289,30025482,30025984,30026491,30026977,30027607,30028025,30028596,30029122,30029994,30030148,30030467,30030938,30031483,30032199,30032701,30033526,30034210,30034820,30035513,30036264) result : ((1402725806,), (1402725885,), (1402725888,), (1402725954,), (1402725956,), (1402725957,), (1402725959,), (1402726002,), (1402726004,), (1402726006,), (1402726033,), (1402726034,), (1402726036,), (1402726038,), (1402726054,), (1402726055,), (1402726058,), (1402726060,), (1402726064,), (1402726067,), (1402726080,), (1402726081,), (1402726086,), (1402726091,), (1402726189,), (1402726205,), (1402726236,), (1402726249,), (1402726250,), (1402726251,), (1402726261,), (1402726451,), (1402726452,), (1402726482,), (1402726520,), (1402726557,), (1402726579,), (1402726590,), (1402726591,), (1402726592,), (1402726656,), (1402726658,), (1402726661,), (1402726663,), (1402726666,), (1402726670,), (1402726677,), (1402726679,), (1402726680,), (1402726682,), (1402726683,), (1402726684,), (1402726686,), (1402726688,), (1402726692,), (1402726695,), (1402726734,), (1402726726,), (1402726727,), (1402726728,), (1402726730,), (1402726746,), (1402726747,), (1402726748,), (1402726790,), (1402726791,), (1402726793,), (1402726794,), (1402726837,), (1402726838,), (1402726839,), (1402726841,), (1402726844,), (1402726927,), (1402726931,), (1402726933,), (1402726935,), (1402726948,), (1402726949,), (1402726950,), (1402727047,), (1402727048,), (1402727049,), (1402727052,), (1402727055,), (1402727058,), (1402727061,), (1402727062,), (1402727063,), (1402727084,), (1402727085,), (1402727087,), (1402727104,), (1402727105,), (1402727129,), (1402727140,), (1402727149,), (1402727152,), (1402727156,), (1402727227,), (1402727229,), (1402727363,), (1402727462,), (1402727384,), (1402727476,), (1402727537,), (1402727538,), (1402727555,), (1402727556,), (1402727558,), (1402727562,), (1402727565,), (1402727568,), (1402727571,), (1402727572,), (1402727574,), (1402727575,), (1402727583,), (1402727584,), (1402727585,), (1402727601,), (1402727602,), (1402727603,), (1402727604,), (1402727607,), (1402727620,), (1402727621,), (1402727623,), (1402727624,), (1402727625,), (1402727626,), (1402727639,), (1402727640,), (1402727641,), (1402727677,), (1402727670,), (1402727671,), (1402727673,), (1402727674,), (1402727687,), (1402727688,), (1402727690,), (1402727693,), (1402727696,), (1402727712,), (1402727713,), (1402727716,), (1402728061,), (1402728094,), (1402728127,), (1402728140,), (1402728144,), (1402728287,), (1402728320,), (1402728338,), (1402728340,), (1402728363,), (1402728391,), (1402728392,), (1402728393,), (1402728394,), (1402728398,), (1402728412,), (1402728413,), (1402728415,), (1402728425,), (1402728426,), (1402728427,), (1402728428,), (1402728431,), (1402728433,), (1402728452,), (1402728453,), (1402728454,), (1402728456,), (1402728470,), (1402728473,), (1402728475,), (1402728478,), (1402728482,), (1402728484,), (1402728496,), (1402728497,), (1402728498,), (1402728506,), (1402728507,), (1402728508,), (1402728509,), (1402728523,), (1402728524,), (1402728525,), (1402728526,), (1402728529,), (1402728536,), (1402728539,), (1402728542,), (1402728546,), (1402728549,), (1402728557,), (1402732292,), (1402732293,), (1402732328,), (1402732356,), (1402732359,), (1402732365,), (1402732369,), (1402732374,), (1402732548,), (1402732549,), (1402732550,), (1402732552,), (1402732556,), (1402732572,), (1402732582,), (1402732593,), (1402732594,), (1402732596,), (1402732597,), (1402732627,), (1402732628,), (1402732629,), (1402732653,), (1402732682,), (1402732711,), (1402732712,), (1402732713,), (1402732716,), (1402732719,), (1402732722,), (1402732731,), (1402732732,), (1402732733,), (1402732734,), (1402732751,), (1402732752,), (1402732754,), (1402732765,), (1402732766,), (1402732770,), (1402732771,), (1402732774,), (1402732776,), (1402732803,), (1402732793,), (1402732795,), (1402732798,), (1402732800,), (1402732809,), (1402732811,), (1402732814,), (1402732839,), (1402732845,), (1402732847,), (1402732850,), (1402732853,), (1402732865,), (1402732866,), (1402732867,), (1402732868,), (1402732872,), (1402732900,), (1402732901,), (1402732903,), (1402732916,), (1402732917,), (1402732919,), (1402732920,), (1402732923,), (1402732925,), (1402732957,), (1402732958,), (1402732959,), (1402732960,), (1402732963,), (1402732966,), (1402732976,), (1402732978,), (1402732997,), (1402732999,), (1402733001,), (1402733002,), (1402733005,), (1402733008,), (1402733019,), (1402733021,), (1402733023,), (1402733036,), (1402733038,), (1402733040,), (1402733044,), (1402733046,), (1402733079,), (1402733081,), (1402733101,), (1402733105,), (1402733110,), (1402733118,), (1402733119,), (1402733122,), (1402733123,), (1402733125,), (1402733126,), (1402733129,), (1402733131,), (1402733177,), (1402733140,), (1402733141,), (1402733142,), (1402733143,), (1402733147,), (1402733499,), (1402733531,), (1402733569,), (1402733994,), (1402734111,), (1402734241,), (1402734359,), (1402734465,), (1402734573,), (1402734885,), (1402734967,), (1402735029,), (1402735095,), (1402735161,), (1402735242,), (1402735613,), (1402735648,), (1402735676,), (1402735677,), (1402735951,), (1402735987,), (1402736022,), (1402736023,), (1402736049,), (1402736290,), (1402736304,), (1402736314,), (1402736348,), (1402736363,), (1402736366,), (1402736615,), (1402736652,), (1402737048,), (1402737050,), (1402737055,), (1402737058,), (1402737280,), (1402737287,), (1402737289,), (1402737311,), (1402737354,), (1402737409,), (1402737410,), (1402737411,), (1402737412,), (1402737424,), (1402737425,), (1402737426,), (1402737428,), (1402737432,), (1402737458,), (1402737460,), (1402737462,), (1402737464,), (1402737467,), (1402737489,), (1402737496,), (1402737510,), (1402737511,), (1402737513,), (1402737514,), (1402737547,), (1402737539,), (1402737540,), (1402737542,), (1402737544,), (1402737569,), (1402737571,), (1402737572,), (1402737573,), (1402737577,), (1402737581,), (1402737602,), (1402737603,), (1402737624,), (1402737625,), (1402737626,), (1402737628,), (1402737665,), (1402737696,), (1402737697,), (1402737698,), (1402737713,), (1402737714,), (1402737716,), (1402737718,), (1402737721,), (1402737740,), (1402737758,), (1402737759,), (1402737760,), (1402737761,), (1402737785,), (1402737786,), (1402737797,), (1402737799,), (1402737802,), (1402737806,), (1402737811,), (1402737816,), (1402737827,), (1402737828,), (1402737829,), (1402737831,), (1402737835,), (1402737854,), (1402737855,), (1402737856,), (1402737857,), (1402737887,), (1402737890,), (1402737891,), (1402737893,), (1402737917,), (1402737905,), (1402737906,), (1402737907,), (1402737910,), (1402737914,), (1402737939,), (1402737946,), (1402737947,), (1402737949,), (1402737953,), (1402737956,), (1402737971,), (1402737972,), (1402737973,), (1402737975,), (1402737979,), (1402737982,), (1402737994,), (1402738013,), (1402738014,), (1402738015,), (1402738017,), (1402738021,), (1402738037,), (1402738044,), (1402738050,), (1402738052,), (1402738055,), (1402738067,), (1402738068,), (1402738070,), (1402738072,), (1402738075,), (1402738099,), (1402738105,), (1402738114,), (1402738116,), (1402738118,), (1402738121,), (1402738123,), (1402738125,), (1402738149,), (1402738150,), (1402738151,), (1402738153,), (1402738157,), (1402738159,), (1402738171,), (1402738172,), (1402738173,), (1402738175,), (1402738209,), (1402738211,), (1402738213,), (1402738224,), (1402738226,), (1402738227,), (1402738230,), (1402738245,), (1402738247,), (1402738249,), (1402738252,), (1402738256,), (1402738263,), (1402738266,), (1402738268,), (1402738271,), (1402738275,), (1402738277,), (1402738298,), (1402738295,), (1402738297,), (1402738308,), (1402738309,), (1402738310,), (1402738311,), (1402738315,), (1402738318,), (1402738328,), (1402738330,), (1402738332,), (1402738335,), (1402738350,), (1402738353,), (1402738357,), (1402738388,), (1402738389,), (1402738391,), (1402738393,), (1402738403,), (1402738405,), (1402738409,), (1402738414,), (1402738418,), (1402738423,), (1402738436,), (1402738437,), (1402738438,), (1402738439,), (1402738441,), (1402738444,), (1402738447,), (1402738451,), (1402738456,), (1402738470,), (1402738471,), (1402738497,), (1402738498,), (1402738499,), (1402738501,), (1402738505,), (1402738507,), (1402738520,), (1402738521,), (1402738523,), (1402738525,), (1402738528,), (1402738541,), (1402738542,), (1402738544,), (1402738555,), (1402738557,), (1402738558,), (1402738562,), (1402738565,), (1402738592,), (1402738593,), (1402738595,), (1402738597,), (1402738613,), (1402738617,), (1402738621,), (1402738625,), (1402738628,), (1402738630,), (1402738662,), (1402738648,), (1402738651,), (1402738654,), (1402738658,), (1402738672,), (1402738674,), (1402738677,), (1402738680,), (1402738683,), (1402738686,), (1402738705,), (1402738714,), (1402738715,), (1402738717,), (1402738749,), (1402738751,), (1402738752,), (1402738755,), (1402738766,), (1402738767,), (1402738768,), (1402738769,), (1402738772,), (1402738785,), (1402738786,), (1402738787,), (1402738788,), (1402738813,), (1402738814,), (1402738815,), (1402738816,), (1402738819,), (1402738850,), (1402738851,), (1402738852,), (1402738854,), (1402738857,), (1402738859,), (1402738873,), (1402738874,), (1402738876,), (1402738878,), (1402738890,), (1402738892,), (1402738893,), (1402738907,), (1402738909,), (1402738911,), (1402738913,), (1402738915,), (1402738938,), (1402738940,), (1402738943,), (1402738945,), (1402738948,), (1402738950,), (1402738960,), (1402738962,), (1402738986,), (1402738988,), (1402738990,), (1402738992,), (1402739017,), (1402739019,), (1402739021,), (1402739054,), (1402739051,), (1402739052,), (1402739053,), (1402739064,), (1402739065,), (1402739094,), (1402739095,), (1402739097,), (1402739099,), (1402739101,), (1402739134,), (1402739135,), (1402739136,), (1402739138,), (1402739142,), (1402739170,), (1402739171,), (1402739172,), (1402739174,), (1402739178,), (1402739195,), (1402739196,), (1402739198,), (1402739199,), (1402739203,), (1402739232,), (1402739233,), (1402739235,), (1402739237,), (1402739240,), (1402739255,), (1402739256,), (1402739257,), (1402739259,), (1402739284,), (1402739291,), (1402739292,), (1402739294,), (1402739312,), (1402739326,), (1402739327,), (1402739331,), (1402739334,), (1402739357,), (1402739358,), (1402739359,), (1402739361,), (1402739365,), (1402739368,), (1402739378,), (1402739379,), (1402739380,), (1402739381,), (1402739385,), (1402739389,), (1402739414,), (1402739417,), (1402739419,), (1402739430,), (1402739431,), (1402739432,), (1402739433,), (1402739460,), (1402739463,), (1402739465,), (1402739467,), (1402739501,), (1402739491,), (1402739493,), (1402739494,), (1402739497,), (1402739519,), (1402739523,), (1402739525,), (1402739526,), (1402739540,), (1402739541,), (1402739542,), (1402739544,), (1402739547,), (1402739566,), (1402739568,), (1402739570,), (1402739573,), (1402739576,), (1402739579,), (1402739586,), (1402739587,), (1402739589,), (1402739606,), (1402739607,), (1402739609,), (1402739610,), (1402739614,), (1402739643,), (1402739646,), (1402739648,), (1402739653,), (1402739657,), (1402739672,), (1402739673,), (1402739675,), (1402739685,), (1402739686,), (1402739687,), (1402739688,), (1402739690,), (1402739692,), (1402739719,), (1402739720,), (1402739722,), (1402739724,), (1402739727,), (1402739729,), (1402739748,), (1402739751,), (1402739752,), (1402739754,), (1402739757,), (1402739759,), (1402739788,), (1402739789,), (1402739790,), (1402739793,), (1402739796,), (1402739798,), (1402739808,), (1402739972,), (1402739971,), (1402739994,), (1402740019,), (1402740020,), (1402740040,), (1402740041,), (1402740042,), (1402740045,), (1402740048,), (1402740051,), (1402740056,), (1402740057,), (1402740058,), (1402740059,), (1402740060,), (1402740061,), (1402740064,), (1402740083,), (1402740084,), (1402740086,), (1402740087,), (1402740102,), (1402740103,), (1402740104,), (1402740105,), (1402740116,), (1402740117,), (1402740118,), (1402740119,), (1402740128,), (1402740130,), (1402740132,), (1402740136,), (1402740140,), (1402740157,), (1402740158,), (1402740159,), (1402740160,), (1402740163,), (1402740645,), (1402740648,), (1402740651,), (1402740674,), (1402740709,), (1402740763,), (1402741047,), (1402741093,), (1402741125,), (1402741664,), (1402741344,), (1402741414,), (1402741489,), (1402741595,), (1402742243,), (1402742305,), (1402742364,), (1402742432,), (1402742476,), (1402742511,), (1402742774,), (1402742786,), (1402742789,), (1402742793,), (1402743290,), (1402743324,), (1402743334,), (1402743335,), (1402743517,), (1402743546,), (1402743562,), (1402743608,), (1402743648,), (1402743682,), (1402743837,), (1402743849,), (1402743859,), (1402743862,), (1402743884,), (1402743886,), (1402743888,), (1402743891,), (1402743911,), (1402743913,), (1402743915,), (1402743918,), (1402743921,), (1402743939,), (1402743941,), (1402743943,), (1402743946,), (1402743983,), (1402743985,), (1402743987,), (1402743990,), (1402743994,), (1402743995,), (1402744015,), (1402744017,), (1402744020,), (1402744024,), (1402744027,), (1402744049,), (1402744051,), (1402744053,), (1402744062,), (1402744090,), (1402744092,), (1402744095,), (1402744097,), (1402744098,), (1402744100,), (1402744129,), (1402744131,), (1402744133,), (1402744136,), (1402744139,), (1402744140,), (1402744153,), (1402744155,), (1402744205,), (1402744246,), (1402744196,), (1402744202,), (1402744241,), (1402744242,), (1402744243,), (1402744285,), (1402744287,), (1402744289,), (1402744319,), (1402744321,), (1402744324,), (1402744326,), (1402744356,), (1402744358,), (1402744360,), (1402744363,), (1402744379,), (1402744381,), (1402744383,), (1402744417,), (1402744418,), (1402744419,), (1402744421,), (1402744424,), (1402744427,), (1402744438,), (1402744439,), (1402744442,), (1402744445,), (1402744448,), (1402744452,), (1402744476,), (1402744484,), (1402744486,), (1402744488,), (1402744489,), (1402744491,), (1402744498,), (1402744501,), (1402744504,), (1402744511,), (1402744519,), (1402744528,), (1402744529,), (1402744531,), (1402744532,), (1402744565,), (1402744566,), (1402744567,), (1402744569,), (1402744573,), (1402744574,), (1402744590,), (1402744591,), (1402744592,), (1402744595,), (1402744598,), (1402744601,), (1402744626,), (1402744637,), (1402744665,), (1402744666,), (1402744667,), (1402744668,), (1402744671,), (1402744674,), (1402744707,), (1402744712,), (1402744713,), (1402744714,), (1402744718,), (1402744722,), (1402744748,), (1402744744,), (1402744746,), (1402744768,), (1402744770,), (1402744772,), (1402744774,), (1402744834,), (1402744841,), (1402744845,), (1402744849,), (1402744853,), (1402744873,), (1402744876,), (1402744879,), (1402744882,), (1402744885,), (1402744898,), (1402744900,), (1402744903,), (1402744944,), (1402744951,), (1402744954,), (1402744956,), (1402744988,), (1402744990,), (1402744993,), (1402744998,), (1402745002,), (1402745006,), (1402745044,), (1402745045,), (1402745047,), (1402745049,), (1402745064,), (1402745066,), (1402745068,), (1402745070,), (1402745073,), (1402745076,), (1402745115,), (1402745116,), (1402745118,), (1402745119,), (1402745122,), (1402745125,), (1402748303,), (1402752157,), (1402752172,), (1402752247,), (1402752265,), (1402752281,), (1402752282,), (1402752341,), (1402752344,), (1402752598,), (1402752765,), (1402755283,), (1402755370,), (1402755381,), (1402755577,), (1402755740,), (1402755795,), (1402755829,), (1402755864,), (1402755865,), (1402755896,), (1402755958,), (1402755959,), (1402755975,), (1402755976,), (1402755988,), (1402755989,), (1402756583,), (1402756958,), (1402761251,), (1402761379,), (1402761380,), (1402761552,), (1402761553,), (1402761554,), (1402761580,), (1402761581,), (1402761594,), (1402761608,), (1402761680,), (1402761679,), (1402761723,), (1402761814,), (1402761817,), (1402762297,), (1402762344,), (1402762414,), (1402762516,), (1402762767,), (1402762980,), (1402769082,), (1402769245,), (1402769309,), (1402769310,), (1402769391,), (1402769654,), (1402769762,), (1402769992,), (1402770192,), (1402770211,), (1402770212,), (1402770213,), (1402770222,), (1402770223,), (1402770247,), (1402770607,), (1402770643,), (1402770644,), (1402770651,), (1402770676,), (1402770750,), (1402770751,), (1402771332,), (1402773716,), (1402774740,), (1402774765,), (1402774842,), (1402775125,), (1402775451,), (1402775452,), (1402775465,), (1402775555,), (1402775556,), (1402775585,), (1402775681,), (1402780931,), (1402781103,), (1402781114,), (1402781120,), (1402781367,), (1402781540,), (1402781541,), (1402781697,), (1402781888,), (1402781889,), (1402782119,), (1402782141,), (1402782144,), (1402782167,), (1402782169,), (1402782174,), (1402782490,), (1402782626,), (1402783562,), (1402787988,), (1402788140,), (1402788204,), (1402788205,), (1402788207,), (1402788209,), (1402788212,), (1402788240,), (1402788257,), (1402788263,), (1402788267,), (1402788270,), (1402788303,), (1402788412,), (1402788415,), (1402788417,), (1402788435,), (1402788437,), (1402788477,), (1402788479,), (1402788481,), (1402788482,), (1402789001,), (1402789035,), (1402789182,), (1402789184,), (1402789281,), (1402789295,), (1402789357,), (1402789358,), (1402789360,), (1402789362,), (1402789365,), (1402789382,), (1402789384,), (1402789386,), (1402789388,), (1402789391,), (1402789395,), (1402789408,), (1402789410,), (1402789413,), (1402789780,), (1402789629,), (1402789662,), (1402789699,), (1402789736,), (1402790068,), (1402790122,), (1402790209,), (1402790247,), (1402790298,), (1402790568,), (1402790570,), (1402790590,), (1402790786,), (1402790788,), (1402790791,), (1402790794,), (1402790798,), (1402791154,), (1402791172,), (1402791192,), (1402791216,), (1402791218,), (1402791221,), (1402791256,), (1402791258,), (1402791316,), (1402791358,), (1402791361,), (1402791364,), (1402791588,), (1402791593,), (1402791703,), (1402791712,), (1402791713,), (1402791719,), (1402791725,), (1402791732,), (1402791870,), (1402791884,), (1402791904,), (1402791906,), (1402791927,), (1402791951,), (1402791954,), (1402791986,), (1402791988,), (1402792010,), (1402792074,), (1402792077,), (1402792080,), (1402792082,), (1402792104,), (1402792132,), (1402792134,), (1402792137,), (1402792156,), (1402792157,), (1402792158,), (1402792191,), (1402792195,), (1402792196,), (1402792199,), (1402792201,), (1402792202,), (1402792216,), (1402792218,), (1402792237,), (1402792271,), (1402792305,), (1402792430,), (1402792503,), (1402792511,), (1402792518,), (1402792530,), (1402792534,), (1402792549,), (1402792551,), (1402792553,), (1402792557,), (1402792562,), (1402792590,), (1402792592,), (1402792595,), (1402792615,), (1402792617,), (1402792619,), (1402792623,), (1402792665,), (1402792667,), (1402792669,), (1402792671,), (1402792675,), (1402792678,), (1402792686,), (1402792695,), (1402792698,), (1402792714,), (1402792724,), (1402792776,), (1402792809,), (1402792845,), (1402792982,), (1402793200,), (1402793198,), (1402793218,), (1402793219,), (1402793240,), (1402793251,), (1402793255,), (1402793256,), (1402793277,), (1402793279,), (1402793281,), (1402793284,), (1402793288,), (1402793290,), (1402793318,), (1402793320,), (1402793323,), (1402793326,), (1402793331,), (1402793360,), (1402793362,), (1402793390,), (1402793430,), (1402793466,), (1402793499,), (1402793501,), (1402793505,), (1402793509,), (1402793554,), (1402793556,), (1402793560,), (1402793563,), (1402793567,), (1402793596,), (1402793611,), (1402793616,), (1402793619,), (1402793623,), (1402793643,), (1402793644,), (1402793647,), (1402793650,), (1402793693,), (1402793696,), (1402793716,), (1402793720,), (1402793725,), (1402793729,), (1402793744,), (1402793746,), (1402793750,), (1402793753,), (1402793798,), (1402793800,), (1402793802,), (1402793953,), (1402793957,), (1402793960,), (1402793965,), (1402793968,), (1402794031,), (1402794023,), (1402794027,), (1402794440,), (1402794672,), (1402794752,), (1402794829,), (1402794897,), (1402795016,), (1402795479,), (1402795549,), (1402799051,), (1402799083,), (1402799137,), (1402799516,), (1402799618,), (1402799651,), (1402799666,), (1402799669,), (1402799829,), (1402799830,), (1402799833,), (1402799835,), (1402800050,), (1402800081,), (1402800112,), (1402800149,), (1402800444,), (1402800451,), (1402800466,), (1402800496,), (1402800529,), (1402800714,), (1402800716,), (1402800743,), (1402801139,), (1402801034,), (1402801069,), (1402801103,), (1402801623,), (1402801658,), (1402801690,), (1402801694,), (1402801698,), (1402801833,), (1402802015,), (1402802018,), (1402802023,), (1402802173,), (1402802270,), (1402802361,), (1402802471,), (1402803329,), (1402803331,), (1402803348,), (1402803353,), (1402803356,), (1402803658,), (1402803660,), (1402803740,), (1402803762,), (1402803796,), (1402804071,), (1402804077,), (1402804086,), (1402804116,), (1402804118,), (1402804120,), (1402804228,), (1402804246,), (1402804265,), (1402804271,), (1402804292,), (1402804307,), (1402804309,), (1402804311,), (1402804314,), (1402804318,), (1402804321,), (1402804347,), (1402804349,), (1402804352,), (1402804447,), (1402804483,), (1402804493,), (1402804517,), (1402804537,), (1402804578,), (1402804580,), (1402804583,), (1402804586,), (1402804590,), (1402804636,), (1402804879,), (1402804629,), (1402804631,), (1402804633,), (1402804776,), (1402804778,), (1402804796,), (1402804829,), (1402804832,), (1402804855,), (1402804877,), (1402804878,), (1402804883,), (1402804884,), (1402804886,), (1402804889,), (1402804892,), (1402805408,), (1402806658,), (1402806708,), (1402806516,), (1402806679,), (1402806680,), (1402806692,), (1402806698,), (1402806773,), (1402806823,), (1402806826,), (1402806828,), (1402806832,), (1402806838,), (1402806845,), (1402806847,), (1402806850,), (1402806864,), (1402806867,), (1402806870,), (1402806873,), (1402806876,), (1402806929,), (1402806964,), (1402806965,), (1402806967,), (1402806970,), (1402806974,), (1402806977,), (1402806995,), (1402807007,), (1402807017,), (1402807021,), (1402807034,), (1402807060,), (1402807052,), (1402807054,), (1402807057,), (1402807084,), (1402807085,), (1402807108,), (1402807145,), (1402807507,), (1402807539,), (1402807587,), (1402807655,), (1402807721,), (1402807792,), (1402808398,), (1402808400,), (1402808984,), (1402809062,), (1402809077,), (1402809096,), (1402809099,), (1402809101,), (1402809119,), (1402809120,), (1402809123,), (1402809141,), (1402809597,), (1402809629,), (1402809670,), (1402809924,), (1402809955,), (1402809994,), (1402810234,), (1402810238,), (1402810243,), (1402810254,), (1402810316,), (1402810318,), (1402810332,), (1402810355,), (1402810392,), (1402810394,), (1402810397,), (1402810399,), (1402810405,), (1402810798,), (1402812106,), (1402812096,), (1402812102,), (1402812150,), (1402812152,), (1402812154,), (1402812198,), (1402812231,), (1402812233,), (1402812235,), (1402812237,), (1402812241,), (1402812306,), (1402812313,), (1402812319,), (1402812322,), (1402812325,), (1402812328,), (1402812445,), (1402812451,), (1402812623,), (1402812628,), (1402812631,), (1402812633,), (1402812636,), (1402812711,), (1402812656,), (1402812657,), (1402812687,), (1402812704,), (1402812707,), (1402812823,), (1402812858,), (1402812860,), (1402812923,), (1402812924,), (1402812927,), (1402812930,), (1402812953,), (1402812955,), (1402812958,), (1402812961,), (1402812964,), (1402812984,), (1402812986,), (1402813008,), (1402813046,), (1402813079,), (1402813086,), (1402813104,), (1402813162,), (1402813165,), (1402813167,), (1402813169,), (1402813172,), (1402813174,), (1402813267,), (1402813282,), (1402813289,), (1402813305,), (1402813316,), (1402813335,), (1402813342,), (1402813344,), (1402813346,), (1402813348,), (1402813383,), (1402813389,), (1402813391,), (1402813394,), (1402813398,), (1402813400,), (1402813409,), (1402813410,), (1402813413,), (1402813416,), (1402813547,), (1402813582,), (1402813620,), (1402813926,), (1402813959,), (1402814171,), (1402814183,), (1402814199,), (1402814205,), (1402814238,), (1402814250,), (1402814253,), (1402814255,), (1402814301,), (1402814290,), (1402814292,), (1402814294,), (1402814297,), (1402814310,), (1402814312,), (1402814486,), (1402814488,), (1402814491,), (1402814511,), (1402814513,), (1402814515,), (1402814518,), (1402814544,), (1402814546,), (1402814548,), (1402814551,), (1402814555,), (1402814573,), (1402814575,), (1402814577,), (1402814608,), (1402814825,), (1402814829,), (1402814967,), (1402814969,), (1402815020,), (1402815022,), (1402815631,), (1402815692,), (1402815755,), (1402815808,), (1402815960,), (1402815961,), (1402815996,), (1402816001,), (1402816031,), (1402816036,), (1402816227,), (1402816610,), (1402816184,), (1402816192,), (1402816196,), (1402816200,), (1402816480,), (1402816512,), (1402816529,), (1402816532,), (1402816548,), (1402816581,), (1402816608,), (1402816609,), (1402816615,), (1402816617,), (1402816619,), (1402816637,), (1402816639,), (1402816644,), (1402816646,), (1402816650,), (1402816652,), (1402816659,), (1402816667,), (1402816671,), (1402816673,), (1402816687,), (1402816717,), (1402816719,), (1402816721,), (1402816724,), (1402816728,), (1402816731,), (1402816741,), (1402816743,), (1402816745,), (1402816748,), (1402816862,), (1402816863,), (1402816865,), (1402816868,), (1402816871,), (1402816873,), (1402816876,), (1402816878,), (1402816880,), (1402816883,), (1402816894,), (1402816896,), (1402816904,), (1402816972,), (1402816974,), (1402816976,), (1402816979,), (1402816983,), (1402816986,), (1402817177,), (1402817178,), (1402817181,), (1402817184,), (1402817247,), (1402817265,), (1402817270,), (1402817273,), (1402817277,), (1402817341,), (1402817585,), (1402817581,), (1402817583,), (1402817612,), (1402817613,), (1402817615,), (1402817618,), (1402817653,), (1402817809,), (1402817982,), (1402817984,), (1402817986,), (1402817989,), (1402817992,), (1402818006,), (1402818007,), (1402818009,), (1402818010,), (1402818138,), (1402818139,), (1402818210,), (1402818242,), (1402818275,), (1402818311,), (1402818385,), (1402818386,), (1402818388,), (1402818390,), (1402818420,), (1402818423,), (1402818424,), (1402818425,), (1402818443,), (1402818534,), (1402818562,), (1402818570,), (1402818579,), (1402818588,), (1402818689,), (1402818692,), (1402818695,), (1402818699,), (1402818703,), (1402818718,), (1402818724,), (1402818727,), (1402818730,), (1402818732,), (1402818734,), (1402818738,), (1402818740,), (1402818741,), (1402818761,), (1402818763,), (1402818776,), (1402818787,), (1402818903,), (1402822476,), (1402822391,), (1402823113,), (1402823114,), (1402823115,), (1402823583,), (1402823607,), (1402823608,), (1402823609,), (1402823612,), (1402824451,), (1402824577,), (1402824580,), (1402824660,), (1402824661,), (1402824662,), (1402824683,), (1402824684,), (1402824685,), (1402824686,), (1402824688,), (1402824705,), (1402824706,), (1402824707,), (1402824708,), (1402824711,), (1402824716,), (1402824717,), (1402824718,), (1402824719,), (1402824720,), (1402824721,), (1402824751,), (1402824752,), (1402824753,), (1402824754,), (1402824765,), (1402824766,), (1402824767,), (1402824769,), (1402824772,), (1402824785,), (1402824786,), (1402824787,), (1402824790,), (1402824793,), (1402824795,), (1402824805,), (1402824807,), (1402824809,), (1402824811,), (1402824812,), (1402824815,), (1402824818,), (1402824844,), (1402824845,), (1402824847,), (1402824848,), (1402824852,), (1402824862,), (1402824863,), (1402824864,), (1402824905,), (1402824893,), (1402824894,), (1402824895,), (1402824898,), (1402824901,), (1402824912,), (1402824913,), (1402824915,), (1402824917,), (1402824920,), (1402824940,), (1402824941,), (1402824943,), (1402824946,), (1402824948,), (1402824960,), (1402824961,), (1402825054,), (1402825098,), (1402825496,), (1402825494,), (1402825532,), (1402825533,), (1402825534,), (1402825724,), (1402825725,), (1402825908,), (1402825909,), (1402825911,), (1402825912,), (1402826129,), (1402826079,), (1402826113,), (1402826125,), (1402826126,), (1402826137,), (1402826138,), (1402826139,), (1402826140,), (1402826143,), (1402826159,), (1402826160,), (1402826405,), (1402826438,), (1402826490,), (1402826491,), (1402826492,), (1402826500,), (1402826501,), (1402826503,), (1402826504,), (1402826532,), (1402826556,), (1402826557,), (1402826558,), (1402826578,), (1402826579,), (1402826597,), (1402826598,), (1402826611,), (1402826612,), (1402826613,), (1402826676,), (1402826687,), (1402826688,), (1402826707,), (1402826709,), (1402826737,), (1402826739,), (1402826741,), (1402826743,), (1402826746,), (1402826748,), (1402826755,), (1402826760,), (1402826764,), (1402826767,), (1402826795,), (1402827240,), (1402826790,), (1402826793,), (1402826920,), (1402826956,), (1402827007,), (1402827043,), (1402827081,), (1402827113,), (1402827446,), (1402827479,), (1402827512,), (1402827544,), (1402827859,), (1402827860,), (1402827862,), (1402828360,), (1402828477,), (1402828587,), (1402828699,), (1402828802,), (1402829138,), (1402829168,), (1402829201,), (1402829208,), (1402829211,), (1402829212,), (1402829225,), (1402829226,), (1402829227,), (1402829229,), (1402829232,), (1402829242,), (1402829243,), (1402829244,), (1402829246,), (1402829257,), (1402829258,), (1402829259,), (1402829261,), (1402829265,), (1402829268,), (1402829296,), (1402829297,), (1402829299,), (1402829300,), (1402829304,), (1402829311,), (1402829349,), (1402829354,), (1402829388,), (1402829389,), (1402829390,), (1402829392,), (1402829396,), (1402829398,), (1402829421,), (1402829428,), (1402829433,), (1402829434,), (1402829438,), (1402829441,), (1402829447,), (1402829448,), (1402829449,), (1402829522,), (1402829521,), (1402829534,), (1402829535,), (1402829537,), (1402829539,), (1402829542,), (1402829545,), (1402829568,), (1402829575,), (1402829584,), (1402829586,), (1402829627,), (1402829628,), (1402829630,), (1402829632,), (1402829635,), (1402829637,), (1402829683,), (1402829685,), (1402829696,), (1402829704,), (1402829723,), (1402829724,), (1402829725,), (1402829793,), (1402829794,), (1402829795,), (1402829797,), (1402829801,), (1402829808,), (1402829809,), (1402829810,), (1402829812,), (1402829816,), (1402829817,), (1402829847,), (1402829852,), (1402829898,), (1402829901,), (1402829903,), (1402829917,), (1402829921,), (1402829924,), (1402829945,), (1402829946,), (1402829947,), (1402829949,), (1402830019,), (1402830052,), (1402830083,), (1402830090,), (1402830095,), (1402830176,), (1402830177,), (1402830179,), (1402830180,), (1402830193,), (1402830194,), (1402830195,), (1402830197,), (1402830200,), (1402830226,), (1402830234,), (1402830245,), (1402830246,), (1402830249,), (1402830268,), (1402830261,), (1402830317,), (1402830323,), (1402830328,), (1402830330,), (1402830354,), (1402830355,), (1402830356,), (1402830382,), (1402830383,), (1402830384,), (1402830387,), (1402830399,), (1402830400,), (1402830402,), (1402830415,), (1402830416,), (1402830417,), (1402830434,), (1402830435,), (1402830437,), (1402830439,), (1402830441,), (1402830463,), (1402830464,), (1402830465,), (1402830467,), (1402830471,), (1402830479,), (1402830480,), (1402830481,), (1402830482,), (1402830485,), (1402830494,), (1402830496,), (1402830497,), (1402830502,), (1402830505,), (1402830537,), (1402830538,), (1402830540,), (1402830541,), (1402830543,), (1402830544,), (1402830562,), (1402830563,), (1402830576,), (1402830590,), (1402830591,), (1402830656,), (1402830655,), (1402830737,), (1402830762,), (1402830763,), (1402830764,), (1402830765,), (1402830773,), (1402830775,), (1402830777,), (1402830780,), (1402830784,), (1402830786,), (1402830817,), (1402830818,), (1402830819,), (1402830829,), (1402830830,), (1402830832,), (1402830833,), (1402830836,), (1402830895,), (1402830898,), (1402830910,), (1402830913,), (1402830917,), (1402830928,), (1402830952,), (1402830954,), (1402830956,), (1402830958,), (1402830960,), (1402830962,), (1402830976,), (1402830977,), (1402830979,), (1402831003,), (1402831007,), (1402831012,), (1402831022,), (1402831054,), (1402831056,), (1402831057,), (1402831059,), (1402831062,), (1402831064,), (1402831255,), (1402831293,), (1402831330,), (1402831369,), (1402831405,), (1402831442,), (1402831655,), (1402831743,), (1402831819,), (1402832283,), (1402832093,), (1402832138,), (1402832175,), (1402832211,), (1402832246,), (1402832541,), (1402832609,), (1402832670,), (1402832720,), (1402832979,), (1402832980,), (1402832982,), (1402832983,), (1402832985,), (1402833601,), (1402833835,), (1402833871,), (1402833946,), (1402833998,), (1402834033,), (1402834465,), (1402834497,), (1402834531,), (1402834546,), (1402834549,), (1402834555,), (1402834658,), (1402834659,), (1402834660,), (1402834684,), (1402834686,), (1402834708,), (1402834709,), (1402834710,), (1402834711,), (1402834714,), (1402834716,), (1402834744,), (1402834748,), (1402834749,), (1402834751,), (1402834755,), (1402834757,), (1402834764,), (1402834765,), (1402834766,), (1402834802,), (1402834804,), (1402834805,), (1402834807,), (1402834825,), (1402834828,), (1402834830,), (1402834832,), (1402834835,), (1402834849,), (1402834850,), (1402834851,), (1402834853,), (1402834879,), (1402834880,), (1402834883,), (1402834885,), (1402835092,), (1402835090,), (1402835091,), (1402835498,), (1402835529,), (1402835563,), (1402835593,), (1402835607,), (1402835608,), (1402835609,), (1402835634,), (1402835667,), (1402835672,), (1402835744,), (1402835746,), (1402835748,), (1402835757,), (1402835758,), (1402835760,), (1402835762,), (1402835765,), (1402835769,), (1402835782,), (1402835783,), (1402835784,), (1402835786,), (1402835805,), (1402835806,), (1402835808,), (1402835810,), (1402835836,), (1402835837,), (1402835838,), (1402835840,), (1402835844,), (1402835845,), (1402835852,), (1402835853,), (1402835855,), (1402835856,), (1402835859,), (1402835860,), (1402835886,), (1402835887,), (1402835888,), (1402835890,), (1402835893,), (1402835897,), (1402835898,), (1402835899,), (1402835900,), (1402835903,), (1402835905,), (1402835920,), (1402835923,), (1402835925,), (1402835928,), (1402835932,), (1402835935,), (1402835967,), (1402835960,), (1402835962,), (1402835964,), (1402835989,), (1402835992,), (1402835995,), (1402835997,), (1402836000,), (1402836002,), (1402836007,), (1402836009,), (1402836011,), (1402836251,), (1402836283,), (1402836301,), (1402836304,), (1402836307,), (1402836308,), (1402836322,), (1402836323,), (1402836324,), (1402836351,), (1402836352,), (1402836353,), (1402836355,), (1402836359,), (1402836362,), (1402836369,), (1402836370,), (1402836372,), (1402836374,), (1402836377,), (1402836391,), (1402836392,), (1402836394,), (1402836395,), (1402836430,), (1402836432,), (1402836444,), (1402836462,), (1402836466,), (1402836487,), (1402836492,), (1402836493,), (1402836494,), (1402836497,), (1402840310,), (1402840309,), (1402840334,), (1402840346,), (1402840347,), (1402840355,), (1402840356,), (1402840370,), (1402840371,), (1402840372,), (1402840373,), (1402840424,), (1402840434,), (1402840435,), (1402840438,), (1402840440,), (1402840459,), (1402840460,), (1402840462,), (1402840477,), (1402840478,), (1402840480,), (1402840482,), (1402840485,), (1402840488,), (1402840498,), (1402840499,), (1402840500,), (1402840502,), (1402840506,), (1402840508,), (1402840515,), (1402840517,), (1402840520,), (1402840558,), (1402840564,), (1402840567,), (1402840571,), (1402840582,), (1402840585,), (1402840588,), (1402840591,), (1402840609,), (1402840610,), (1402840611,), (1402840613,), (1402840625,), (1402840626,), (1402840627,), (1402840643,), (1402840644,), (1402840645,), (1402840655,), (1402840683,), (1402840684,), (1402840685,), (1402840686,), (1402840699,), (1402840700,), (1402840701,), (1402840702,), (1402840705,), (1402840727,), (1402840728,), (1402840730,), (1402840731,), (1402840734,), (1402840750,), (1402841089,), (1402840745,), (1402840746,), (1402840747,), (1402840748,), (1402840770,), (1402840772,), (1402840845,), (1402840938,), (1402841028,), (1402841077,), (1402841085,), (1402841086,), (1402841087,), (1402841088,), (1402841091,), (1402841093,), (1402841095,), (1402841097,), (1402841101,), (1402841116,), (1402841156,), (1402841157,), (1402841158,), (1402841160,), (1402841163,), (1402841168,), (1402841169,), (1402841170,), (1402841172,), (1402841175,), (1402841177,), (1402841204,), (1402841205,), (1402841206,), (1402841211,), (1402841272,), (1402841274,), (1402841275,), (1402841277,), (1402841280,), (1402841301,), (1402841303,), (1402841306,), (1402841308,), (1402841311,), (1402841314,), (1402841463,), (1402841464,), (1402841467,), (1402841493,), (1402841495,), (1402841497,), (1402841499,), (1402841501,), (1402841518,), (1402841521,), (1402841524,), (1402841540,), (1402841552,), (1402841556,), (1402841595,), (1402841632,), (1402841664,), (1402841717,), (1402841718,), (1402841719,), (1402841720,), (1402841724,), (1402841728,), (1402841752,), (1402841744,), (1402841745,), (1402841747,), (1402841749,), (1402841763,), (1402841765,), (1402841767,), (1402841770,), (1402841788,), (1402841797,), (1402841803,), (1402841806,), (1402841810,), (1402841811,), (1402841822,), (1402841823,), (1402841825,), (1402841826,), (1402841830,), (1402841832,), (1402841842,), (1402841843,), (1402841844,), (1402841846,), (1402841850,), (1402841858,), (1402841859,), (1402841894,), (1402841895,), (1402841896,), (1402841908,), (1402841909,), (1402841910,), (1402841957,), (1402841958,), (1402841959,), (1402841987,), (1402842021,), (1402842045,), (1402842046,), (1402842047,), (1402842049,), (1402842077,), (1402842078,), (1402842080,), (1402842081,), (1402842084,), (1402842103,), (1402842107,), (1402842111,), (1402842115,), (1402842122,), (1402842123,), (1402842124,), (1402842131,), (1402842134,), (1402842145,), (1402842137,), (1402842139,), (1402842142,), (1402842385,), (1402842425,), (1402842471,), (1402842526,), (1402842565,), (1402842603,), (1402842883,), (1402842884,), (1402842886,), (1402842888,), (1402842891,), (1402843095,), (1402843105,), (1402843107,), (1402843122,), (1402843161,), (1402843289,), (1402843290,), (1402843292,), (1402843296,), (1402843299,), (1402843308,), (1402843311,), (1402843312,), (1402843314,), (1402843316,), (1402843324,), (1402843459,), (1402843460,), (1402843461,), (1402843734,), (1402843764,), (1402843796,), (1402843829,), (1402843862,), (1402844837,), (1402844946,), (1402845052,), (1402845166,), (1402845266,), (1402845295,), (1402845725,), (1402845800,), (1402845942,), (1402846582,), (1402846607,), (1402846661,), (1402846696,), (1402846718,), (1402846723,), (1402846800,), (1402846801,), (1402846803,), (1402846804,), (1402846807,), (1402846809,), (1402846993,), (1402846994,), (1402846996,), (1402847036,), (1402847676,), (1402847714,), (1402847752,), (1402847786,), (1402847820,), (1402847855,), (1402848631,), (1402848719,), (1402848771,), (1402849427,), (1402849394,), (1402849915,), (1402849916,), (1402850106,), (1402850107,), (1402850109,), (1402850111,), (1402850302,), (1402850381,), (1402850450,), (1402850497,), (1402850558,), (1402850598,), (1402850905,), (1402850940,), (1402850975,), (1402851011,), (1402851053,), (1402851122,), (1402851475,), (1402851515,), (1402851554,), (1402851795,), (1402851796,), (1402851797,), (1402851799,), (1402851803,), (1402851805,), (1402852268,), (1402852358,), (1402852455,), (1402852555,), (1402852993,), (1402853102,), (1402853257,), (1402853457,), (1402853921,), (1402853978,), (1402853981,), (1402853982,), (1402854051,), (1402854103,), (1402854111,), (1402854115,), (1402854116,), (1402854167,), (1402854168,), (1402854169,), (1402854170,), (1402854173,), (1402854175,), (1402854212,), (1402854213,), (1402854214,), (1402854216,), (1402854220,), (1402854221,), (1402855402,), (1402856224,), (1402856157,), (1402856192,), (1402856795,), (1402856857,), (1402856919,), (1402856962,), (1402857642,), (1402857665,), (1402857682,), (1402857782,), (1402857891,), (1402858004,), (1402858243,), (1402858268,), (1402858277,), (1402858406,), (1402858407,), (1402858408,), (1402858510,), (1402858513,), (1402858515,), (1402858516,), (1402858520,), (1402858522,), (1402858555,), (1402858556,), (1402858558,), (1402858559,), (1402858563,), (1402858572,), (1402858573,), (1402858575,), (1402858577,), (1402858585,), (1402858600,), (1402858601,), (1402858603,), (1402858605,), (1402858890,), (1402858915,), (1402858927,), (1402858944,), (1402858949,), (1402859218,), (1402859305,), (1402859388,), (1402859497,), (1402859594,), (1402859810,), (1402859832,), (1402859968,), (1402859969,), (1402859970,), (1402859972,), (1402859975,), (1402859978,), (1402859991,), (1402859992,), (1402859993,), (1402859995,), (1402859997,), (1402860006,), (1402860266,), (1402860392,), (1402860509,), (1402860636,), (1402860868,), (1402860903,), (1402860936,), (1402860972,), (1402861007,), (1402861486,), (1402861511,), (1402861515,), (1402861812,), (1402861742,), (1402861743,), (1402861772,), (1402861795,), (1402861818,), (1402861819,), (1402861821,), (1402861822,), (1402861826,), (1402861873,), (1402861876,), (1402861877,), (1402861879,), (1402861883,), (1402861893,), (1402861894,), (1402861922,), (1402861953,), (1402862510,), (1402862619,), (1402862737,), (1402863469,), (1402864010,), (1402864011,), (1402864013,), (1402864027,), (1402864129,), (1402864457,), (1402864458,), (1402864459,), (1402864462,), (1402864465,), (1402864467,), (1402864471,), (1402864472,), (1402864477,), (1402864478,), (1402864479,), (1402864480,), (1402864483,), (1402864486,), (1402864488,), (1402864590,), (1402864621,), (1402864653,), (1402864684,), (1402864724,), (1402864760,), (1402865084,), (1402865116,), (1402865151,), (1402865180,), (1402865344,), (1402865358,), (1402865365,), (1402865366,), (1402865795,), (1402865800,), (1402865802,), (1402865805,), (1402866249,), (1402866286,), (1402866315,), (1402866326,), (1402866335,), (1402866336,), (1402866350,), (1402866352,), (1402866354,), (1402866356,), (1402867039,), (1402867546,), (1402866872,), (1402866913,), (1402866972,), (1402867445,), (1402867446,), (1402867447,), (1402867450,), (1402867452,), (1402867454,), (1402867483,), (1402867515,), (1402868057,), (1402868179,), (1402868603,), (1402868604,), (1402868620,), (1402868708,), (1402868752,), (1402868976,), (1402868977,), (1402868993,), (1402868995,), (1402868998,), (1402869000,), (1402869002,), (1402869008,), (1402869009,), (1402869011,), (1402869013,), (1402869016,), (1402869019,), (1402869553,), (1402869560,), (1402869561,), (1402870153,), (1402870186,), (1402870219,), (1402870255,), (1402870289,), (1402870483,), (1402870516,), (1402870523,), (1402870538,), (1402870558,), (1402870594,), (1402870600,), (1402870602,), (1402870625,), (1402870626,), (1402870627,), (1402870630,), (1402870639,), (1402870740,), (1402871150,), (1402871269,), (1402871431,), (1402871463,), (1402871503,), (1402871616,), (1402871660,), (1402872097,), (1402872098,), (1402872100,), (1402872685,), (1402872394,), (1402872550,), (1402872586,), (1402872623,), (1402873033,), (1402873034,), (1402873035,), (1402873037,), (1402873045,), (1402873268,), (1402873273,), (1402873307,), (1402873323,), (1402873344,), (1402873362,), (1402873363,), (1402873365,), (1402873416,), (1402874191,), (1402874224,), (1402874255,), (1402874288,), (1402874399,), (1402874520,), (1402874962,), (1402875038,), (1402875070,), (1402875110,), (1402875148,), (1402875153,), (1402875258,), (1402875288,), (1402875317,), (1402875350,), (1402875384,), (1402875398,), (1402875555,), (1402875643,), (1402875847,), (1402875933,), (1402875956,), (1402875960,), (1402875963,), (1402876080,), (1402876087,), (1402876088,), (1402876090,), (1402876093,), (1402876100,), (1402876102,), (1402876109,), (1402876113,), (1402876118,), (1402876428,), (1402876519,), (1402876599,), (1402876869,), (1402877074,), (1402877738,), (1402877739,), (1402877741,), (1402877742,), (1402877983,), (1402877984,), (1402877986,), (1402877992,), (1402877994,), (1402878020,), (1402878017,), (1402878019,), (1402878034,), (1402878036,), (1402878038,), (1402878046,), (1402878050,), (1402878058,), (1402878060,), (1402878062,), (1402878065,), (1402878068,), (1402878092,), (1402878222,), (1402878259,), (1402878290,), (1402878417,), (1402878450,), (1402878498,), (1402878646,), (1402879300,), (1402879377,), (1402879479,), (1402879506,), (1402879511,), (1402879514,), (1402879772,), (1402879773,), (1402879774,), (1402879776,), (1402879780,), (1402879800,), (1402879801,), (1402879803,), (1402879839,), (1402879840,), (1402879842,), (1402879846,), (1402879847,), (1402879855,), (1402879856,), (1402879857,), (1402879858,), (1402879881,), (1402879883,), (1402879884,), (1402879886,), (1402879889,), (1402879891,), (1402880092,), (1402880180,), (1402880266,), (1402880745,), (1402880748,), (1402880801,), (1402880926,), (1402880969,), (1402880971,), (1402881136,), (1402881137,), (1402881138,), (1402881141,), (1402881144,), (1402881147,), (1402881158,), (1402881174,), (1402881273,), (1402881368,), (1402881472,), (1402881575,), (1402881720,), (1402881754,), (1402881787,), (1402882324,), (1402882357,), (1402882425,), (1402882470,), (1402882506,), (1402882942,), (1402882885,), (1402882925,), (1402882934,), (1402882936,), (1402882939,), (1402882997,), (1402883028,), (1402883058,), (1402883311,), (1402883336,), (1402883425,), (1402883528,), (1402883641,), (1402883752,), (1402884210,), (1402884353,), (1402884467,), (1402884508,), (1402884543,), (1402884562,), (1402884583,), (1402884613,), (1402884644,), (1402884676,), (1402884813,), (1402884814,), (1402884815,), (1402884841,), (1402884847,), (1402884852,), (1402884866,), (1402884873,), (1402884875,), (1402886847,), (1402886865,), (1402886880,), (1402887119,), (1402887120,), (1402887126,), (1402887127,), (1402887147,), (1402887154,), (1402888230,), (1402888266,), (1402888303,), (1402888392,), (1402888496,), (1402888531,), (1402889345,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07012026': {'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([30015792]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1402789780, 1402789413, 1402789410, 1402789408, 1402789395, 1402789391, 1402789388, 1402789386, 1402789384, 1402789382, 1402789365, 1402789362, 1402789360, 1402789358, 1402789357, 1402789295, 1402789281, 1402789184, 1402789182, 1402789035, 1402789001, 1402788482, 1402788481, 1402788479, 1402788477, 1402788437, 1402788435, 1402788417, 1402788415, 1402788412] map_info['map_portfolio_photo'] : {30015792: [1402789780, 1402789413, 1402789410, 1402789408, 1402789395, 1402789391, 1402789388, 1402789386, 1402789384, 1402789382, 1402789365, 1402789362, 1402789360, 1402789358, 1402789357, 1402789295, 1402789281, 1402789184, 1402789182, 1402789035, 1402789001, 1402788482, 1402788481, 1402788479, 1402788477, 1402788437, 1402788435, 1402788417, 1402788415, 1402788412]} final : True mtd_id 4302 list_pids : [1402789780, 1402789413, 1402789410, 1402789408, 1402789395, 1402789391, 1402789388, 1402789386, 1402789384, 1402789382, 1402789365, 1402789362, 1402789360, 1402789358, 1402789357, 1402789295, 1402789281, 1402789184, 1402789182, 1402789035, 1402789001, 1402788482, 1402788481, 1402788479, 1402788477, 1402788437, 1402788435, 1402788417, 1402788415, 1402788412] Looping around the photos to save general results len do output : 1 /30015792Didn'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, '4325388') ('4302', '30015792', '1402789780', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789413', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789410', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789408', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789395', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789391', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789388', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789386', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789384', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789382', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789365', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789362', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789360', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789358', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789357', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789295', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789281', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789184', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789182', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789035', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402789001', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788482', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788481', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788479', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788477', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788437', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788435', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788417', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788415', None, None, None, None, None, '4325388') ('4302', None, None, None, None, None, None, None, '4325388') ('4302', '30015792', '1402788412', None, None, None, None, None, '4325388') 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, '30015792', 'None', None, None, None, None, '4325388'), ('4302', '30015792', '1402789780', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789413', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789410', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789408', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789395', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789391', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789388', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789386', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789384', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789382', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789365', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789362', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789360', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789358', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789357', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789295', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789281', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789184', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789182', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789035', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402789001', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788482', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788481', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788479', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788477', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788437', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788435', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788417', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788415', None, None, None, None, None, '4325388'), ('4302', '30015792', '1402788412', None, None, None, None, None, '4325388')] time used for this insertion : 0.022231340408325195 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.190326929092407 time spend to save output : 0.02255082130432129 total time spend for step 5 : 7.2128777503967285 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 (4325388) 2.84user 2.56system 0:21.89elapsed 24%CPU (0avgtext+0avgdata 166896maxresident)k 280inputs+25032outputs (0major+80666minor)pagefaults 0swaps