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 : 573020 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 (3732508) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3732508) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26889279 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3732508'] with mtr_portfolio_ids : ['26889279'] and first list_photo_ids : [] new path : /proc/573020/ Name: python3 Umask: 0002 State: R (running) Tgid: 573020 Ngid: 0 Pid: 573020 PPid: 573019 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 573020 NSpid: 573020 NSpgid: 572633 NSsid: 572633 VmPeak: 1107252 kB VmSize: 1107252 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97260 kB VmRSS: 97260 kB RssAnon: 60164 kB RssFile: 37096 kB RssShmem: 0 kB VmData: 866004 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 560 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: 48 nonvoluntary_ctxt_switches: 143 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '573020', 'Ngid': '0', 'Pid': '573020', 'PPid': '573019', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '573020', 'NSpid': '573020', 'NSpgid': '572633', 'NSsid': '572633', 'VmPeak': '1107252 kB', 'VmSize': '1107252 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97260 kB', 'VmRSS': '97260 kB', 'RssAnon': '60164 kB', 'RssFile': '37096 kB', 'RssShmem': '0 kB', 'VmData': '866004 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '560 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': '48', 'nonvoluntary_ctxt_switches': '143'} ('datou_batch_current', '573020', '1107252', '0', '1107252', '866004', '97260', b'', 'marlene', '3732508') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (26889279) 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 (3732508 ) ) 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 (26889279) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1383887136, 'portfolio_id': 26889279}, {'photo_id': 1383887067, 'portfolio_id': 26889279}, {'photo_id': 1383887062, 'portfolio_id': 26889279}, {'photo_id': 1383887041, 'portfolio_id': 26889279}, {'photo_id': 1383887038, 'portfolio_id': 26889279}, {'photo_id': 1383887037, 'portfolio_id': 26889279}, {'photo_id': 1383887036, 'portfolio_id': 26889279}, {'photo_id': 1383886981, 'portfolio_id': 26889279}, {'photo_id': 1383886977, 'portfolio_id': 26889279}, {'photo_id': 1383886973, 'portfolio_id': 26889279}, {'photo_id': 1383886971, 'portfolio_id': 26889279}, {'photo_id': 1383886970, 'portfolio_id': 26889279}, {'photo_id': 1383886968, 'portfolio_id': 26889279}, {'photo_id': 1383886925, 'portfolio_id': 26889279}, {'photo_id': 1383886924, 'portfolio_id': 26889279}, {'photo_id': 1383886911, 'portfolio_id': 26889279}, {'photo_id': 1383886814, 'portfolio_id': 26889279}, {'photo_id': 1383886808, 'portfolio_id': 26889279}, {'photo_id': 1383886792, 'portfolio_id': 26889279}, {'photo_id': 1383886767, 'portfolio_id': 26889279}, {'photo_id': 1383886759, 'portfolio_id': 26889279}, {'photo_id': 1383886543, 'portfolio_id': 26889279}, {'photo_id': 1383886540, 'portfolio_id': 26889279}, {'photo_id': 1383886539, 'portfolio_id': 26889279}, {'photo_id': 1383886537, 'portfolio_id': 26889279}, {'photo_id': 1383886374, 'portfolio_id': 26889279}, {'photo_id': 1383886318, 'portfolio_id': 26889279}, {'photo_id': 1383886314, 'portfolio_id': 26889279}, {'photo_id': 1383886312, 'portfolio_id': 26889279}, {'photo_id': 1383886310, 'portfolio_id': 26889279}, {'photo_id': 1383886308, 'portfolio_id': 26889279}, {'photo_id': 1383886287, 'portfolio_id': 26889279}, {'photo_id': 1383886221, 'portfolio_id': 26889279}] map_portfolio_id_photo_id: {26889279: [1383887136, 1383887067, 1383887062, 1383887041, 1383887038, 1383887037, 1383887036, 1383886981, 1383886977, 1383886973, 1383886971, 1383886970, 1383886968, 1383886925, 1383886924, 1383886911, 1383886814, 1383886808, 1383886792, 1383886767, 1383886759, 1383886543, 1383886540, 1383886539, 1383886537, 1383886374, 1383886318, 1383886314, 1383886312, 1383886310, 1383886308, 1383886287, 1383886221]} ##### 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.03137350082397461 #### 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 Wed Sep 17 05:52:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26889279) 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 : 26889279 get user id for portfolio 26889279 get sub ptf for main ptf 26889279, type 3726 and hashtags ['kraft', 'metal', 'Teint_Dans_La_Masse', 'Carton_gris', 'autre_refus', 'plastique', 'environnement', 'Carton_brun', 'flou', 'papier', 'cartonnette', 'mal_croppe'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26889279 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','Teint_Dans_La_Masse','Carton_gris','autre_refus','plastique','environnement','Carton_brun','flou','papier','cartonnette','mal_croppe')) 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`=26889279 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','Teint_Dans_La_Masse','Carton_gris','autre_refus','plastique','environnement','Carton_brun','flou','papier','cartonnette','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 26889279, 'sub_port_id': 26889281, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129866, 'last_updated_at': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 57)}, 'Carton_brun': {'main_port_id': 26889279, 'sub_port_id': 26889282, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129867, 'last_updated_at': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 57)}, 'flou': {'main_port_id': 26889279, 'sub_port_id': 26889283, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129868, 'last_updated_at': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 57)}, 'metal': {'main_port_id': 26889279, 'sub_port_id': 26889284, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129869, 'last_updated_at': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 57)}, 'environnement': {'main_port_id': 26889279, 'sub_port_id': 26889285, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129870, 'last_updated_at': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 57)}, 'papier': {'main_port_id': 26889279, 'sub_port_id': 26889286, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129871, 'last_updated_at': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 57)}, 'kraft': {'main_port_id': 26889279, 'sub_port_id': 26889287, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129872, 'last_updated_at': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 57)}, 'cartonnette': {'main_port_id': 26889279, 'sub_port_id': 26889288, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129873, 'last_updated_at': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 57)}, 'plastique': {'main_port_id': 26889279, 'sub_port_id': 26889289, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129874, 'last_updated_at': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 26889279, 'sub_port_id': 26889290, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129875, 'last_updated_at': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 57)}, 'Carton_gris': {'main_port_id': 26889279, 'sub_port_id': 26889291, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129876, 'last_updated_at': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 57)}, 'mal_croppe': {'main_port_id': 26889279, 'sub_port_id': 26889292, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129877, 'last_updated_at': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 12, 2, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26889281 , 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=26889279 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 (26889281) result : ((1383886518,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26889279) result : ((1383886221,), (1383886287,), (1383886308,), (1383886310,), (1383886312,), (1383886314,), (1383886318,), (1383886374,), (1383886537,), (1383886539,), (1383886540,), (1383886543,), (1383886759,), (1383886767,), (1383886792,), (1383886808,), (1383886814,), (1383886911,), (1383886924,), (1383886925,), (1383886968,), (1383886970,), (1383886971,), (1383886973,), (1383886977,), (1383886981,), (1383887036,), (1383887037,), (1383887038,), (1383887041,), (1383887062,), (1383887067,), (1383887136,)) 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 26889282 , 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=26889279 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 (26889282) result : ((1383886521,), (1383886531,), (1383887082,), (1383887292,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26889279) result : ((1383886221,), (1383886287,), (1383886308,), (1383886310,), (1383886312,), (1383886314,), (1383886318,), (1383886374,), (1383886537,), (1383886539,), (1383886540,), (1383886543,), (1383886759,), (1383886767,), (1383886792,), (1383886808,), (1383886814,), (1383886911,), (1383886924,), (1383886925,), (1383886968,), (1383886970,), (1383886971,), (1383886973,), (1383886977,), (1383886981,), (1383887036,), (1383887037,), (1383887038,), (1383887041,), (1383887062,), (1383887067,), (1383887136,)) 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 26889283 , 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=26889279 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 (26889283) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26889279) result : ((1383886221,), (1383886287,), (1383886308,), (1383886310,), (1383886312,), (1383886314,), (1383886318,), (1383886374,), (1383886537,), (1383886539,), (1383886540,), (1383886543,), (1383886759,), (1383886767,), (1383886792,), (1383886808,), (1383886814,), (1383886911,), (1383886924,), (1383886925,), (1383886968,), (1383886970,), (1383886971,), (1383886973,), (1383886977,), (1383886981,), (1383887036,), (1383887037,), (1383887038,), (1383887041,), (1383887062,), (1383887067,), (1383887136,)) 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 26889284 , 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=26889279 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 (26889284) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26889279) result : ((1383886221,), (1383886287,), (1383886308,), (1383886310,), (1383886312,), (1383886314,), (1383886318,), (1383886374,), (1383886537,), (1383886539,), (1383886540,), (1383886543,), (1383886759,), (1383886767,), (1383886792,), (1383886808,), (1383886814,), (1383886911,), (1383886924,), (1383886925,), (1383886968,), (1383886970,), (1383886971,), (1383886973,), (1383886977,), (1383886981,), (1383887036,), (1383887037,), (1383887038,), (1383887041,), (1383887062,), (1383887067,), (1383887136,)) 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 26889285 , 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=26889279 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 (26889285) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26889279) result : ((1383886221,), (1383886287,), (1383886308,), (1383886310,), (1383886312,), (1383886314,), (1383886318,), (1383886374,), (1383886537,), (1383886539,), (1383886540,), (1383886543,), (1383886759,), (1383886767,), (1383886792,), (1383886808,), (1383886814,), (1383886911,), (1383886924,), (1383886925,), (1383886968,), (1383886970,), (1383886971,), (1383886973,), (1383886977,), (1383886981,), (1383887036,), (1383887037,), (1383887038,), (1383887041,), (1383887062,), (1383887067,), (1383887136,)) 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 26889286 , 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=26889279 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 (26889286) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26889279) result : ((1383886221,), (1383886287,), (1383886308,), (1383886310,), (1383886312,), (1383886314,), (1383886318,), (1383886374,), (1383886537,), (1383886539,), (1383886540,), (1383886543,), (1383886759,), (1383886767,), (1383886792,), (1383886808,), (1383886814,), (1383886911,), (1383886924,), (1383886925,), (1383886968,), (1383886970,), (1383886971,), (1383886973,), (1383886977,), (1383886981,), (1383887036,), (1383887037,), (1383887038,), (1383887041,), (1383887062,), (1383887067,), (1383887136,)) 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 26889287 , 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=26889279 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 (26889287) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26889279) result : ((1383886221,), (1383886287,), (1383886308,), (1383886310,), (1383886312,), (1383886314,), (1383886318,), (1383886374,), (1383886537,), (1383886539,), (1383886540,), (1383886543,), (1383886759,), (1383886767,), (1383886792,), (1383886808,), (1383886814,), (1383886911,), (1383886924,), (1383886925,), (1383886968,), (1383886970,), (1383886971,), (1383886973,), (1383886977,), (1383886981,), (1383887036,), (1383887037,), (1383887038,), (1383887041,), (1383887062,), (1383887067,), (1383887136,)) 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 26889288 , 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=26889279 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 (26889288) result : ((1383886842,), (1383886845,), (1383887032,), (1383887059,), (1383887060,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26889279) result : ((1383886221,), (1383886287,), (1383886308,), (1383886310,), (1383886312,), (1383886314,), (1383886318,), (1383886374,), (1383886537,), (1383886539,), (1383886540,), (1383886543,), (1383886759,), (1383886767,), (1383886792,), (1383886808,), (1383886814,), (1383886911,), (1383886924,), (1383886925,), (1383886968,), (1383886970,), (1383886971,), (1383886973,), (1383886977,), (1383886981,), (1383887036,), (1383887037,), (1383887038,), (1383887041,), (1383887062,), (1383887067,), (1383887136,)) 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 26889289 , 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=26889279 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 (26889289) result : ((1383886522,), (1383886532,), (1383886533,), (1383886534,), (1383887084,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26889279) result : ((1383886221,), (1383886287,), (1383886308,), (1383886310,), (1383886312,), (1383886314,), (1383886318,), (1383886374,), (1383886537,), (1383886539,), (1383886540,), (1383886543,), (1383886759,), (1383886767,), (1383886792,), (1383886808,), (1383886814,), (1383886911,), (1383886924,), (1383886925,), (1383886968,), (1383886970,), (1383886971,), (1383886973,), (1383886977,), (1383886981,), (1383887036,), (1383887037,), (1383887038,), (1383887041,), (1383887062,), (1383887067,), (1383887136,)) 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 26889290 , 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=26889279 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 (26889290) result : ((1383886515,), (1383886516,), (1383886529,), (1383886824,), (1383886826,), (1383887058,), (1383887072,), (1383887074,), (1383887075,), (1383887076,), (1383887077,), (1383887176,), (1383887177,), (1383887178,), (1383887179,), (1383887180,), (1383887181,), (1383887182,), (1383888188,), (1383888189,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26889279) result : ((1383886221,), (1383886287,), (1383886308,), (1383886310,), (1383886312,), (1383886314,), (1383886318,), (1383886374,), (1383886537,), (1383886539,), (1383886540,), (1383886543,), (1383886759,), (1383886767,), (1383886792,), (1383886808,), (1383886814,), (1383886911,), (1383886924,), (1383886925,), (1383886968,), (1383886970,), (1383886971,), (1383886973,), (1383886977,), (1383886981,), (1383887036,), (1383887037,), (1383887038,), (1383887041,), (1383887062,), (1383887067,), (1383887136,)) 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 26889291 , 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=26889279 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 (26889291) result : ((1383886520,), (1383886530,), (1383886832,), (1383887030,), (1383887079,), (1383887080,), (1383887081,), (1383887186,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26889279) result : ((1383886221,), (1383886287,), (1383886308,), (1383886310,), (1383886312,), (1383886314,), (1383886318,), (1383886374,), (1383886537,), (1383886539,), (1383886540,), (1383886543,), (1383886759,), (1383886767,), (1383886792,), (1383886808,), (1383886814,), (1383886911,), (1383886924,), (1383886925,), (1383886968,), (1383886970,), (1383886971,), (1383886973,), (1383886977,), (1383886981,), (1383887036,), (1383887037,), (1383887038,), (1383887041,), (1383887062,), (1383887067,), (1383887136,)) 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 26889292 , 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=26889279 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 (26889292) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26889279) result : ((1383886221,), (1383886287,), (1383886308,), (1383886310,), (1383886312,), (1383886314,), (1383886318,), (1383886374,), (1383886537,), (1383886539,), (1383886540,), (1383886543,), (1383886759,), (1383886767,), (1383886792,), (1383886808,), (1383886814,), (1383886911,), (1383886924,), (1383886925,), (1383886968,), (1383886970,), (1383886971,), (1383886973,), (1383886977,), (1383886981,), (1383887036,), (1383887037,), (1383887038,), (1383887041,), (1383887062,), (1383887067,), (1383887136,)) 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`=26889279 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','Teint_Dans_La_Masse','Carton_gris','autre_refus','plastique','environnement','Carton_brun','flou','papier','cartonnette','mal_croppe')) 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`=26889279 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','metal','Teint_Dans_La_Masse','Carton_gris','autre_refus','plastique','environnement','Carton_brun','flou','papier','cartonnette','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 26889279, 'sub_port_id': 26889293, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129878, 'last_updated_at': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 58)}, 'Carton_brun': {'main_port_id': 26889279, 'sub_port_id': 26889294, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129879, 'last_updated_at': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 58)}, 'flou': {'main_port_id': 26889279, 'sub_port_id': 26889295, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129880, 'last_updated_at': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 58)}, 'metal': {'main_port_id': 26889279, 'sub_port_id': 26889296, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129881, 'last_updated_at': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 58)}, 'environnement': {'main_port_id': 26889279, 'sub_port_id': 26889297, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129882, 'last_updated_at': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 58)}, 'papier': {'main_port_id': 26889279, 'sub_port_id': 26889298, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129883, 'last_updated_at': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 58)}, 'kraft': {'main_port_id': 26889279, 'sub_port_id': 26889299, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129884, 'last_updated_at': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 58)}, 'cartonnette': {'main_port_id': 26889279, 'sub_port_id': 26889300, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129885, 'last_updated_at': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 58)}, 'plastique': {'main_port_id': 26889279, 'sub_port_id': 26889301, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129886, 'last_updated_at': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 26889279, 'sub_port_id': 26889302, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129887, 'last_updated_at': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 58)}, 'Carton_gris': {'main_port_id': 26889279, 'sub_port_id': 26889303, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129888, 'last_updated_at': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 11, 50, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 58)}, 'mal_croppe': {'main_port_id': 26889279, 'sub_port_id': 26889304, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18129889, 'last_updated_at': datetime.datetime(2025, 9, 16, 12, 3), 'last_updated_at_desc': datetime.datetime(2025, 9, 16, 12, 3), 'last_updated_at_asc': datetime.datetime(2025, 9, 16, 11, 50, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26889293,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26889281 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26889294,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26889282 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26889295,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26889283 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26889296,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26889284 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26889297,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26889285 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26889298,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26889286 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26889299,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26889287 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26889300,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26889288 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26889301,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26889289 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26889302,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26889290 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26889303,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26889291 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26889304,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26889292 lien utilise dans velours : https://marlene.fotonower.com/velours/26889293,26889294,26889295,26889296,26889297,26889298,26889299,26889300,26889301,26889302,26889303,26889304?tags=autre_refus,Carton_brun,flou,metal,environnement,papier,kraft,cartonnette,plastique,Teint_Dans_La_Masse,Carton_gris,mal_croppe After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26889279]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1383887136, 1383887067, 1383887062, 1383887041, 1383887038, 1383887037, 1383887036, 1383886981, 1383886977, 1383886973, 1383886971, 1383886970, 1383886968, 1383886925, 1383886924, 1383886911, 1383886814, 1383886808, 1383886792, 1383886767, 1383886759, 1383886543, 1383886540, 1383886539, 1383886537, 1383886374, 1383886318, 1383886314, 1383886312, 1383886310, 1383886308, 1383886287, 1383886221] map_info['map_portfolio_photo'] : {26889279: [1383887136, 1383887067, 1383887062, 1383887041, 1383887038, 1383887037, 1383887036, 1383886981, 1383886977, 1383886973, 1383886971, 1383886970, 1383886968, 1383886925, 1383886924, 1383886911, 1383886814, 1383886808, 1383886792, 1383886767, 1383886759, 1383886543, 1383886540, 1383886539, 1383886537, 1383886374, 1383886318, 1383886314, 1383886312, 1383886310, 1383886308, 1383886287, 1383886221]} final : False mtd_id 4302 list_pids : [1383887136, 1383887067, 1383887062, 1383887041, 1383887038, 1383887037, 1383887036, 1383886981, 1383886977, 1383886973, 1383886971, 1383886970, 1383886968, 1383886925, 1383886924, 1383886911, 1383886814, 1383886808, 1383886792, 1383886767, 1383886759, 1383886543, 1383886540, 1383886539, 1383886537, 1383886374, 1383886318, 1383886314, 1383886312, 1383886310, 1383886308, 1383886287, 1383886221] Looping around the photos to save general results len do output : 1 /26889279. 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, '3732508') ('4302', '26889279', '1383887136', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887067', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887062', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887041', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887038', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887037', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887036', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886981', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886977', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886973', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886971', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886970', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886968', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886925', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886924', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886911', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886814', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886808', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886792', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886767', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886759', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886543', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886540', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886539', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886537', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886374', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886318', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886314', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886312', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886310', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886308', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886287', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886221', None, None, None, None, None, '3732508') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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, '26889279', "{'autre_refus': 26889281, 'Carton_brun': 26889282, 'flou': 26889283, 'metal': 26889284, 'environnement': 26889285, 'papier': 26889286, 'kraft': 26889287, 'cartonnette': 26889288, 'plastique': 26889289, 'Teint_Dans_La_Masse': 26889290, 'Carton_gris': 26889291, 'mal_croppe': 26889292}", None, None, None, None, '3732508'), ('4302', '26889279', '1383887136', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383887067', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383887062', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383887041', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383887038', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383887037', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383887036', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886981', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886977', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886973', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886971', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886970', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886968', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886925', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886924', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886911', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886814', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886808', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886792', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886767', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886759', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886543', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886540', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886539', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886537', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886374', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886318', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886314', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886312', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886310', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886308', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886287', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886221', None, None, None, None, None, '3732508')] time used for this insertion : 0.4542224407196045 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6335854530334473 time spend to save output : 0.4547593593597412 total time spend for step 1 : 2.0883448123931885 step2:final Wed Sep 17 05:52:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26889279) 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 26889279 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1383886221,1383886287,1383886318,1383886314,1383886312,1383886310,1383886308,1383886374,1383886543,1383886540,1383886539,1383886537,1383886814,1383886808,1383886792,1383886767,1383886759,1383886925,1383886924,1383886911,1383886981,1383886977,1383886973,1383886971,1383886970,1383886968,1383887041,1383887038,1383887037,1383887036,1383887067,1383887062,1383887136); 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([26889279]) Inside saveOutput : final : False verbose : True original output for save of step final : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} new output for save of step final : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} [1383887136, 1383887067, 1383887062, 1383887041, 1383887038, 1383887037, 1383887036, 1383886981, 1383886977, 1383886973, 1383886971, 1383886970, 1383886968, 1383886925, 1383886924, 1383886911, 1383886814, 1383886808, 1383886792, 1383886767, 1383886759, 1383886543, 1383886540, 1383886539, 1383886537, 1383886374, 1383886318, 1383886314, 1383886312, 1383886310, 1383886308, 1383886287, 1383886221] map_info['map_portfolio_photo'] : {26889279: [1383887136, 1383887067, 1383887062, 1383887041, 1383887038, 1383887037, 1383887036, 1383886981, 1383886977, 1383886973, 1383886971, 1383886970, 1383886968, 1383886925, 1383886924, 1383886911, 1383886814, 1383886808, 1383886792, 1383886767, 1383886759, 1383886543, 1383886540, 1383886539, 1383886537, 1383886374, 1383886318, 1383886314, 1383886312, 1383886310, 1383886308, 1383886287, 1383886221]} final : False mtd_id 4302 list_pids : [1383887136, 1383887067, 1383887062, 1383887041, 1383887038, 1383887037, 1383887036, 1383886981, 1383886977, 1383886973, 1383886971, 1383886970, 1383886968, 1383886925, 1383886924, 1383886911, 1383886814, 1383886808, 1383886792, 1383886767, 1383886759, 1383886543, 1383886540, 1383886539, 1383886537, 1383886374, 1383886318, 1383886314, 1383886312, 1383886310, 1383886308, 1383886287, 1383886221] Looping around the photos to save general results len do output : 33 /1383887136.Didn't retrieve data . /1383887067.Didn't retrieve data . /1383887062.Didn't retrieve data . /1383887041.Didn't retrieve data . /1383887038.Didn't retrieve data . /1383887037.Didn't retrieve data . /1383887036.Didn't retrieve data . /1383886981.Didn't retrieve data . /1383886977.Didn't retrieve data . /1383886973.Didn't retrieve data . /1383886971.Didn't retrieve data . /1383886970.Didn't retrieve data . /1383886968.Didn't retrieve data . /1383886925.Didn't retrieve data . /1383886924.Didn't retrieve data . /1383886911.Didn't retrieve data . /1383886814.Didn't retrieve data . /1383886808.Didn't retrieve data . /1383886792.Didn't retrieve data . /1383886767.Didn't retrieve data . /1383886759.Didn't retrieve data . /1383886543.Didn't retrieve data . /1383886540.Didn't retrieve data . /1383886539.Didn't retrieve data . /1383886537.Didn't retrieve data . /1383886374.Didn't retrieve data . /1383886318.Didn't retrieve data . /1383886314.Didn't retrieve data . /1383886312.Didn't retrieve data . /1383886310.Didn't retrieve data . /1383886308.Didn't retrieve data . /1383886287.Didn't retrieve data . /1383886221.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, '3732508') ('4302', '26889279', '1383887136', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887067', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887062', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887041', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887038', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887037', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887036', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886981', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886977', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886973', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886971', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886970', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886968', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886925', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886924', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886911', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886814', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886808', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886792', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886767', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886759', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886543', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886540', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886539', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886537', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886374', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886318', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886314', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886312', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886310', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886308', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886287', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886221', None, None, None, None, None, '3732508') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 99 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', '26889279', '1383887136', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383887067', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383887062', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383887041', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383887038', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383887037', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383887036', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886981', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886977', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886973', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886971', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886970', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886968', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886925', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886924', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886911', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886814', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886808', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886792', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886767', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886759', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886543', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886540', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886539', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886537', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886374', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886318', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886314', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886312', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886310', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886308', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886287', '0.04198663803921783', None, None, None, None, '3732508'), ('4302', '26889279', '1383886221', '0.04198663803921783', None, None, None, None, '3732508')] time used for this insertion : 0.026526927947998047 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06987833976745605 time spend to save output : 0.028012752532958984 total time spend for step 2 : 0.09789109230041504 step3:velours_tree Wed Sep 17 05:52:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {26889279: [{'autre_refus': 26889281, 'Carton_brun': 26889282, 'flou': 26889283, 'metal': 26889284, 'environnement': 26889285, 'papier': 26889286, 'kraft': 26889287, 'cartonnette': 26889288, 'plastique': 26889289, 'Teint_Dans_La_Masse': 26889290, 'Carton_gris': 26889291, 'mal_croppe': 26889292}]} input_args_next_step : {26889279: ()} output_args : {26889279: [{'autre_refus': 26889281, 'Carton_brun': 26889282, 'flou': 26889283, 'metal': 26889284, 'environnement': 26889285, 'papier': 26889286, 'kraft': 26889287, 'cartonnette': 26889288, 'plastique': 26889289, 'Teint_Dans_La_Masse': 26889290, 'Carton_gris': 26889291, 'mal_croppe': 26889292}]} args : 26889279 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 : ({'autre_refus': 26889281, 'Carton_brun': 26889282, 'flou': 26889283, 'metal': 26889284, 'environnement': 26889285, 'papier': 26889286, 'kraft': 26889287, 'cartonnette': 26889288, 'plastique': 26889289, 'Teint_Dans_La_Masse': 26889290, 'Carton_gris': 26889291, 'mal_croppe': 26889292},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26889279) 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([26889279]) 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.3051490783691406 time spend to save output : 6.103515625e-05 total time spend for step 3 : 0.3052101135253906 step4:send_mail_cod Wed Sep 17 05:52:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} input_args_next_step : {1383887136: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383887136 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383887067 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383887062 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383887041 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383887038 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383887037 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383887036 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886981 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886977 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886973 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886971 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886970 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886968 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886925 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886924 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886911 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886814 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886808 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886792 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886767 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886759 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886543 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886540 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886539 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886537 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886374 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886318 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886314 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886312 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886310 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886308 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886287 depend.output_id : 0 input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ()} output_args : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',)} args : 1383886221 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 : {26889279: [{'autre_refus': 26889281, 'Carton_brun': 26889282, 'flou': 26889283, 'metal': 26889284, 'environnement': 26889285, 'papier': 26889286, 'kraft': 26889287, 'cartonnette': 26889288, 'plastique': 26889289, 'Teint_Dans_La_Masse': 26889290, 'Carton_gris': 26889291, 'mal_croppe': 26889292}]} input_args_next_step : {1383887136: ('0.04198663803921783',), 1383887067: ('0.04198663803921783',), 1383887062: ('0.04198663803921783',), 1383887041: ('0.04198663803921783',), 1383887038: ('0.04198663803921783',), 1383887037: ('0.04198663803921783',), 1383887036: ('0.04198663803921783',), 1383886981: ('0.04198663803921783',), 1383886977: ('0.04198663803921783',), 1383886973: ('0.04198663803921783',), 1383886971: ('0.04198663803921783',), 1383886970: ('0.04198663803921783',), 1383886968: ('0.04198663803921783',), 1383886925: ('0.04198663803921783',), 1383886924: ('0.04198663803921783',), 1383886911: ('0.04198663803921783',), 1383886814: ('0.04198663803921783',), 1383886808: ('0.04198663803921783',), 1383886792: ('0.04198663803921783',), 1383886767: ('0.04198663803921783',), 1383886759: ('0.04198663803921783',), 1383886543: ('0.04198663803921783',), 1383886540: ('0.04198663803921783',), 1383886539: ('0.04198663803921783',), 1383886537: ('0.04198663803921783',), 1383886374: ('0.04198663803921783',), 1383886318: ('0.04198663803921783',), 1383886314: ('0.04198663803921783',), 1383886312: ('0.04198663803921783',), 1383886310: ('0.04198663803921783',), 1383886308: ('0.04198663803921783',), 1383886287: ('0.04198663803921783',), 1383886221: ('0.04198663803921783',), 26889279: ()} output_args : {26889279: [{'autre_refus': 26889281, 'Carton_brun': 26889282, 'flou': 26889283, 'metal': 26889284, 'environnement': 26889285, 'papier': 26889286, 'kraft': 26889287, 'cartonnette': 26889288, 'plastique': 26889289, 'Teint_Dans_La_Masse': 26889290, 'Carton_gris': 26889291, 'mal_croppe': 26889292}]} args : 26889279 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 :34, first value : ('0.04198663803921783',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26889279) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1383887136,1383887067,1383887062,1383887041,1383887038,1383887037,1383887036,1383886981,1383886977,1383886973,1383886971,1383886970,1383886968,1383886925,1383886924,1383886911,1383886814,1383886808,1383886792,1383886767,1383886759,1383886543,1383886540,1383886539,1383886537,1383886374,1383886318,1383886314,1383886312,1383886310,1383886308,1383886287,1383886221) Found this number of photos: 33 ##### Call download_photos : nb_thread : 5 begin to download photo : 1383886221 begin to download photo : 1383886374 begin to download photo : 1383886792 begin to download photo : 1383886970 begin to download photo : 1383887038 download finish for photo 1383886792 begin to download photo : 1383886808 download finish for photo 1383886970 begin to download photo : 1383886971 download finish for photo 1383886374 begin to download photo : 1383886537 download finish for photo 1383887038 begin to download photo : 1383887041 download finish for photo 1383886221 begin to download photo : 1383886287 download finish for photo 1383887041 begin to download photo : 1383887062 download finish for photo 1383886537 begin to download photo : 1383886539 download finish for photo 1383886808 begin to download photo : 1383886814 download finish for photo 1383886971 begin to download photo : 1383886973 download finish for photo 1383886287 begin to download photo : 1383886308 download finish for photo 1383887062 begin to download photo : 1383887067 download finish for photo 1383886539 begin to download photo : 1383886540 download finish for photo 1383886973 begin to download photo : 1383886977 download finish for photo 1383886814 begin to download photo : 1383886911 download finish for photo 1383886308 begin to download photo : 1383886310 download finish for photo 1383886540 begin to download photo : 1383886543 download finish for photo 1383887067 begin to download photo : 1383887136 download finish for photo 1383886911 begin to download photo : 1383886924 download finish for photo 1383886977 begin to download photo : 1383886981 download finish for photo 1383886310 begin to download photo : 1383886312 download finish for photo 1383886543 begin to download photo : 1383886759 download finish for photo 1383887136 download finish for photo 1383886981 begin to download photo : 1383887036 download finish for photo 1383886312 begin to download photo : 1383886314 download finish for photo 1383886759 begin to download photo : 1383886767 download finish for photo 1383886924 begin to download photo : 1383886925 download finish for photo 1383887036 begin to download photo : 1383887037 download finish for photo 1383886314 begin to download photo : 1383886318 download finish for photo 1383886767 download finish for photo 1383887037 download finish for photo 1383886925 begin to download photo : 1383886968 download finish for photo 1383886318 download finish for photo 1383886968 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 33 ; length of list_pids : 33 ; length of list_args : 33 results_Auto_P26889279_17-09-2025_05_52_30.pdf 26889281 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26889281 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383886518: '1758016387_3992546_1383886318_aa384de10de4f2684f864ad3c1197ac5_rle_crop_3959230549_0.png'} change filename to text .imagette268892811758081150/ imagette268892811758081150/1758016387_3992546_1383886318_aa384de10de4f2684f864ad3c1197ac5_rle_crop_3959230549_0.png.png imagette268892831758081150/ imagette268892841758081150/ imagette268892871758081150/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/16eff37cb7b42cb4852457b76ff28a83_25426575.png imagette268892811758081150 26889283 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26889283 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette268892831758081150 26889284 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26889284 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette268892841758081150 26889287 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26889287 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette268892871758081150 26889288 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26889288 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383886842: '1758016507_3998950_1383886540_7475835fc5d2f185dd3d600802c9801c_rle_crop_3959230869_0.png', 1383886845: '1758016507_3998950_1383886539_8839d21ad9cdb09ecbfeee9a51fb8182_rle_crop_3959230875_0.png', 1383887032: '1758016646_4004198_1383886924_3a39144555fc3c0faba72c643ddbb5a5_rle_crop_3959231895_0.png', 1383887059: '1758016747_4006983_1383887038_c5f14c53a1e4d8b051757b34d8bb01f5_rle_crop_3959231980_0.png', 1383887060: '1758016747_4006983_1383887037_553323a82044c398b2d56d9a8f2a55b6_rle_crop_3959231994_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/c26b16bb172a60b147bf41c490072de9_72622369.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/385fe3d4ea49809e4c756bb88cd51281_27367791.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/51bbc376c8709fe3a6153fc52b486147_61694686.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/1819190e4b68c46fd1e93ce6d5342762_53462985.png change filename to text .imagette268892881758081150/ imagette268892881758081150/1758016507_3998950_1383886539_8839d21ad9cdb09ecbfeee9a51fb8182_rle_crop_3959230875_0.png.png imagette268892881758081150/1758016747_4006983_1383887037_553323a82044c398b2d56d9a8f2a55b6_rle_crop_3959231994_0.png.png imagette268892881758081150/1758016646_4004198_1383886924_3a39144555fc3c0faba72c643ddbb5a5_rle_crop_3959231895_0.png.png imagette268892881758081150/1758016507_3998950_1383886540_7475835fc5d2f185dd3d600802c9801c_rle_crop_3959230869_0.png.png imagette268892881758081150/1758016747_4006983_1383887038_c5f14c53a1e4d8b051757b34d8bb01f5_rle_crop_3959231980_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/24214b645983ee122241e9dea59a15ff_39338837.png imagette268892881758081150 26889289 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26889289 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383886522: '1758016387_3992546_1383886318_aa384de10de4f2684f864ad3c1197ac5_rle_crop_3959230551_0.png', 1383886532: '1758016404_3992976_1383886314_355f92eb58f658cda910fb479e658bfa_rle_crop_3959230700_0.png', 1383886533: '1758016404_3992976_1383886308_b830cb9545ca9889dc80e0ef1aa9af52_rle_crop_3959230731_0.png', 1383886534: '1758016404_3992976_1383886308_b830cb9545ca9889dc80e0ef1aa9af52_rle_crop_3959230730_0.png', 1383887084: '1758016767_4007335_1383886971_6aa4404b82e8b6d26d7b1a2acce20b3e_rle_crop_3959232195_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/894e04c7660919bc43de26a836bdfd3e_37217279.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/40568453750c7cbdecf8272228eff3c7_78185080.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/d214082474ccf2dfdb410c843cc49a6f_76771611.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/8e91bea5d65c70d0dd45061d65e7daf9_6646099.png change filename to text .imagette268892891758081151/ imagette268892891758081151/1758016767_4007335_1383886971_6aa4404b82e8b6d26d7b1a2acce20b3e_rle_crop_3959232195_0.png.png imagette268892891758081151/1758016404_3992976_1383886308_b830cb9545ca9889dc80e0ef1aa9af52_rle_crop_3959230730_0.png.png imagette268892891758081151/1758016404_3992976_1383886308_b830cb9545ca9889dc80e0ef1aa9af52_rle_crop_3959230731_0.png.png imagette268892891758081151/1758016387_3992546_1383886318_aa384de10de4f2684f864ad3c1197ac5_rle_crop_3959230551_0.png.png imagette268892891758081151/1758016404_3992976_1383886314_355f92eb58f658cda910fb479e658bfa_rle_crop_3959230700_0.png.png imagette268892921758081151/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/973ac3aec3da0204e1322518fcbfbded_21530912.png imagette268892891758081151 26889292 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26889292 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette268892921758081151 26889282 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26889282 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383886521: '1758016387_3992546_1383886287_36f9c173b09d604d4c0c065497eb6956_rle_crop_3959230558_0.png', 1383886531: '1758016404_3992976_1383886374_b40d6f4f8c7df88e3bed44fc85831e42_rle_crop_3959230685_0.png', 1383887082: '1758016767_4007335_1383886971_6aa4404b82e8b6d26d7b1a2acce20b3e_rle_crop_3959232197_0.png', 1383887292: '1758017005_4059411_1383887136_4ff3b5a78f0a7fa8e7ef888a59afc331_rle_crop_3959234235_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/4a6703491124804816e629bff10ab6d3_52452768.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/60cbf458db4336cc1e2ffacfed114d48_95844491.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/2feff254e4f707f94c6e89621426892f_75464864.png change filename to text .imagette268892821758081151/ imagette268892821758081151/1758016767_4007335_1383886971_6aa4404b82e8b6d26d7b1a2acce20b3e_rle_crop_3959232197_0.png.png imagette268892821758081151/1758017005_4059411_1383887136_4ff3b5a78f0a7fa8e7ef888a59afc331_rle_crop_3959234235_0.png.png imagette268892821758081151/1758016387_3992546_1383886287_36f9c173b09d604d4c0c065497eb6956_rle_crop_3959230558_0.png.png imagette268892821758081151/1758016404_3992976_1383886374_b40d6f4f8c7df88e3bed44fc85831e42_rle_crop_3959230685_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/32dcfd31b06c4534ec1379689fbdcb26_71315768.png imagette268892821758081151 26889290 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26889290 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383887077: '1758016767_4007335_1383886970_c498d3a8be4cc5b18a414577a2fa889c_rle_crop_3959232210_0.png', 1383888189: '1758018067_4105195_1383886814_5617cb38f7f3f604c1184e45cea5fb32_rle_crop_3959246452_0.png', 1383888188: '1758018067_4105195_1383886814_5617cb38f7f3f604c1184e45cea5fb32_rle_crop_3959246453_0.png', 1383887182: '1758016886_4054164_1383886759_05a3e7b37ae60273ff4d1e5ce1295a70_rle_crop_3959233658_0.png', 1383887181: '1758016886_4054164_1383886767_305962e8713d6562a14c46e2232f4bd9_rle_crop_3959233632_0.png', 1383887180: '1758016886_4054164_1383886767_305962e8713d6562a14c46e2232f4bd9_rle_crop_3959233633_0.png', 1383887179: '1758016886_4054164_1383886792_92829208a6ff64281b567206fc8bde0e_rle_crop_3959233609_0.png', 1383887178: '1758016886_4054164_1383886808_a303e40b13b489e5134c479b4639984b_rle_crop_3959233570_0.png', 1383887177: '1758016886_4054164_1383886925_758a9ef987e07f732eafc97c1feb0c2e_rle_crop_3959233543_0.png', 1383887176: '1758016886_4054164_1383886925_758a9ef987e07f732eafc97c1feb0c2e_rle_crop_3959233540_0.png', 1383886515: '1758016387_3992546_1383886287_36f9c173b09d604d4c0c065497eb6956_rle_crop_3959230559_0.png', 1383887076: '1758016767_4007335_1383886970_c498d3a8be4cc5b18a414577a2fa889c_rle_crop_3959232214_0.png', 1383887075: '1758016767_4007335_1383886971_6aa4404b82e8b6d26d7b1a2acce20b3e_rle_crop_3959232203_0.png', 1383887074: '1758016767_4007335_1383886971_6aa4404b82e8b6d26d7b1a2acce20b3e_rle_crop_3959232200_0.png', 1383887072: '1758016767_4007335_1383886971_6aa4404b82e8b6d26d7b1a2acce20b3e_rle_crop_3959232205_0.png', 1383887058: '1758016747_4006983_1383887038_c5f14c53a1e4d8b051757b34d8bb01f5_rle_crop_3959231985_0.png', 1383886826: '1758016507_3998950_1383886537_dca7051ba2bc57619371f80c2c87c009_rle_crop_3959230887_0.png', 1383886824: '1758016507_3998950_1383886539_8839d21ad9cdb09ecbfeee9a51fb8182_rle_crop_3959230879_0.png', 1383886529: '1758016404_3992976_1383886308_b830cb9545ca9889dc80e0ef1aa9af52_rle_crop_3959230737_0.png', 1383886516: '1758016387_3992546_1383886287_36f9c173b09d604d4c0c065497eb6956_rle_crop_3959230561_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/7cab96063b146600de95cd4bbafcd561_80120445.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/d0844d125e10670bce0f7c40ce8b3079_87000881.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/572f97206bb2f11e986c9eb995cfae98_13529553.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/e63a369e6d15eb01cef8824d4eead4d2_79222103.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/66d4f83b9b25c13150ec628f8d479e13_89010918.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/cc8949b67dd4236ab59ab10931553884_20577214.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/97fefd26bfcbe30beabb5ff8ec8d0f14_463265.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/4298c9d0e183ff353c7edb1471b3ac36_53832212.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/153cbedc672d565ffc365eac6d5385a4_3371679.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/c2c5ab4da3df2871dd67a15540117353_94193376.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/9771004b9f5bb378d2588595aad44126_72765000.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/482118a40846ba6c583f274133a6721d_13879913.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/d8af4b05dc9d702d500362cb1c0858a2_7183813.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/2b4ea539fdb6c569d1b81fc98b8b49c5_31953355.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/de7426d8a68ef4ea0b16c7fda1383cbb_45709763.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/842f54a8b983bda8c2e68af09878171c_9169392.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/5866acb1981f82216d99972e8082c0ad_46739466.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/82ba32b37a85975c030a0323bc2d395b_61460122.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/85ef96b09ef69d591c330c79ddb70642_48178601.png change filename to text .imagette268892901758081152/ imagette268892901758081152/1758016404_3992976_1383886308_b830cb9545ca9889dc80e0ef1aa9af52_rle_crop_3959230737_0.png.png imagette268892901758081152/1758016387_3992546_1383886287_36f9c173b09d604d4c0c065497eb6956_rle_crop_3959230561_0.png.png imagette268892901758081152/1758016767_4007335_1383886970_c498d3a8be4cc5b18a414577a2fa889c_rle_crop_3959232210_0.png.png imagette268892901758081152/1758016886_4054164_1383886767_305962e8713d6562a14c46e2232f4bd9_rle_crop_3959233632_0.png.png imagette268892901758081152/1758018067_4105195_1383886814_5617cb38f7f3f604c1184e45cea5fb32_rle_crop_3959246452_0.png.png imagette268892901758081152/1758016886_4054164_1383886925_758a9ef987e07f732eafc97c1feb0c2e_rle_crop_3959233540_0.png.png imagette268892901758081152/1758016767_4007335_1383886971_6aa4404b82e8b6d26d7b1a2acce20b3e_rle_crop_3959232200_0.png.png imagette268892901758081152/1758016886_4054164_1383886759_05a3e7b37ae60273ff4d1e5ce1295a70_rle_crop_3959233658_0.png.png imagette268892901758081152/1758016747_4006983_1383887038_c5f14c53a1e4d8b051757b34d8bb01f5_rle_crop_3959231985_0.png.png imagette268892901758081152/1758016767_4007335_1383886971_6aa4404b82e8b6d26d7b1a2acce20b3e_rle_crop_3959232205_0.png.png imagette268892901758081152/1758016387_3992546_1383886287_36f9c173b09d604d4c0c065497eb6956_rle_crop_3959230559_0.png.png imagette268892901758081152/1758018067_4105195_1383886814_5617cb38f7f3f604c1184e45cea5fb32_rle_crop_3959246453_0.png.png imagette268892901758081152/1758016886_4054164_1383886925_758a9ef987e07f732eafc97c1feb0c2e_rle_crop_3959233543_0.png.png imagette268892901758081152/1758016886_4054164_1383886808_a303e40b13b489e5134c479b4639984b_rle_crop_3959233570_0.png.png imagette268892901758081152/1758016507_3998950_1383886537_dca7051ba2bc57619371f80c2c87c009_rle_crop_3959230887_0.png.png imagette268892901758081152/1758016767_4007335_1383886971_6aa4404b82e8b6d26d7b1a2acce20b3e_rle_crop_3959232203_0.png.png imagette268892901758081152/1758016886_4054164_1383886767_305962e8713d6562a14c46e2232f4bd9_rle_crop_3959233633_0.png.png imagette268892901758081152/1758016767_4007335_1383886970_c498d3a8be4cc5b18a414577a2fa889c_rle_crop_3959232214_0.png.png imagette268892901758081152/1758016507_3998950_1383886539_8839d21ad9cdb09ecbfeee9a51fb8182_rle_crop_3959230879_0.png.png imagette268892901758081152/1758016886_4054164_1383886792_92829208a6ff64281b567206fc8bde0e_rle_crop_3959233609_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/1f8dfbd9de6b328188e1bfbe7811e02c_83502350.png imagette268892901758081152 26889291 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26889291 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1383886520: '1758016387_3992546_1383886318_aa384de10de4f2684f864ad3c1197ac5_rle_crop_3959230547_0.png', 1383886530: '1758016404_3992976_1383886312_d6774f0cffaeba5083ffbc3ac2b1432b_rle_crop_3959230705_0.png', 1383886832: '1758016507_3998950_1383886537_dca7051ba2bc57619371f80c2c87c009_rle_crop_3959230885_0.png', 1383887030: '1758016646_4004198_1383886911_c6c2534b6d4b4780da92ee9aafb979d5_rle_crop_3959231913_0.png', 1383887079: '1758016767_4007335_1383886971_6aa4404b82e8b6d26d7b1a2acce20b3e_rle_crop_3959232193_0.png', 1383887080: '1758016767_4007335_1383886970_c498d3a8be4cc5b18a414577a2fa889c_rle_crop_3959232215_0.png', 1383887081: '1758016767_4007335_1383886968_1f4d5f1dc5d88961bab9bdca5019bde7_rle_crop_3959232220_0.png', 1383887186: '1758016886_4054164_1383886808_a303e40b13b489e5134c479b4639984b_rle_crop_3959233569_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/5591bf360aa0d7c8e12b3577a9b03d24_89779951.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/ea02758e77f941171b4f2676802e182f_51712922.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/fbada5ffa61ff96147867c0324e34a98_42610047.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/107d6f07ec0f89463b53a084784fd249_69630793.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/10f3ecaf8cce0bb128862cd8357f18d7_27398395.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/e1929f5dde07ab195cb6d39272c719d8_55605315.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/47d0ba4f1e92a8982c44d435cafca8cc_22537936.png change filename to text .imagette268892911758081154/ imagette268892911758081154/1758016767_4007335_1383886970_c498d3a8be4cc5b18a414577a2fa889c_rle_crop_3959232215_0.png.png imagette268892911758081154/1758016387_3992546_1383886318_aa384de10de4f2684f864ad3c1197ac5_rle_crop_3959230547_0.png.png imagette268892911758081154/1758016646_4004198_1383886911_c6c2534b6d4b4780da92ee9aafb979d5_rle_crop_3959231913_0.png.png imagette268892911758081154/1758016886_4054164_1383886808_a303e40b13b489e5134c479b4639984b_rle_crop_3959233569_0.png.png imagette268892911758081154/1758016767_4007335_1383886971_6aa4404b82e8b6d26d7b1a2acce20b3e_rle_crop_3959232193_0.png.png imagette268892911758081154/1758016767_4007335_1383886968_1f4d5f1dc5d88961bab9bdca5019bde7_rle_crop_3959232220_0.png.png imagette268892911758081154/1758016507_3998950_1383886537_dca7051ba2bc57619371f80c2c87c009_rle_crop_3959230885_0.png.png imagette268892911758081154/1758016404_3992976_1383886312_d6774f0cffaeba5083ffbc3ac2b1432b_rle_crop_3959230705_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/5bbad4044070520cae19ca13bb4e9f13_72206838.png imagette268892911758081154 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26889279 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26889293,26889294,26889295,26889296,26889297,26889298,26889299,26889300,26889301,26889302,26889303,26889304?tags=autre_refus,Carton_brun,flou,metal,environnement,papier,kraft,cartonnette,plastique,Teint_Dans_La_Masse,Carton_gris,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1383887136] : ('0.04198663803921783',) no score found for photo 1383887136 We are sending mail with results at report@fotonower.com args[1383887067] : ('0.04198663803921783',) no score found for photo 1383887067 We are sending mail with results at report@fotonower.com args[1383887062] : ('0.04198663803921783',) no score found for photo 1383887062 We are sending mail with results at report@fotonower.com args[1383887041] : ('0.04198663803921783',) no score found for photo 1383887041 We are sending mail with results at report@fotonower.com args[1383887038] : ('0.04198663803921783',) no score found for photo 1383887038 We are sending mail with results at report@fotonower.com args[1383887037] : ('0.04198663803921783',) no score found for photo 1383887037 We are sending mail with results at report@fotonower.com args[1383887036] : ('0.04198663803921783',) no score found for photo 1383887036 We are sending mail with results at report@fotonower.com args[1383886981] : ('0.04198663803921783',) no score found for photo 1383886981 We are sending mail with results at report@fotonower.com args[1383886977] : ('0.04198663803921783',) no score found for photo 1383886977 We are sending mail with results at report@fotonower.com args[1383886973] : ('0.04198663803921783',) no score found for photo 1383886973 We are sending mail with results at report@fotonower.com args[1383886971] : ('0.04198663803921783',) no score found for photo 1383886971 We are sending mail with results at report@fotonower.com args[1383886970] : ('0.04198663803921783',) no score found for photo 1383886970 We are sending mail with results at report@fotonower.com args[1383886968] : ('0.04198663803921783',) no score found for photo 1383886968 We are sending mail with results at report@fotonower.com args[1383886925] : ('0.04198663803921783',) no score found for photo 1383886925 We are sending mail with results at report@fotonower.com args[1383886924] : ('0.04198663803921783',) no score found for photo 1383886924 We are sending mail with results at report@fotonower.com args[1383886911] : ('0.04198663803921783',) no score found for photo 1383886911 We are sending mail with results at report@fotonower.com args[1383886814] : ('0.04198663803921783',) no score found for photo 1383886814 We are sending mail with results at report@fotonower.com args[1383886808] : ('0.04198663803921783',) no score found for photo 1383886808 We are sending mail with results at report@fotonower.com args[1383886792] : ('0.04198663803921783',) no score found for photo 1383886792 We are sending mail with results at report@fotonower.com args[1383886767] : ('0.04198663803921783',) no score found for photo 1383886767 We are sending mail with results at report@fotonower.com args[1383886759] : ('0.04198663803921783',) no score found for photo 1383886759 We are sending mail with results at report@fotonower.com args[1383886543] : ('0.04198663803921783',) no score found for photo 1383886543 We are sending mail with results at report@fotonower.com args[1383886540] : ('0.04198663803921783',) no score found for photo 1383886540 We are sending mail with results at report@fotonower.com args[1383886539] : ('0.04198663803921783',) no score found for photo 1383886539 We are sending mail with results at report@fotonower.com args[1383886537] : ('0.04198663803921783',) no score found for photo 1383886537 We are sending mail with results at report@fotonower.com args[1383886374] : ('0.04198663803921783',) no score found for photo 1383886374 We are sending mail with results at report@fotonower.com args[1383886318] : ('0.04198663803921783',) no score found for photo 1383886318 We are sending mail with results at report@fotonower.com args[1383886314] : ('0.04198663803921783',) no score found for photo 1383886314 We are sending mail with results at report@fotonower.com args[1383886312] : ('0.04198663803921783',) no score found for photo 1383886312 We are sending mail with results at report@fotonower.com args[1383886310] : ('0.04198663803921783',) no score found for photo 1383886310 We are sending mail with results at report@fotonower.com args[1383886308] : ('0.04198663803921783',) no score found for photo 1383886308 We are sending mail with results at report@fotonower.com args[1383886287] : ('0.04198663803921783',) no score found for photo 1383886287 We are sending mail with results at report@fotonower.com args[1383886221] : ('0.04198663803921783',) no score found for photo 1383886221 We are sending mail with results at report@fotonower.com refus_total : 0.04198663803921783 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26889279 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_P26889279_17-09-2025_05_52_30.pdf results_Auto_P26889279_17-09-2025_05_52_30.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26889279_17-09-2025_05_52_30.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','26889279','results_Auto_P26889279_17-09-2025_05_52_30.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26889279_17-09-2025_05_52_30.pdf','pdf','','0.36','0.04198663803921783') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26889279]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1383887136, 1383887067, 1383887062, 1383887041, 1383887038, 1383887037, 1383887036, 1383886981, 1383886977, 1383886973, 1383886971, 1383886970, 1383886968, 1383886925, 1383886924, 1383886911, 1383886814, 1383886808, 1383886792, 1383886767, 1383886759, 1383886543, 1383886540, 1383886539, 1383886537, 1383886374, 1383886318, 1383886314, 1383886312, 1383886310, 1383886308, 1383886287, 1383886221] map_info['map_portfolio_photo'] : {26889279: [1383887136, 1383887067, 1383887062, 1383887041, 1383887038, 1383887037, 1383887036, 1383886981, 1383886977, 1383886973, 1383886971, 1383886970, 1383886968, 1383886925, 1383886924, 1383886911, 1383886814, 1383886808, 1383886792, 1383886767, 1383886759, 1383886543, 1383886540, 1383886539, 1383886537, 1383886374, 1383886318, 1383886314, 1383886312, 1383886310, 1383886308, 1383886287, 1383886221]} final : False mtd_id 4302 list_pids : [1383887136, 1383887067, 1383887062, 1383887041, 1383887038, 1383887037, 1383887036, 1383886981, 1383886977, 1383886973, 1383886971, 1383886970, 1383886968, 1383886925, 1383886924, 1383886911, 1383886814, 1383886808, 1383886792, 1383886767, 1383886759, 1383886543, 1383886540, 1383886539, 1383886537, 1383886374, 1383886318, 1383886314, 1383886312, 1383886310, 1383886308, 1383886287, 1383886221] 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, '3732508') ('4302', '26889279', '1383887136', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887067', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887062', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887041', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887038', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887037', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887036', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886981', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886977', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886973', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886971', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886970', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886968', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886925', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886924', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886911', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886814', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886808', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886792', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886767', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886759', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886543', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886540', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886539', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886537', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886374', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886318', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886314', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886312', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886310', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886308', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886287', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886221', None, None, None, None, None, '3732508') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 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', '26889279', '1383887136', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383887067', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383887062', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383887041', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383887038', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383887037', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383887036', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886981', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886977', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886973', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886971', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886970', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886968', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886925', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886924', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886911', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886814', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886808', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886792', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886767', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886759', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886543', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886540', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886539', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886537', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886374', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886318', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886314', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886312', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886310', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886308', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886287', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886221', None, None, None, None, None, '3732508')] time used for this insertion : 0.7122995853424072 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.168959140777588 time spend to save output : 0.7127175331115723 total time spend for step 4 : 8.88167667388916 step5:split_time_score Wed Sep 17 05:52:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['26889279'] 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 : [('26889279',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26889279) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1383887038: {'path': 'temp/1758081149_573020_1383887038_c5f14c53a1e4d8b051757b34d8bb01f5.jpg', 'extension': 'jpg'}, 1383887041: {'path': 'temp/1758081149_573020_1383887041_849182b9672436ae6abfcac61e643c03.jpg', 'extension': 'jpg'}, 1383887062: {'path': 'temp/1758081149_573020_1383887062_c64c60878f593d85d577061717858b09.jpg', 'extension': 'jpg'}, 1383887067: {'path': 'temp/1758081149_573020_1383887067_8d1e7cc020f98d919fbf7cbbcce72e75.jpg', 'extension': 'jpg'}, 1383887136: {'path': 'temp/1758081149_573020_1383887136_4ff3b5a78f0a7fa8e7ef888a59afc331.jpg', 'extension': 'jpg'}, 1383886374: {'path': 'temp/1758081149_573020_1383886374_b40d6f4f8c7df88e3bed44fc85831e42.jpg', 'extension': 'jpg'}, 1383886537: {'path': 'temp/1758081149_573020_1383886537_dca7051ba2bc57619371f80c2c87c009.jpg', 'extension': 'jpg'}, 1383886539: {'path': 'temp/1758081149_573020_1383886539_8839d21ad9cdb09ecbfeee9a51fb8182.jpg', 'extension': 'jpg'}, 1383886540: {'path': 'temp/1758081149_573020_1383886540_7475835fc5d2f185dd3d600802c9801c.jpg', 'extension': 'jpg'}, 1383886543: {'path': 'temp/1758081149_573020_1383886543_ab3de38a820a1bfadc0f8f7982b19575.jpg', 'extension': 'jpg'}, 1383886759: {'path': 'temp/1758081149_573020_1383886759_05a3e7b37ae60273ff4d1e5ce1295a70.jpg', 'extension': 'jpg'}, 1383886767: {'path': 'temp/1758081149_573020_1383886767_305962e8713d6562a14c46e2232f4bd9.jpg', 'extension': 'jpg'}, 1383886970: {'path': 'temp/1758081149_573020_1383886970_c498d3a8be4cc5b18a414577a2fa889c.jpg', 'extension': 'jpg'}, 1383886971: {'path': 'temp/1758081149_573020_1383886971_6aa4404b82e8b6d26d7b1a2acce20b3e.jpg', 'extension': 'jpg'}, 1383886973: {'path': 'temp/1758081149_573020_1383886973_58aa0e80479cabe659a5e66af22be27f.jpg', 'extension': 'jpg'}, 1383886977: {'path': 'temp/1758081149_573020_1383886977_252fd68f56971eddbf8ec2bd53f0b4dc.jpg', 'extension': 'jpg'}, 1383886981: {'path': 'temp/1758081149_573020_1383886981_3ecb4a0d1d60215900823d5d95b1cb55.jpg', 'extension': 'jpg'}, 1383887036: {'path': 'temp/1758081149_573020_1383887036_721fd479caac155763d9b6fd297f345c.jpg', 'extension': 'jpg'}, 1383887037: {'path': 'temp/1758081149_573020_1383887037_553323a82044c398b2d56d9a8f2a55b6.jpg', 'extension': 'jpg'}, 1383886221: {'path': 'temp/1758081149_573020_1383886221_62c4c59f705fd552c54be940517371ff.jpg', 'extension': 'jpg'}, 1383886287: {'path': 'temp/1758081149_573020_1383886287_36f9c173b09d604d4c0c065497eb6956.jpg', 'extension': 'jpg'}, 1383886308: {'path': 'temp/1758081149_573020_1383886308_b830cb9545ca9889dc80e0ef1aa9af52.jpg', 'extension': 'jpg'}, 1383886310: {'path': 'temp/1758081149_573020_1383886310_2dfacd5081d440d68b93db7a4083f03e.jpg', 'extension': 'jpg'}, 1383886312: {'path': 'temp/1758081149_573020_1383886312_d6774f0cffaeba5083ffbc3ac2b1432b.jpg', 'extension': 'jpg'}, 1383886314: {'path': 'temp/1758081149_573020_1383886314_355f92eb58f658cda910fb479e658bfa.jpg', 'extension': 'jpg'}, 1383886318: {'path': 'temp/1758081149_573020_1383886318_aa384de10de4f2684f864ad3c1197ac5.jpg', 'extension': 'jpg'}, 1383886792: {'path': 'temp/1758081149_573020_1383886792_92829208a6ff64281b567206fc8bde0e.jpg', 'extension': 'jpg'}, 1383886808: {'path': 'temp/1758081149_573020_1383886808_a303e40b13b489e5134c479b4639984b.jpg', 'extension': 'jpg'}, 1383886814: {'path': 'temp/1758081149_573020_1383886814_5617cb38f7f3f604c1184e45cea5fb32.jpg', 'extension': 'jpg'}, 1383886911: {'path': 'temp/1758081149_573020_1383886911_c6c2534b6d4b4780da92ee9aafb979d5.jpg', 'extension': 'jpg'}, 1383886924: {'path': 'temp/1758081149_573020_1383886924_3a39144555fc3c0faba72c643ddbb5a5.jpg', 'extension': 'jpg'}, 1383886925: {'path': 'temp/1758081149_573020_1383886925_758a9ef987e07f732eafc97c1feb0c2e.jpg', 'extension': 'jpg'}, 1383886968: {'path': 'temp/1758081149_573020_1383886968_1f4d5f1dc5d88961bab9bdca5019bde7.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 = 26889279; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26889279 group by h (('11', 33),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26889279 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 (26889279) 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 (26889279) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 16092025 26889279 Nombre de photos uploadées : 33 / 23040 (0%) 16092025 26889279 Nombre de photos taguées (types de déchets): 0 / 33 (0%) 16092025 26889279 Nombre de photos taguées (volume) : 0 / 33 (0%) [{'photo_id': 1383886221, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/62c4c59f705fd552c54be940517371ff.jpg', 'username': None, 'uploaded_at': 1758016082, 'text': 'image_16092025_11_47_14_10137.jpg'}, {'photo_id': 1383886287, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/36f9c173b09d604d4c0c065497eb6956.jpg', 'username': None, 'uploaded_at': 1758016147, 'text': 'image_16092025_11_48_45_010137m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1383886318, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/aa384de10de4f2684f864ad3c1197ac5.jpg', 'username': None, 'uploaded_at': 1758016207, 'text': 'image_16092025_11_48_55_010139m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1383886314, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/16/355f92eb58f658cda910fb479e658bfa.jpg', 'username': None, 'uploaded_at': 1758016207, 'text': 'image_16092025_11_49_15_010138m0.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 5.245208740234375e-06 ????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0017113685607910156 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26889279, '2025-09-16' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-09-16' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2292505,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20568346977233887 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= 2292505 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26872491, 'dashboard_result_id': 15284419, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26872491_17-09-2025_05_34_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26872492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26872493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26872494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26872495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26872496, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26872497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26872498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26872499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26872500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26872501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26872502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26872503, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26872955, 'dashboard_result_id': 15284420, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26872955_17-09-2025_05_35_28.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26872959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26872960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26872961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26872962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26872963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26872964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26872965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26872966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26872967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26872968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26872969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26872970, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26873034, 'dashboard_result_id': 15284421, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26873034_17-09-2025_05_35_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26873035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26873036, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26873037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26873038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26873039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26873040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26873041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26873042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26873043, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26873044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26873045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26873046, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26873180, 'dashboard_result_id': 15284422, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26873180_17-09-2025_05_36_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26873185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26873186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26873187, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26873188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26873189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26873190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26873191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26873192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26873193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26873194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26873195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26873196, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26873435, 'dashboard_result_id': 15284423, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26873435_17-09-2025_05_37_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26873436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26873437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26873438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26873439, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26873440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26873441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26873442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26873443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26873444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26873445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26873446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26873447, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26873696, 'dashboard_result_id': 15284424, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26873696_17-09-2025_05_37_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26873698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26873699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26873700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26873701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26873702, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26873703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26873704, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26873705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26873706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26873707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26873708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26873709, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26873917, 'dashboard_result_id': 15284425, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26873917_17-09-2025_05_38_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26873918, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26873919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26873920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26873921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26873922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26873923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26873924, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26873925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26873926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26873927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26873928, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26873929, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26874222, 'dashboard_result_id': 15284426, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26874222_17-09-2025_05_39_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26874226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26874227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26874228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26874229, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26874230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26874231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26874232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26874233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26874234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26874235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26874236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26874237, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26874538, 'dashboard_result_id': 15284427, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26874538_17-09-2025_05_40_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26874546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26874547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26874548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26874549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26874550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26874551, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26874552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26874553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26874554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26874555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26874556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26874557, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26874959, 'dashboard_result_id': 15284428, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26874959_17-09-2025_05_40_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26874970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26874971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26874972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26874973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26874974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26874975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26874976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26874977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26874978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26874979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26874980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26874981, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26875435, 'dashboard_result_id': 15284429, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26875435_17-09-2025_05_40_44.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26875445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26875446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26875447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26875448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26875449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26875450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26875451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26875452, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26875453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26875454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26875455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26875456, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26875862, 'dashboard_result_id': 15284430, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26875862_17-09-2025_05_41_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26875867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26875868, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26875869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26875870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26875871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26875872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26875873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26875874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26875875, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26875876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26875877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26875878, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26876346, 'dashboard_result_id': 15284431, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26876346_17-09-2025_05_42_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26876355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26876356, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26876357, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26876358, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26876359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26876360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26876361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26876362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26876363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26876364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26876365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26876366, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26876779, 'dashboard_result_id': 15284432, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26876779_17-09-2025_05_42_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26876816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26876817, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26876818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26876819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26876820, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26876821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26876822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26876823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26876824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26876825, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26876826, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26876827, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26877635, 'dashboard_result_id': 15284433, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26877635_17-09-2025_05_43_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26877658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26877659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26877660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26877661, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26877662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26877663, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26877664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26877665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26877666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26877667, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26877668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26877669, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26878360, 'dashboard_result_id': 15284434, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26878360_17-09-2025_05_44_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26878384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26878385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26878386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26878387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26878388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26878389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26878390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26878391, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26878392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26878393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26878394, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26878395, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26879055, 'dashboard_result_id': 15284435, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26879055_17-09-2025_05_44_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26879137, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26879138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26879140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26879141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26879142, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26879143, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26879144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26879145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26879146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26879147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26879148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26879149, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26879649, 'dashboard_result_id': 15284436, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26879649_17-09-2025_05_45_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26879669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26879670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26879672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26879673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26879674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26879676, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26879677, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26879678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26879679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26879681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26879682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26879683, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26880214, 'dashboard_result_id': 15284437, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26880214_17-09-2025_05_45_43.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26880248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26880249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26880250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26880251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26880252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26880253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26880254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26880255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26880256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26880257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26880258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26880259, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26880937, 'dashboard_result_id': 15284438, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26880937_17-09-2025_05_46_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26880938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26880939, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26880940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26880941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26880942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26880943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26880944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26880945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26880946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26880947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26880948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26880949, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26881605, 'dashboard_result_id': 15284439, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26881605_17-09-2025_05_46_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26881664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26881665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26881666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26881667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26881668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26881669, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26881670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26881671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26881672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26881673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26881674, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26881675, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26883495, 'dashboard_result_id': 15284440, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26883495_17-09-2025_05_48_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26883501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26883502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26883503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26883504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26883505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26883506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26883507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26883508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26883509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26883510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26883511, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26883512, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26883903, 'dashboard_result_id': 15284441, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26883903_17-09-2025_05_48_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26883912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26883913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26883914, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26883915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26883916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26883917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26883918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26883919, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26883920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26883921, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26883922, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26883923, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26884555, 'dashboard_result_id': 15284442, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26884555_17-09-2025_05_49_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26884581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26884582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26884583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26884584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26884585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26884586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26884587, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26884588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26884589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26884590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26884591, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26884592, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26885185, 'dashboard_result_id': 15284443, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26885185_17-09-2025_05_50_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26885189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26885190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26885191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26885192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26885193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26885194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26885195, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26885196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26885197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26885198, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26885199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26885200, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26885890, 'dashboard_result_id': 15284444, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26885890_17-09-2025_05_50_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26885911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26885912, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26885913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26885914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26885915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26885916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26885917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26885918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26885919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26885920, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26885921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26885922, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26886682, 'dashboard_result_id': 15284445, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26886682_17-09-2025_05_50_43.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26886719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26886720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26886721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26886722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26886723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26886724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26886725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26886726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26886727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26886728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26886729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26886730, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26887474, 'dashboard_result_id': 15284446, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26887474_17-09-2025_05_51_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26887524, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26887525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26887526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26887527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26887528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26887529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26887530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26887531, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26887532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26887533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26887534, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26887535, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26888048, 'dashboard_result_id': 15284447, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26888048_17-09-2025_05_52_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26888084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26888085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26888087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26888088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26888089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26888090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26888091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26888092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26888093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26888094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26888095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26888096, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26889279, 'dashboard_result_id': 15284448, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26889279_16-09-2025_12_03_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26889281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26889282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26889283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26889284, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26889285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26889286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26889287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26889288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26889289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26889290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26889291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26889292, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26889585, 'dashboard_result_id': 15284449, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26889585_16-09-2025_14_00_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26889599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26889600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26889601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26889602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26889603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26889604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26889605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26889606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26889607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26889608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26889609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26889610, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26892013, 'dashboard_result_id': 15284450, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26892013_16-09-2025_15_30_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26892015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26892016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26892017, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26892018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26892019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26892020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26892021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26892022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26892023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26892024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26892025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26892026, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26892468, 'dashboard_result_id': 15284451, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26892468_16-09-2025_14_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26892478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26892479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26892480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26892481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26892482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26892483, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26892484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26892485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26892486, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26892487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26892488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26892489, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26893103, 'dashboard_result_id': 15284452, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26893103_16-09-2025_14_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26893114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26893115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26893116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26893117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26893118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26893119, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26893120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26893121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26893122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26893123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26893124, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26893125, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26893809, 'dashboard_result_id': 15284453, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26893809_16-09-2025_14_47_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26893819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26893820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26893821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26893822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26893823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26893824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26893825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26893826, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26893827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26893828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26893829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26893830, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26894240, 'dashboard_result_id': 15284454, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26894240_16-09-2025_15_04_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26894250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26894251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26894252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26894253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26894254, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26894255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26894256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26894257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26894258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26894259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26894260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26894261, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26894844, 'dashboard_result_id': 15284455, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26894844_16-09-2025_15_17_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26894865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26894866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26894867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26894868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26894870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26894871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26894872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26894873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26894874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26894875, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26894876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26894877, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26895789, 'dashboard_result_id': 15284456, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26895789_16-09-2025_15_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26895794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26895795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26895796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26895797, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26895798, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26895799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26895800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26895801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26895802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26895803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26895804, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26895806, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26896530, 'dashboard_result_id': 15284457, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26896530_16-09-2025_15_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26896578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26896579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26896580, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26896581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26896582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26896583, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26896584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26896585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26896586, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26896587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26896588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26896589, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26897298, 'dashboard_result_id': 15284458, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26897298_16-09-2025_16_04_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26897337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26897338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26897339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26897340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26897341, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26897342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26897343, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26897344, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26897345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26897346, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26897347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26897349, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26897925, 'dashboard_result_id': 15284459, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26897925_16-09-2025_16_19_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26897977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26897978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26897979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26897980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26897981, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26897982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26897983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26897984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26897985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26897986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26897987, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26897988, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26898616, 'dashboard_result_id': 15284460, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26898616_16-09-2025_16_32_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26898655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26898656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26898657, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26898658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26898659, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26898660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26898661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26898662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26898663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26898664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26898665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26898666, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26899211, 'dashboard_result_id': 15284461, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26899211_16-09-2025_16_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26899238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26899239, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26899240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26899241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26899242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26899243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26899244, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26899245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26899246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26899247, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26899248, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26899249, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26899903, 'dashboard_result_id': 15284462, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26899903_16-09-2025_17_02_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26899932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26899933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26899934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26899935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26899936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26899937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26899938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26899939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26899940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26899941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26899942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26899943, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26900508, 'dashboard_result_id': 15284463, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26900508_16-09-2025_17_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26900549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26900550, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26900551, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26900552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26900553, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26900554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26900555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26900556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26900557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26900558, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26900559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26900560, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26901216, 'dashboard_result_id': 15284464, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26901216_16-09-2025_17_38_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26901228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26901229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26901230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26901231, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26901232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26901233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26901234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26901235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26901236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26901237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26901238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26901239, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26902372, 'dashboard_result_id': 15284465, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26902372_16-09-2025_18_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26902413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26902414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26902415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26902416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26902417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26902418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26902419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26902420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26902421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26902422, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26902423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26902424, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26903055, 'dashboard_result_id': 15284466, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26903055_16-09-2025_18_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26903072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26903073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26903074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26903075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26903076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26903077, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26903078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26903079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26903080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26903081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26903082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26903083, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26903799, 'dashboard_result_id': 15284467, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26903799_16-09-2025_18_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26903824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26903825, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26903826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26903827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26903828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26903829, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26903830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26903831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26903832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26903833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26903834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26903835, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26904596, 'dashboard_result_id': 15284468, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26904596_16-09-2025_19_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26904608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26904609, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26904610, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26904611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26904612, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26904613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26904614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26904615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26904616, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26904617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26904618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26904619, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26905265, 'dashboard_result_id': 15284469, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26905265_16-09-2025_19_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26905306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26905307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26905308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26905309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26905310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26905311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26905312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26905313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26905314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26905315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26905316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26905317, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26906313, 'dashboard_result_id': 15284470, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26906313_16-09-2025_19_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26906339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26906340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26906341, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26906342, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26906343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26906344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26906345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26906346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26906347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26906348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26906349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26906350, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26907041, 'dashboard_result_id': 15284471, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26907041_16-09-2025_19_46_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26907070, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26907071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26907072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26907073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26907074, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26907075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26907076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26907077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26907078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26907079, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26907080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26907081, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26907690, 'dashboard_result_id': 15284472, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26907690_16-09-2025_20_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26907739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26907740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26907741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26907742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26907743, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26907744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26907745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26907746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26907747, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26907748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26907749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26907750, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26908349, 'dashboard_result_id': 15284473, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26908349_16-09-2025_20_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26908436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26908437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26908438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26908439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26908440, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26908441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26908442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26908443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26908444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26908445, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26908446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26908447, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26909130, 'dashboard_result_id': 15284474, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26909130_16-09-2025_20_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26909173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26909174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26909175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26909176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26909177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26909178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26909179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26909180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26909181, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26909182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26909183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26909184, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26909728, 'dashboard_result_id': 15284475, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26909728_16-09-2025_21_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26909771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26909772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26909773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26909774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26909775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26909776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26909777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26909778, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26909779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26909780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26909781, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26909782, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26911014, 'dashboard_result_id': 15284476, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26911014_16-09-2025_21_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26911023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26911024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26911025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26911026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26911027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26911028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26911029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26911030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26911031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26911032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26911034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26911035, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26911676, 'dashboard_result_id': 15284477, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26911676_16-09-2025_21_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26911682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26911683, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26911684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26911685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26911686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26911687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26911688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26911689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26911690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26911691, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26911692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26911693, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26912282, 'dashboard_result_id': 15284478, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26912282_16-09-2025_21_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26912324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26912325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26912326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26912327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26912328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26912329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26912330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26912331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26912332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26912333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26912334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26912335, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26912933, 'dashboard_result_id': 15284479, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26912933_16-09-2025_22_02_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26912945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26912946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26912947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26912948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26912949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26912950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26912951, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26912952, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26912953, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26912954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26912955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26912956, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26913621, 'dashboard_result_id': 15284480, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26913621_16-09-2025_22_16_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26913645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26913646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26913647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26913648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26913649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26913650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26913651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26913652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26913653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26913654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26913655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26913656, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26914254, 'dashboard_result_id': 15284481, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26914254_16-09-2025_22_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26914305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26914306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26914307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26914308, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26914309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26914310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26914311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26914312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26914313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26914314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26914315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26914316, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26915073, 'dashboard_result_id': 15284482, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26915073_16-09-2025_22_47_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26915114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26915115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26915117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26915118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26915119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26915120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26915121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26915122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26915123, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26915124, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26915125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26915126, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26915836, 'dashboard_result_id': 15284483, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26915836_16-09-2025_23_03_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26915867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26915868, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26915869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26915870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26915871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26915872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26915873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26915874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26915875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26915876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26915877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26915878, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26916588, 'dashboard_result_id': 15284484, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26916588_16-09-2025_23_19_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26916597, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26916598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26916599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26916600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26916601, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26916602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26916604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26916605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26916606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26916607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26916608, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26916609, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26917251, 'dashboard_result_id': 15284485, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26917251_16-09-2025_23_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26917260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26917261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26917262, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26917263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26917264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26917265, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26917266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26917267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26917268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26917269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26917270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26917271, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26917941, 'dashboard_result_id': 15284486, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26917941_16-09-2025_23_59_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26917986, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26917988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26917989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26917990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26917991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26917992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26917993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26917994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26917995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26917996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26917997, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26917998, 'pht': 3726}}"}, {'dashboat_entry_day': 2292505, 'dashboard_run_id': 2309185, 'mtr_portfolio_id': 26918315, 'dashboard_result_id': 15284487, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26918315_17-09-2025_01_11_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26918328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26918329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26918330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26918331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26918332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26918333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26918334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26918335, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26918336, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26918337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26918338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26918339, '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 = 26872491 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732478, 'mtr_portfolio_id': 26872491, 'created_at': datetime.datetime(2025, 9, 17, 5, 34, 30), 'result': '0.08996930713668912', 'result_long': None, 'result_double': None}] Qualite : 0.08996930713668912 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26872491 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26872491_17-09-2025_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26872491 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26872491_17-09-2025_05_34_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26872492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26872493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26872494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26872495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26872496, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26872497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26872498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26872499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26872500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26872501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26872502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26872503, 'pht': 3726}}" where mtr_portfolio_id = 26872491 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26872491 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284419, 0.08996930713668912, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26872491_17-09-2025_05_34_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26872492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26872493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26872494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26872495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26872496, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26872497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26872498, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26872499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26872500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26872501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26872502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26872503, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26872955 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732479, 'mtr_portfolio_id': 26872955, 'created_at': datetime.datetime(2025, 9, 17, 5, 35, 28), 'result': '0.5742760351187043', 'result_long': None, 'result_double': None}] Qualite : 0.5742760351187043 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26872955 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26872955_17-09-2025_05_35_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26872955 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26872955_17-09-2025_05_35_28.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26872959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26872960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26872961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26872962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26872963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26872964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26872965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26872966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26872967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26872968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26872969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26872970, 'pht': 3726}}" where mtr_portfolio_id = 26872955 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26872955 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284420, 0.5742760351187043, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26872955_17-09-2025_05_35_28.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26872959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26872960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26872961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26872962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26872963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26872964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26872965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26872966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26872967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26872968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26872969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26872970, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26873034 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732481, 'mtr_portfolio_id': 26873034, 'created_at': datetime.datetime(2025, 9, 17, 5, 35, 56), 'result': '0.0176056895775625', 'result_long': None, 'result_double': None}] Qualite : 0.0176056895775625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26873034 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26873034_17-09-2025_05_35_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26873034 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26873034_17-09-2025_05_35_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26873035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26873036, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26873037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26873038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26873039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26873040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26873041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26873042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26873043, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26873044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26873045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26873046, 'pht': 3726}}" where mtr_portfolio_id = 26873034 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26873034 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284421, 0.0176056895775625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26873034_17-09-2025_05_35_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26873035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26873036, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26873037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26873038, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26873039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26873040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26873041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26873042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26873043, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26873044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26873045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26873046, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26873180 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732482, 'mtr_portfolio_id': 26873180, 'created_at': datetime.datetime(2025, 9, 17, 5, 36, 29), 'result': '0.018418942794147086', 'result_long': None, 'result_double': None}] Qualite : 0.018418942794147086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26873180 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26873180_17-09-2025_05_36_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26873180 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26873180_17-09-2025_05_36_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26873185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26873186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26873187, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26873188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26873189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26873190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26873191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26873192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26873193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26873194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26873195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26873196, 'pht': 3726}}" where mtr_portfolio_id = 26873180 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26873180 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284422, 0.018418942794147086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26873180_17-09-2025_05_36_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26873185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26873186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26873187, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26873188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26873189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26873190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26873191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26873192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26873193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26873194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26873195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26873196, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26873435 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732483, 'mtr_portfolio_id': 26873435, 'created_at': datetime.datetime(2025, 9, 17, 5, 37, 29), 'result': '0.0400422382213335', 'result_long': None, 'result_double': None}] Qualite : 0.0400422382213335 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26873435 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26873435_17-09-2025_05_37_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26873435 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26873435_17-09-2025_05_37_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26873436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26873437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26873438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26873439, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26873440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26873441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26873442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26873443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26873444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26873445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26873446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26873447, 'pht': 3726}}" where mtr_portfolio_id = 26873435 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26873435 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284423, 0.0400422382213335, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26873435_17-09-2025_05_37_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26873436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26873437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26873438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26873439, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26873440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26873441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26873442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26873443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26873444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26873445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26873446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26873447, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26873696 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732484, 'mtr_portfolio_id': 26873696, 'created_at': datetime.datetime(2025, 9, 17, 5, 37, 58), 'result': '0.06601142789670653', 'result_long': None, 'result_double': None}] Qualite : 0.06601142789670653 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26873696 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26873696_17-09-2025_05_37_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26873696 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26873696_17-09-2025_05_37_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26873698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26873699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26873700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26873701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26873702, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26873703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26873704, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26873705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26873706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26873707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26873708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26873709, 'pht': 3726}}" where mtr_portfolio_id = 26873696 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26873696 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284424, 0.06601142789670653, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26873696_17-09-2025_05_37_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26873698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26873699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26873700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26873701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26873702, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26873703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26873704, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26873705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26873706, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26873707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26873708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26873709, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26873917 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732485, 'mtr_portfolio_id': 26873917, 'created_at': datetime.datetime(2025, 9, 17, 5, 38, 30), 'result': '0.045026280689460504', 'result_long': None, 'result_double': None}] Qualite : 0.045026280689460504 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26873917 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26873917_17-09-2025_05_38_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26873917 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26873917_17-09-2025_05_38_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26873918, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26873919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26873920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26873921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26873922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26873923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26873924, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26873925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26873926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26873927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26873928, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26873929, 'pht': 3726}}" where mtr_portfolio_id = 26873917 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26873917 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284425, 0.045026280689460504, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26873917_17-09-2025_05_38_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26873918, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26873919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26873920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26873921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26873922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26873923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26873924, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26873925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26873926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26873927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26873928, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26873929, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26874222 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732486, 'mtr_portfolio_id': 26874222, 'created_at': datetime.datetime(2025, 9, 17, 5, 39, 26), 'result': '0.05251877566986649', 'result_long': None, 'result_double': None}] Qualite : 0.05251877566986649 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26874222 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26874222_17-09-2025_05_39_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26874222 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26874222_17-09-2025_05_39_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26874226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26874227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26874228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26874229, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26874230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26874231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26874232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26874233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26874234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26874235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26874236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26874237, 'pht': 3726}}" where mtr_portfolio_id = 26874222 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26874222 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284426, 0.05251877566986649, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26874222_17-09-2025_05_39_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26874226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26874227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26874228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26874229, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26874230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26874231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26874232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26874233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26874234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26874235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26874236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26874237, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26874538 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732487, 'mtr_portfolio_id': 26874538, 'created_at': datetime.datetime(2025, 9, 17, 5, 40), 'result': '0.05353309138582188', 'result_long': None, 'result_double': None}] Qualite : 0.05353309138582188 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26874538 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26874538_17-09-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26874538 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26874538_17-09-2025_05_40_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26874546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26874547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26874548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26874549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26874550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26874551, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26874552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26874553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26874554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26874555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26874556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26874557, 'pht': 3726}}" where mtr_portfolio_id = 26874538 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26874538 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284427, 0.05353309138582188, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26874538_17-09-2025_05_40_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26874546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26874547, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26874548, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26874549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26874550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26874551, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26874552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26874553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26874554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26874555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26874556, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26874557, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26874959 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732488, 'mtr_portfolio_id': 26874959, 'created_at': datetime.datetime(2025, 9, 17, 5, 40, 31), 'result': '0.04851177467129454', 'result_long': None, 'result_double': None}] Qualite : 0.04851177467129454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26874959 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26874959_17-09-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26874959 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26874959_17-09-2025_05_40_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26874970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26874971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26874972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26874973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26874974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26874975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26874976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26874977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26874978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26874979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26874980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26874981, 'pht': 3726}}" where mtr_portfolio_id = 26874959 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26874959 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284428, 0.04851177467129454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26874959_17-09-2025_05_40_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26874970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26874971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26874972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26874973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26874974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26874975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26874976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26874977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26874978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26874979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26874980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26874981, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26875435 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732489, 'mtr_portfolio_id': 26875435, 'created_at': datetime.datetime(2025, 9, 17, 5, 40, 41), 'result': '0.05654680542973369', 'result_long': None, 'result_double': None}] Qualite : 0.05654680542973369 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26875435 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26875435_17-09-2025_05_40_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26875435 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26875435_17-09-2025_05_40_44.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26875445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26875446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26875447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26875448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26875449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26875450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26875451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26875452, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26875453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26875454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26875455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26875456, 'pht': 3726}}" where mtr_portfolio_id = 26875435 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26875435 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284429, 0.05654680542973369, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26875435_17-09-2025_05_40_44.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26875445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26875446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26875447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26875448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26875449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26875450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26875451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26875452, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26875453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26875454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26875455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26875456, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26875862 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732490, 'mtr_portfolio_id': 26875862, 'created_at': datetime.datetime(2025, 9, 17, 5, 41, 28), 'result': '0.02622307882814529', 'result_long': None, 'result_double': None}] Qualite : 0.02622307882814529 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26875862 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26875862_17-09-2025_05_41_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26875862 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26875862_17-09-2025_05_41_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26875867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26875868, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26875869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26875870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26875871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26875872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26875873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26875874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26875875, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26875876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26875877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26875878, 'pht': 3726}}" where mtr_portfolio_id = 26875862 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26875862 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284430, 0.02622307882814529, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26875862_17-09-2025_05_41_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26875867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26875868, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26875869, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26875870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26875871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26875872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26875873, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26875874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26875875, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26875876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26875877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26875878, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26876346 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732491, 'mtr_portfolio_id': 26876346, 'created_at': datetime.datetime(2025, 9, 17, 5, 42), 'result': '0.06213103679170724', 'result_long': None, 'result_double': None}] Qualite : 0.06213103679170724 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26876346 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26876346_17-09-2025_05_42_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26876346 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26876346_17-09-2025_05_42_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26876355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26876356, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26876357, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26876358, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26876359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26876360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26876361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26876362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26876363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26876364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26876365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26876366, 'pht': 3726}}" where mtr_portfolio_id = 26876346 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26876346 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284431, 0.06213103679170724, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26876346_17-09-2025_05_42_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26876355, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26876356, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26876357, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26876358, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26876359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26876360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26876361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26876362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26876363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26876364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26876365, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26876366, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26876779 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732492, 'mtr_portfolio_id': 26876779, 'created_at': datetime.datetime(2025, 9, 17, 5, 42, 30), 'result': '0.04562655761100804', 'result_long': None, 'result_double': None}] Qualite : 0.04562655761100804 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26876779 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26876779_17-09-2025_05_42_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26876779 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26876779_17-09-2025_05_42_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26876816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26876817, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26876818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26876819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26876820, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26876821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26876822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26876823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26876824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26876825, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26876826, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26876827, 'pht': 3726}}" where mtr_portfolio_id = 26876779 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26876779 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284432, 0.04562655761100804, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26876779_17-09-2025_05_42_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26876816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26876817, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26876818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26876819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26876820, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26876821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26876822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26876823, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26876824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26876825, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26876826, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26876827, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26877635 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732493, 'mtr_portfolio_id': 26877635, 'created_at': datetime.datetime(2025, 9, 17, 5, 43, 28), 'result': '0.050794561126051026', 'result_long': None, 'result_double': None}] Qualite : 0.050794561126051026 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26877635 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26877635_17-09-2025_05_43_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26877635 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26877635_17-09-2025_05_43_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26877658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26877659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26877660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26877661, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26877662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26877663, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26877664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26877665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26877666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26877667, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26877668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26877669, 'pht': 3726}}" where mtr_portfolio_id = 26877635 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26877635 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284433, 0.050794561126051026, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26877635_17-09-2025_05_43_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26877658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26877659, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26877660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26877661, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26877662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26877663, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26877664, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26877665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26877666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26877667, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26877668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26877669, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26878360 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732494, 'mtr_portfolio_id': 26878360, 'created_at': datetime.datetime(2025, 9, 17, 5, 43, 58), 'result': '0.04406961675897963', 'result_long': None, 'result_double': None}] Qualite : 0.04406961675897963 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26878360 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26878360_17-09-2025_05_44_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26878360 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26878360_17-09-2025_05_44_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26878384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26878385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26878386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26878387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26878388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26878389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26878390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26878391, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26878392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26878393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26878394, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26878395, 'pht': 3726}}" where mtr_portfolio_id = 26878360 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26878360 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284434, 0.04406961675897963, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26878360_17-09-2025_05_44_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26878384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26878385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26878386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26878387, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26878388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26878389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26878390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26878391, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26878392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26878393, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26878394, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26878395, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26879055 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732495, 'mtr_portfolio_id': 26879055, 'created_at': datetime.datetime(2025, 9, 17, 5, 44, 30), 'result': '0.043399171656384315', 'result_long': None, 'result_double': None}] Qualite : 0.043399171656384315 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26879055 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26879055_17-09-2025_05_44_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26879055 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26879055_17-09-2025_05_44_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26879137, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26879138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26879140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26879141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26879142, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26879143, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26879144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26879145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26879146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26879147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26879148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26879149, 'pht': 3726}}" where mtr_portfolio_id = 26879055 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26879055 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284435, 0.043399171656384315, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26879055_17-09-2025_05_44_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26879137, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26879138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26879140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26879141, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26879142, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26879143, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26879144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26879145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26879146, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26879147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26879148, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26879149, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26879649 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732496, 'mtr_portfolio_id': 26879649, 'created_at': datetime.datetime(2025, 9, 17, 5, 45, 29), 'result': '0.053022829111696604', 'result_long': None, 'result_double': None}] Qualite : 0.053022829111696604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26879649 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26879649_17-09-2025_05_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26879649 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26879649_17-09-2025_05_45_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26879669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26879670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26879672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26879673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26879674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26879676, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26879677, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26879678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26879679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26879681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26879682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26879683, 'pht': 3726}}" where mtr_portfolio_id = 26879649 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26879649 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284436, 0.053022829111696604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26879649_17-09-2025_05_45_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26879669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26879670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26879672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26879673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26879674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26879676, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26879677, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26879678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26879679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26879681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26879682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26879683, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26880214 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732497, 'mtr_portfolio_id': 26880214, 'created_at': datetime.datetime(2025, 9, 17, 5, 45, 41), 'result': '0.06775596159635323', 'result_long': None, 'result_double': None}] Qualite : 0.06775596159635323 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26880214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26880214_17-09-2025_05_45_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26880214 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26880214_17-09-2025_05_45_43.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26880248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26880249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26880250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26880251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26880252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26880253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26880254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26880255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26880256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26880257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26880258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26880259, 'pht': 3726}}" where mtr_portfolio_id = 26880214 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26880214 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284437, 0.06775596159635323, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26880214_17-09-2025_05_45_43.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26880248, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26880249, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26880250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26880251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26880252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26880253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26880254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26880255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26880256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26880257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26880258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26880259, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26880937 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732498, 'mtr_portfolio_id': 26880937, 'created_at': datetime.datetime(2025, 9, 17, 5, 45, 59), 'result': '0.03749557639009625', 'result_long': None, 'result_double': None}] Qualite : 0.03749557639009625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26880937 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26880937_17-09-2025_05_46_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26880937 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26880937_17-09-2025_05_46_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26880938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26880939, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26880940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26880941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26880942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26880943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26880944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26880945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26880946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26880947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26880948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26880949, 'pht': 3726}}" where mtr_portfolio_id = 26880937 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26880937 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284438, 0.03749557639009625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26880937_17-09-2025_05_46_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26880938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26880939, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26880940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26880941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26880942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26880943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26880944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26880945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26880946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26880947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26880948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26880949, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26881605 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732499, 'mtr_portfolio_id': 26881605, 'created_at': datetime.datetime(2025, 9, 17, 5, 46, 32), 'result': '0.055698225215621365', 'result_long': None, 'result_double': None}] Qualite : 0.055698225215621365 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26881605 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26881605_17-09-2025_05_46_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26881605 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26881605_17-09-2025_05_46_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26881664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26881665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26881666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26881667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26881668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26881669, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26881670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26881671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26881672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26881673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26881674, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26881675, 'pht': 3726}}" where mtr_portfolio_id = 26881605 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26881605 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284439, 0.055698225215621365, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26881605_17-09-2025_05_46_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26881664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26881665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26881666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26881667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26881668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26881669, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26881670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26881671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26881672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26881673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26881674, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26881675, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26883495 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732500, 'mtr_portfolio_id': 26883495, 'created_at': datetime.datetime(2025, 9, 17, 5, 47, 59), 'result': '0.06189254397453572', 'result_long': None, 'result_double': None}] Qualite : 0.06189254397453572 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26883495 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26883495_17-09-2025_05_48_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26883495 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26883495_17-09-2025_05_48_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26883501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26883502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26883503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26883504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26883505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26883506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26883507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26883508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26883509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26883510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26883511, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26883512, 'pht': 3726}}" where mtr_portfolio_id = 26883495 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26883495 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284440, 0.06189254397453572, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26883495_17-09-2025_05_48_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26883501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26883502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26883503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26883504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26883505, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26883506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26883507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26883508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26883509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26883510, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26883511, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26883512, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26883903 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732501, 'mtr_portfolio_id': 26883903, 'created_at': datetime.datetime(2025, 9, 17, 5, 48, 28), 'result': '0.04192889062698807', 'result_long': None, 'result_double': None}] Qualite : 0.04192889062698807 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26883903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26883903_17-09-2025_05_48_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26883903 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26883903_17-09-2025_05_48_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26883912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26883913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26883914, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26883915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26883916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26883917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26883918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26883919, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26883920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26883921, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26883922, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26883923, 'pht': 3726}}" where mtr_portfolio_id = 26883903 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26883903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284441, 0.04192889062698807, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26883903_17-09-2025_05_48_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26883912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26883913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26883914, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26883915, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26883916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26883917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26883918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26883919, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26883920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26883921, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26883922, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26883923, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26884555 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732502, 'mtr_portfolio_id': 26884555, 'created_at': datetime.datetime(2025, 9, 17, 5, 49, 29), 'result': '0.038520213390027466', 'result_long': None, 'result_double': None}] Qualite : 0.038520213390027466 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26884555 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26884555_17-09-2025_05_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26884555 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26884555_17-09-2025_05_49_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26884581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26884582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26884583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26884584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26884585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26884586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26884587, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26884588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26884589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26884590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26884591, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26884592, 'pht': 3726}}" where mtr_portfolio_id = 26884555 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26884555 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284442, 0.038520213390027466, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26884555_17-09-2025_05_49_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26884581, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26884582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26884583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26884584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26884585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26884586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26884587, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26884588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26884589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26884590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26884591, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26884592, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26885185 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732503, 'mtr_portfolio_id': 26885185, 'created_at': datetime.datetime(2025, 9, 17, 5, 49, 58), 'result': '0.051893308327707624', 'result_long': None, 'result_double': None}] Qualite : 0.051893308327707624 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26885185 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26885185_17-09-2025_05_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26885185 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26885185_17-09-2025_05_50_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26885189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26885190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26885191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26885192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26885193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26885194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26885195, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26885196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26885197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26885198, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26885199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26885200, 'pht': 3726}}" where mtr_portfolio_id = 26885185 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26885185 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284443, 0.051893308327707624, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26885185_17-09-2025_05_50_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26885189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26885190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26885191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26885192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26885193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26885194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26885195, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26885196, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26885197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26885198, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26885199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26885200, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26885890 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732504, 'mtr_portfolio_id': 26885890, 'created_at': datetime.datetime(2025, 9, 17, 5, 50, 29), 'result': '0.05166956783921373', 'result_long': None, 'result_double': None}] Qualite : 0.05166956783921373 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26885890 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26885890_17-09-2025_05_50_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26885890 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26885890_17-09-2025_05_50_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26885911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26885912, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26885913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26885914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26885915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26885916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26885917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26885918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26885919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26885920, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26885921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26885922, 'pht': 3726}}" where mtr_portfolio_id = 26885890 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26885890 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284444, 0.05166956783921373, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26885890_17-09-2025_05_50_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26885911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26885912, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26885913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26885914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26885915, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26885916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26885917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26885918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26885919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26885920, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26885921, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26885922, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26886682 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732505, 'mtr_portfolio_id': 26886682, 'created_at': datetime.datetime(2025, 9, 17, 5, 50, 40), 'result': '0.030685880693711545', 'result_long': None, 'result_double': None}] Qualite : 0.030685880693711545 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26886682 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26886682_17-09-2025_05_50_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26886682 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26886682_17-09-2025_05_50_43.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26886719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26886720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26886721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26886722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26886723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26886724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26886725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26886726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26886727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26886728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26886729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26886730, 'pht': 3726}}" where mtr_portfolio_id = 26886682 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26886682 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284445, 0.030685880693711545, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26886682_17-09-2025_05_50_43.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26886719, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26886720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26886721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26886722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26886723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26886724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26886725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26886726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26886727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26886728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26886729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26886730, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26887474 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732506, 'mtr_portfolio_id': 26887474, 'created_at': datetime.datetime(2025, 9, 17, 5, 51, 29), 'result': '0.04028451117296993', 'result_long': None, 'result_double': None}] Qualite : 0.04028451117296993 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26887474 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26887474_17-09-2025_05_51_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26887474 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26887474_17-09-2025_05_51_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26887524, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26887525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26887526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26887527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26887528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26887529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26887530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26887531, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26887532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26887533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26887534, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26887535, 'pht': 3726}}" where mtr_portfolio_id = 26887474 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26887474 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284446, 0.04028451117296993, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26887474_17-09-2025_05_51_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26887524, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26887525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26887526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26887527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26887528, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26887529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26887530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26887531, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26887532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26887533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26887534, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26887535, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26888048 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732507, 'mtr_portfolio_id': 26888048, 'created_at': datetime.datetime(2025, 9, 17, 5, 51, 59), 'result': '0.06737403418288052', 'result_long': None, 'result_double': None}] Qualite : 0.06737403418288052 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26888048 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26888048_17-09-2025_05_52_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26888048 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26888048_17-09-2025_05_52_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26888084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26888085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26888087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26888088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26888089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26888090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26888091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26888092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26888093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26888094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26888095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26888096, 'pht': 3726}}" where mtr_portfolio_id = 26888048 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26888048 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284447, 0.06737403418288052, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26888048_17-09-2025_05_52_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26888084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26888085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26888087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26888088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26888089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26888090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26888091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26888092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26888093, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26888094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26888095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26888096, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26889279 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3732508, 'mtr_portfolio_id': 26889279, 'created_at': datetime.datetime(2025, 9, 17, 5, 52, 28), 'result': '0.04198663803921783', 'result_long': None, 'result_double': None}] Qualite : 0.04198663803921783 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26889279 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26889279_17-09-2025_05_52_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26889279 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26889279_17-09-2025_05_52_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26889281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26889282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26889283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26889284, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26889285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26889286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26889287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26889288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26889289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26889290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26889291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26889292, 'pht': 3726}}" where mtr_portfolio_id = 26889279 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26889279 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284448, 0.04198663803921783, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26889279_17-09-2025_05_52_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26889281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26889282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26889283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26889284, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26889285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26889286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26889287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26889288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26889289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26889290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26889291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26889292, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26889585 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3727720, 'mtr_portfolio_id': 26889585, 'created_at': datetime.datetime(2025, 9, 16, 14, 0), 'result': '0.03226749971980828', 'result_long': None, 'result_double': None}] Qualite : 0.03226749971980828 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26889585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26889585_16-09-2025_14_00_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26889585 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26889585_16-09-2025_14_00_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26889599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26889600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26889601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26889602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26889603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26889604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26889605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26889606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26889607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26889608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26889609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26889610, 'pht': 3726}}" where mtr_portfolio_id = 26889585 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26889585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284449, 0.03226749971980828, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26889585_16-09-2025_14_00_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26889599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26889600, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26889601, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26889602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26889603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26889604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26889605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26889606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26889607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26889608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26889609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26889610, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26892013 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3728006, 'mtr_portfolio_id': 26892013, 'created_at': datetime.datetime(2025, 9, 16, 15, 30, 31), 'result': '0.0320672501459525', 'result_long': None, 'result_double': None}] Qualite : 0.0320672501459525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26892013 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26892013_16-09-2025_15_30_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26892013 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26892013_16-09-2025_15_30_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26892015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26892016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26892017, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26892018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26892019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26892020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26892021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26892022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26892023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26892024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26892025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26892026, 'pht': 3726}}" where mtr_portfolio_id = 26892013 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26892013 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284450, 0.0320672501459525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26892013_16-09-2025_15_30_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26892015, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26892016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26892017, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26892018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26892019, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26892020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26892021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26892022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26892023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26892024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26892025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26892026, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26892468 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3728063, 'mtr_portfolio_id': 26892468, 'created_at': datetime.datetime(2025, 9, 16, 14, 19), 'result': '0.03563383623754881', 'result_long': None, 'result_double': None}] Qualite : 0.03563383623754881 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26892468 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26892468_16-09-2025_14_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26892468 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26892468_16-09-2025_14_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26892478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26892479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26892480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26892481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26892482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26892483, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26892484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26892485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26892486, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26892487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26892488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26892489, 'pht': 3726}}" where mtr_portfolio_id = 26892468 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26892468 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284451, 0.03563383623754881, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26892468_16-09-2025_14_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26892478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26892479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26892480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26892481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26892482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26892483, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26892484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26892485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26892486, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26892487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26892488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26892489, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26893103 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3728117, 'mtr_portfolio_id': 26893103, 'created_at': datetime.datetime(2025, 9, 16, 14, 32, 58), 'result': '0.06394459679230455', 'result_long': None, 'result_double': None}] Qualite : 0.06394459679230455 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26893103 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26893103_16-09-2025_14_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26893103 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26893103_16-09-2025_14_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26893114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26893115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26893116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26893117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26893118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26893119, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26893120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26893121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26893122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26893123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26893124, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26893125, 'pht': 3726}}" where mtr_portfolio_id = 26893103 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26893103 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284452, 0.06394459679230455, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26893103_16-09-2025_14_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26893114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26893115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26893116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26893117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26893118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26893119, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26893120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26893121, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26893122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26893123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26893124, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26893125, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26893809 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3728191, 'mtr_portfolio_id': 26893809, 'created_at': datetime.datetime(2025, 9, 16, 14, 47), 'result': '0.04563693032972079', 'result_long': None, 'result_double': None}] Qualite : 0.04563693032972079 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26893809 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26893809_16-09-2025_14_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26893809 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26893809_16-09-2025_14_47_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26893819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26893820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26893821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26893822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26893823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26893824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26893825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26893826, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26893827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26893828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26893829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26893830, 'pht': 3726}}" where mtr_portfolio_id = 26893809 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26893809 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284453, 0.04563693032972079, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26893809_16-09-2025_14_47_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26893819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26893820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26893821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26893822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26893823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26893824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26893825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26893826, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26893827, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26893828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26893829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26893830, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26894240 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3728247, 'mtr_portfolio_id': 26894240, 'created_at': datetime.datetime(2025, 9, 16, 15, 4, 57), 'result': '0.04448090313132595', 'result_long': None, 'result_double': None}] Qualite : 0.04448090313132595 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26894240 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26894240_16-09-2025_15_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26894240 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26894240_16-09-2025_15_04_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26894250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26894251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26894252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26894253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26894254, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26894255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26894256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26894257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26894258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26894259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26894260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26894261, 'pht': 3726}}" where mtr_portfolio_id = 26894240 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26894240 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284454, 0.04448090313132595, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26894240_16-09-2025_15_04_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26894250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26894251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26894252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26894253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26894254, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26894255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26894256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26894257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26894258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26894259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26894260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26894261, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26894844 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3728385, 'mtr_portfolio_id': 26894844, 'created_at': datetime.datetime(2025, 9, 16, 15, 17, 1), 'result': '0.048029650168217586', 'result_long': None, 'result_double': None}] Qualite : 0.048029650168217586 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26894844 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26894844_16-09-2025_15_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26894844 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26894844_16-09-2025_15_17_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26894865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26894866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26894867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26894868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26894870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26894871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26894872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26894873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26894874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26894875, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26894876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26894877, 'pht': 3726}}" where mtr_portfolio_id = 26894844 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26894844 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284455, 0.048029650168217586, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26894844_16-09-2025_15_17_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26894865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26894866, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26894867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26894868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26894870, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26894871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26894872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26894873, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26894874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26894875, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26894876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26894877, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26895789 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3728488, 'mtr_portfolio_id': 26895789, 'created_at': datetime.datetime(2025, 9, 16, 15, 32, 58), 'result': '0.050197701725128545', 'result_long': None, 'result_double': None}] Qualite : 0.050197701725128545 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26895789 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26895789_16-09-2025_15_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26895789 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26895789_16-09-2025_15_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26895794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26895795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26895796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26895797, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26895798, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26895799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26895800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26895801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26895802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26895803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26895804, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26895806, 'pht': 3726}}" where mtr_portfolio_id = 26895789 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26895789 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284456, 0.050197701725128545, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26895789_16-09-2025_15_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26895794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26895795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26895796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26895797, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26895798, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26895799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26895800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26895801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26895802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26895803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26895804, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26895806, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26896530 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3728577, 'mtr_portfolio_id': 26896530, 'created_at': datetime.datetime(2025, 9, 16, 15, 46, 59), 'result': '0.04687085482952834', 'result_long': None, 'result_double': None}] Qualite : 0.04687085482952834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26896530 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26896530_16-09-2025_15_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26896530 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26896530_16-09-2025_15_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26896578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26896579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26896580, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26896581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26896582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26896583, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26896584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26896585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26896586, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26896587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26896588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26896589, 'pht': 3726}}" where mtr_portfolio_id = 26896530 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26896530 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284457, 0.04687085482952834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26896530_16-09-2025_15_47_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26896578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26896579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26896580, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26896581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26896582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26896583, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26896584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26896585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26896586, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26896587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26896588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26896589, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26897298 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3728656, 'mtr_portfolio_id': 26897298, 'created_at': datetime.datetime(2025, 9, 16, 16, 4, 58), 'result': '0.033592760435610276', 'result_long': None, 'result_double': None}] Qualite : 0.033592760435610276 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26897298 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26897298_16-09-2025_16_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26897298 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26897298_16-09-2025_16_04_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26897337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26897338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26897339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26897340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26897341, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26897342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26897343, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26897344, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26897345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26897346, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26897347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26897349, 'pht': 3726}}" where mtr_portfolio_id = 26897298 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26897298 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284458, 0.033592760435610276, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26897298_16-09-2025_16_04_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26897337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26897338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26897339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26897340, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26897341, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26897342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26897343, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26897344, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26897345, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26897346, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26897347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26897349, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26897925 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3728764, 'mtr_portfolio_id': 26897925, 'created_at': datetime.datetime(2025, 9, 16, 16, 19, 1), 'result': '0.0576310142441593', 'result_long': None, 'result_double': None}] Qualite : 0.0576310142441593 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26897925 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26897925_16-09-2025_16_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26897925 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26897925_16-09-2025_16_19_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26897977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26897978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26897979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26897980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26897981, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26897982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26897983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26897984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26897985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26897986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26897987, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26897988, 'pht': 3726}}" where mtr_portfolio_id = 26897925 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26897925 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284459, 0.0576310142441593, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26897925_16-09-2025_16_19_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26897977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26897978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26897979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26897980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26897981, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26897982, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26897983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26897984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26897985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26897986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26897987, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26897988, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26898616 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3728879, 'mtr_portfolio_id': 26898616, 'created_at': datetime.datetime(2025, 9, 16, 16, 32, 57), 'result': '0.08119325696306788', 'result_long': None, 'result_double': None}] Qualite : 0.08119325696306788 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26898616 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26898616_16-09-2025_16_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26898616 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26898616_16-09-2025_16_32_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26898655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26898656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26898657, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26898658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26898659, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26898660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26898661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26898662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26898663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26898664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26898665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26898666, 'pht': 3726}}" where mtr_portfolio_id = 26898616 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26898616 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284460, 0.08119325696306788, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26898616_16-09-2025_16_32_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26898655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26898656, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26898657, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26898658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26898659, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26898660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26898661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26898662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26898663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26898664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26898665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26898666, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26899211 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3728972, 'mtr_portfolio_id': 26899211, 'created_at': datetime.datetime(2025, 9, 16, 16, 48, 58), 'result': '0.05417340838815346', 'result_long': None, 'result_double': None}] Qualite : 0.05417340838815346 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26899211 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26899211_16-09-2025_16_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26899211 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26899211_16-09-2025_16_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26899238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26899239, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26899240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26899241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26899242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26899243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26899244, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26899245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26899246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26899247, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26899248, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26899249, 'pht': 3726}}" where mtr_portfolio_id = 26899211 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26899211 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284461, 0.05417340838815346, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26899211_16-09-2025_16_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26899238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26899239, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26899240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26899241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26899242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26899243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26899244, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26899245, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26899246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26899247, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26899248, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26899249, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26899903 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3729055, 'mtr_portfolio_id': 26899903, 'created_at': datetime.datetime(2025, 9, 16, 17, 2, 57), 'result': '0.03521312924668018', 'result_long': None, 'result_double': None}] Qualite : 0.03521312924668018 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26899903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26899903_16-09-2025_17_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26899903 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26899903_16-09-2025_17_02_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26899932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26899933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26899934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26899935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26899936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26899937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26899938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26899939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26899940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26899941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26899942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26899943, 'pht': 3726}}" where mtr_portfolio_id = 26899903 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26899903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284462, 0.03521312924668018, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26899903_16-09-2025_17_02_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26899932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26899933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26899934, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26899935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26899936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26899937, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26899938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26899939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26899940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26899941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26899942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26899943, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26900508 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3729165, 'mtr_portfolio_id': 26900508, 'created_at': datetime.datetime(2025, 9, 16, 17, 18, 57), 'result': '0.03207276238912807', 'result_long': None, 'result_double': None}] Qualite : 0.03207276238912807 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26900508 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26900508_16-09-2025_17_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26900508 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26900508_16-09-2025_17_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26900549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26900550, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26900551, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26900552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26900553, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26900554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26900555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26900556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26900557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26900558, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26900559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26900560, 'pht': 3726}}" where mtr_portfolio_id = 26900508 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26900508 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284463, 0.03207276238912807, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26900508_16-09-2025_17_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26900549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26900550, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26900551, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26900552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26900553, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26900554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26900555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26900556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26900557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26900558, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26900559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26900560, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26901216 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3729251, 'mtr_portfolio_id': 26901216, 'created_at': datetime.datetime(2025, 9, 16, 17, 38, 59), 'result': '0.05206962082913093', 'result_long': None, 'result_double': None}] Qualite : 0.05206962082913093 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26901216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26901216_16-09-2025_17_38_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26901216 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26901216_16-09-2025_17_38_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26901228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26901229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26901230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26901231, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26901232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26901233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26901234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26901235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26901236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26901237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26901238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26901239, 'pht': 3726}}" where mtr_portfolio_id = 26901216 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26901216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284464, 0.05206962082913093, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26901216_16-09-2025_17_38_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26901228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26901229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26901230, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26901231, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26901232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26901233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26901234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26901235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26901236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26901237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26901238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26901239, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26902372 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3729427, 'mtr_portfolio_id': 26902372, 'created_at': datetime.datetime(2025, 9, 16, 18, 16, 57), 'result': '0.048195444141487166', 'result_long': None, 'result_double': None}] Qualite : 0.048195444141487166 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26902372 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26902372_16-09-2025_18_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26902372 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26902372_16-09-2025_18_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26902413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26902414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26902415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26902416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26902417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26902418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26902419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26902420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26902421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26902422, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26902423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26902424, 'pht': 3726}}" where mtr_portfolio_id = 26902372 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26902372 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284465, 0.048195444141487166, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26902372_16-09-2025_18_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26902413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26902414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26902415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26902416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26902417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26902418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26902419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26902420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26902421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26902422, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26902423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26902424, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26903055 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3729487, 'mtr_portfolio_id': 26903055, 'created_at': datetime.datetime(2025, 9, 16, 18, 32, 59), 'result': '0.054213372032454916', 'result_long': None, 'result_double': None}] Qualite : 0.054213372032454916 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26903055 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26903055_16-09-2025_18_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26903055 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26903055_16-09-2025_18_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26903072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26903073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26903074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26903075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26903076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26903077, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26903078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26903079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26903080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26903081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26903082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26903083, 'pht': 3726}}" where mtr_portfolio_id = 26903055 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26903055 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284466, 0.054213372032454916, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26903055_16-09-2025_18_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26903072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26903073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26903074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26903075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26903076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26903077, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26903078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26903079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26903080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26903081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26903082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26903083, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26903799 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3729589, 'mtr_portfolio_id': 26903799, 'created_at': datetime.datetime(2025, 9, 16, 18, 48, 59), 'result': '0.03234304041784743', 'result_long': None, 'result_double': None}] Qualite : 0.03234304041784743 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26903799 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26903799_16-09-2025_18_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26903799 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26903799_16-09-2025_18_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26903824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26903825, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26903826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26903827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26903828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26903829, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26903830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26903831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26903832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26903833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26903834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26903835, 'pht': 3726}}" where mtr_portfolio_id = 26903799 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26903799 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284467, 0.03234304041784743, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26903799_16-09-2025_18_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26903824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26903825, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26903826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26903827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26903828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26903829, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26903830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26903831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26903832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26903833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26903834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26903835, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26904596 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3729697, 'mtr_portfolio_id': 26904596, 'created_at': datetime.datetime(2025, 9, 16, 19, 2, 58), 'result': '0.03979265957111909', 'result_long': None, 'result_double': None}] Qualite : 0.03979265957111909 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26904596 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26904596_16-09-2025_19_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26904596 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26904596_16-09-2025_19_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26904608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26904609, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26904610, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26904611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26904612, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26904613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26904614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26904615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26904616, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26904617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26904618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26904619, 'pht': 3726}}" where mtr_portfolio_id = 26904596 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26904596 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284468, 0.03979265957111909, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26904596_16-09-2025_19_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26904608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26904609, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26904610, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26904611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26904612, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26904613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26904614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26904615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26904616, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26904617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26904618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26904619, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26905265 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3729781, 'mtr_portfolio_id': 26905265, 'created_at': datetime.datetime(2025, 9, 16, 19, 18, 59), 'result': '0.04685906473999287', 'result_long': None, 'result_double': None}] Qualite : 0.04685906473999287 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26905265 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26905265_16-09-2025_19_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26905265 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26905265_16-09-2025_19_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26905306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26905307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26905308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26905309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26905310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26905311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26905312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26905313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26905314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26905315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26905316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26905317, 'pht': 3726}}" where mtr_portfolio_id = 26905265 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26905265 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284469, 0.04685906473999287, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26905265_16-09-2025_19_18_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26905306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26905307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26905308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26905309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26905310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26905311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26905312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26905313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26905314, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26905315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26905316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26905317, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26906313 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3729897, 'mtr_portfolio_id': 26906313, 'created_at': datetime.datetime(2025, 9, 16, 19, 32, 58), 'result': '0.03511967019641598', 'result_long': None, 'result_double': None}] Qualite : 0.03511967019641598 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26906313 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26906313_16-09-2025_19_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26906313 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26906313_16-09-2025_19_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26906339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26906340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26906341, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26906342, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26906343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26906344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26906345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26906346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26906347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26906348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26906349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26906350, 'pht': 3726}}" where mtr_portfolio_id = 26906313 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26906313 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284470, 0.03511967019641598, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26906313_16-09-2025_19_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26906339, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26906340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26906341, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26906342, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26906343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26906344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26906345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26906346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26906347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26906348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26906349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26906350, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26907041 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3729970, 'mtr_portfolio_id': 26907041, 'created_at': datetime.datetime(2025, 9, 16, 19, 46, 59), 'result': '0.059105019806918534', 'result_long': None, 'result_double': None}] Qualite : 0.059105019806918534 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26907041 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26907041_16-09-2025_19_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26907041 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26907041_16-09-2025_19_46_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26907070, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26907071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26907072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26907073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26907074, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26907075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26907076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26907077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26907078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26907079, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26907080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26907081, 'pht': 3726}}" where mtr_portfolio_id = 26907041 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26907041 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284471, 0.059105019806918534, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26907041_16-09-2025_19_46_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26907070, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26907071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26907072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26907073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26907074, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26907075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26907076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26907077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26907078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26907079, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26907080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26907081, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26907690 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3730065, 'mtr_portfolio_id': 26907690, 'created_at': datetime.datetime(2025, 9, 16, 20, 2, 59), 'result': '0.03833962980916538', 'result_long': None, 'result_double': None}] Qualite : 0.03833962980916538 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26907690 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26907690_16-09-2025_20_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26907690 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26907690_16-09-2025_20_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26907739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26907740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26907741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26907742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26907743, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26907744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26907745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26907746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26907747, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26907748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26907749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26907750, 'pht': 3726}}" where mtr_portfolio_id = 26907690 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26907690 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284472, 0.03833962980916538, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26907690_16-09-2025_20_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26907739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26907740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26907741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26907742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26907743, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26907744, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26907745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26907746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26907747, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26907748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26907749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26907750, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26908349 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3730186, 'mtr_portfolio_id': 26908349, 'created_at': datetime.datetime(2025, 9, 16, 20, 19), 'result': '0.04610079307303507', 'result_long': None, 'result_double': None}] Qualite : 0.04610079307303507 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26908349 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26908349_16-09-2025_20_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26908349 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26908349_16-09-2025_20_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26908436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26908437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26908438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26908439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26908440, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26908441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26908442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26908443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26908444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26908445, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26908446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26908447, 'pht': 3726}}" where mtr_portfolio_id = 26908349 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26908349 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284473, 0.04610079307303507, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26908349_16-09-2025_20_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26908436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26908437, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26908438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26908439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26908440, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26908441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26908442, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26908443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26908444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26908445, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26908446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26908447, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26909130 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3730288, 'mtr_portfolio_id': 26909130, 'created_at': datetime.datetime(2025, 9, 16, 20, 32, 58), 'result': '0.05723651578835389', 'result_long': None, 'result_double': None}] Qualite : 0.05723651578835389 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26909130 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26909130_16-09-2025_20_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26909130 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26909130_16-09-2025_20_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26909173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26909174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26909175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26909176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26909177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26909178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26909179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26909180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26909181, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26909182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26909183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26909184, 'pht': 3726}}" where mtr_portfolio_id = 26909130 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26909130 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284474, 0.05723651578835389, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26909130_16-09-2025_20_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26909173, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26909174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26909175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26909176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26909177, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26909178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26909179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26909180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26909181, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26909182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26909183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26909184, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26909728 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3730346, 'mtr_portfolio_id': 26909728, 'created_at': datetime.datetime(2025, 9, 16, 21, 2, 59), 'result': '0.042413403855041776', 'result_long': None, 'result_double': None}] Qualite : 0.042413403855041776 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26909728 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26909728_16-09-2025_21_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26909728 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26909728_16-09-2025_21_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26909771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26909772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26909773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26909774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26909775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26909776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26909777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26909778, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26909779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26909780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26909781, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26909782, 'pht': 3726}}" where mtr_portfolio_id = 26909728 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26909728 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284475, 0.042413403855041776, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26909728_16-09-2025_21_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26909771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26909772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26909773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26909774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26909775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26909776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26909777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26909778, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26909779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26909780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26909781, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26909782, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26911014 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3730513, 'mtr_portfolio_id': 26911014, 'created_at': datetime.datetime(2025, 9, 16, 21, 18, 57), 'result': '0.043402222434633056', 'result_long': None, 'result_double': None}] Qualite : 0.043402222434633056 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26911014 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26911014_16-09-2025_21_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26911014 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26911014_16-09-2025_21_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26911023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26911024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26911025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26911026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26911027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26911028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26911029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26911030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26911031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26911032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26911034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26911035, 'pht': 3726}}" where mtr_portfolio_id = 26911014 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26911014 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284476, 0.043402222434633056, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26911014_16-09-2025_21_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26911023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26911024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26911025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26911026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26911027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26911028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26911029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26911030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26911031, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26911032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26911034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26911035, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26911676 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3730571, 'mtr_portfolio_id': 26911676, 'created_at': datetime.datetime(2025, 9, 16, 21, 32, 57), 'result': '0.05255037198560369', 'result_long': None, 'result_double': None}] Qualite : 0.05255037198560369 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26911676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26911676_16-09-2025_21_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26911676 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26911676_16-09-2025_21_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26911682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26911683, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26911684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26911685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26911686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26911687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26911688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26911689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26911690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26911691, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26911692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26911693, 'pht': 3726}}" where mtr_portfolio_id = 26911676 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26911676 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284477, 0.05255037198560369, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26911676_16-09-2025_21_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26911682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26911683, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26911684, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26911685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26911686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26911687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26911688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26911689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26911690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26911691, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26911692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26911693, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26912282 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3730633, 'mtr_portfolio_id': 26912282, 'created_at': datetime.datetime(2025, 9, 16, 21, 46, 57), 'result': '0.04622959307812823', 'result_long': None, 'result_double': None}] Qualite : 0.04622959307812823 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26912282 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26912282_16-09-2025_21_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26912282 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26912282_16-09-2025_21_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26912324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26912325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26912326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26912327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26912328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26912329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26912330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26912331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26912332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26912333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26912334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26912335, 'pht': 3726}}" where mtr_portfolio_id = 26912282 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26912282 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284478, 0.04622959307812823, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26912282_16-09-2025_21_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26912324, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26912325, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26912326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26912327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26912328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26912329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26912330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26912331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26912332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26912333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26912334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26912335, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26912933 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3730715, 'mtr_portfolio_id': 26912933, 'created_at': datetime.datetime(2025, 9, 16, 22, 2, 57), 'result': '0.03266183649009926', 'result_long': None, 'result_double': None}] Qualite : 0.03266183649009926 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26912933 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26912933_16-09-2025_22_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26912933 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26912933_16-09-2025_22_02_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26912945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26912946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26912947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26912948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26912949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26912950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26912951, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26912952, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26912953, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26912954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26912955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26912956, 'pht': 3726}}" where mtr_portfolio_id = 26912933 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26912933 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284479, 0.03266183649009926, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26912933_16-09-2025_22_02_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26912945, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26912946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26912947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26912948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26912949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26912950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26912951, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26912952, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26912953, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26912954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26912955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26912956, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26913621 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3730845, 'mtr_portfolio_id': 26913621, 'created_at': datetime.datetime(2025, 9, 16, 22, 16, 58), 'result': '0.05950301379445113', 'result_long': None, 'result_double': None}] Qualite : 0.05950301379445113 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26913621 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26913621_16-09-2025_22_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26913621 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26913621_16-09-2025_22_16_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26913645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26913646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26913647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26913648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26913649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26913650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26913651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26913652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26913653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26913654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26913655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26913656, 'pht': 3726}}" where mtr_portfolio_id = 26913621 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26913621 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284480, 0.05950301379445113, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26913621_16-09-2025_22_16_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26913645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26913646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26913647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26913648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26913649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26913650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26913651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26913652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26913653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26913654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26913655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26913656, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26914254 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3730922, 'mtr_portfolio_id': 26914254, 'created_at': datetime.datetime(2025, 9, 16, 22, 32, 58), 'result': '0.05237551397825214', 'result_long': None, 'result_double': None}] Qualite : 0.05237551397825214 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26914254 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26914254_16-09-2025_22_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26914254 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26914254_16-09-2025_22_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26914305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26914306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26914307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26914308, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26914309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26914310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26914311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26914312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26914313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26914314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26914315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26914316, 'pht': 3726}}" where mtr_portfolio_id = 26914254 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26914254 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284481, 0.05237551397825214, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26914254_16-09-2025_22_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26914305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26914306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26914307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26914308, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26914309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26914310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26914311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26914312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26914313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26914314, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26914315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26914316, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26915073 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3731004, 'mtr_portfolio_id': 26915073, 'created_at': datetime.datetime(2025, 9, 16, 22, 46, 59), 'result': '0.05202284370911186', 'result_long': None, 'result_double': None}] Qualite : 0.05202284370911186 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26915073 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26915073_16-09-2025_22_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26915073 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26915073_16-09-2025_22_47_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26915114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26915115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26915117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26915118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26915119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26915120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26915121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26915122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26915123, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26915124, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26915125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26915126, 'pht': 3726}}" where mtr_portfolio_id = 26915073 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26915073 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284482, 0.05202284370911186, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26915073_16-09-2025_22_47_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26915114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26915115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26915117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26915118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26915119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26915120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26915121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26915122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26915123, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26915124, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26915125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26915126, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26915836 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3731082, 'mtr_portfolio_id': 26915836, 'created_at': datetime.datetime(2025, 9, 16, 23, 3, 1), 'result': '0.05484489684668109', 'result_long': None, 'result_double': None}] Qualite : 0.05484489684668109 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26915836 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26915836_16-09-2025_23_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26915836 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26915836_16-09-2025_23_03_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26915867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26915868, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26915869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26915870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26915871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26915872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26915873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26915874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26915875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26915876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26915877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26915878, 'pht': 3726}}" where mtr_portfolio_id = 26915836 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26915836 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284483, 0.05484489684668109, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26915836_16-09-2025_23_03_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26915867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26915868, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26915869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26915870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26915871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26915872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26915873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26915874, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26915875, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26915876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26915877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26915878, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26916588 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3731182, 'mtr_portfolio_id': 26916588, 'created_at': datetime.datetime(2025, 9, 16, 23, 19), 'result': '0.05698733080661852', 'result_long': None, 'result_double': None}] Qualite : 0.05698733080661852 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26916588 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26916588_16-09-2025_23_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26916588 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26916588_16-09-2025_23_19_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26916597, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26916598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26916599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26916600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26916601, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26916602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26916604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26916605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26916606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26916607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26916608, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26916609, 'pht': 3726}}" where mtr_portfolio_id = 26916588 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26916588 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284484, 0.05698733080661852, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26916588_16-09-2025_23_19_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26916597, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26916598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26916599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26916600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26916601, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26916602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26916604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26916605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26916606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26916607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26916608, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26916609, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26917251 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3731269, 'mtr_portfolio_id': 26917251, 'created_at': datetime.datetime(2025, 9, 16, 23, 33), 'result': '0.03218669024722368', 'result_long': None, 'result_double': None}] Qualite : 0.03218669024722368 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26917251 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26917251_16-09-2025_23_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26917251 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26917251_16-09-2025_23_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26917260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26917261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26917262, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26917263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26917264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26917265, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26917266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26917267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26917268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26917269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26917270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26917271, 'pht': 3726}}" where mtr_portfolio_id = 26917251 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26917251 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284485, 0.03218669024722368, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26917251_16-09-2025_23_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26917260, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26917261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26917262, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26917263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26917264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26917265, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26917266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26917267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26917268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26917269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26917270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26917271, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26917941 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3731333, 'mtr_portfolio_id': 26917941, 'created_at': datetime.datetime(2025, 9, 16, 23, 58, 59), 'result': '0.022653899983314404', 'result_long': None, 'result_double': None}] Qualite : 0.022653899983314404 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26917941 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26917941_16-09-2025_23_59_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26917941 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26917941_16-09-2025_23_59_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26917986, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26917988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26917989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26917990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26917991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26917992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26917993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26917994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26917995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26917996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26917997, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26917998, 'pht': 3726}}" where mtr_portfolio_id = 26917941 and dashboard_run_id = 2309185 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26917941 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15284486, 0.022653899983314404, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26917941_16-09-2025_23_59_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26917986, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26917988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26917989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26917990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26917991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26917992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26917993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26917994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26917995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26917996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26917997, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26917998, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26918315 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26918315 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26918315 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26918315 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26918315 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26918315 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26918315_17-09-2025_01_11_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26918315 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26918315_17-09-2025_01_11_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26918328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26918329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26918330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26918331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26918332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26918333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26918334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26918335, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26918336, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26918337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26918338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26918339, 'pht': 3726}}" where mtr_portfolio_id = 26918315 and dashboard_run_id = 2309185 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26872491,26872955,26873034,26873180,26873435,26873696,26873917,26874222,26874538,26874959,26875435,26875862,26876346,26876779,26877635,26878360,26879055,26879649,26880214,26880937,26881605,26883495,26883903,26884555,26885185,26885890,26886682,26887474,26888048,26889279,26889585,26892013,26892468,26893103,26893809,26894240,26894844,26895789,26896530,26897298,26897925,26898616,26899211,26899903,26900508,26901216,26902372,26903055,26903799,26904596,26905265,26906313,26907041,26907690,26908349,26909130,26909728,26911014,26911676,26912282,26912933,26913621,26914254,26915073,26915836,26916588,26917251,26917941,26918315) result : ((1383840816,), (1383840885,), (1383840914,), (1383840932,), (1383840981,), (1383841042,), (1383841104,), (1383841138,), (1383841139,), (1383841239,), (1383842933,), (1383842963,), (1383843023,), (1383843057,), (1383843079,), (1383843122,), (1383843138,), (1383843185,), (1383843399,), (1383843400,), (1383843438,), (1383843469,), (1383843489,), (1383843508,), (1383843559,), (1383843575,), (1383843576,), (1383843714,), (1383843872,), (1383843884,), (1383843898,), (1383843916,), (1383843933,), (1383843934,), (1383843949,), (1383843972,), (1383844007,), (1383844008,), (1383844072,), (1383844073,), (1383844089,), (1383844481,), (1383844496,), (1383844509,), (1383844510,), (1383844511,), (1383844512,), (1383844523,), (1383844573,), (1383844598,), (1383844599,), (1383844616,), (1383844645,), (1383844651,), (1383844762,), (1383846105,), (1383846135,), (1383846172,), (1383846175,), (1383846178,), (1383846182,), (1383846228,), (1383846231,), (1383846250,), (1383846267,), (1383846315,), (1383846317,), (1383846341,), (1383846343,), (1383846346,), (1383846349,), (1383846361,), (1383846364,), (1383846365,), (1383846369,), (1383846374,), (1383846406,), (1383846408,), (1383846426,), (1383846428,), (1383846430,), (1383846434,), (1383846471,), (1383846498,), (1383846501,), (1383846521,), (1383846523,), (1383846525,), (1383846544,), (1383846587,), (1383846589,), (1383846591,), (1383846619,), (1383846621,), (1383846623,), (1383846626,), (1383846630,), (1383846641,), (1383846643,), (1383846645,), (1383846648,), (1383846652,), (1383846672,), (1383846677,), (1383846680,), (1383846704,), (1383846707,), (1383846710,), (1383846715,), (1383846719,), (1383846726,), (1383846742,), (1383846749,), (1383846754,), (1383846758,), (1383846762,), (1383846764,), (1383846774,), (1383846776,), (1383846778,), (1383846784,), (1383846787,), (1383846790,), (1383846792,), (1383846794,), (1383846796,), (1383846798,), (1383846801,), (1383846805,), (1383846814,), (1383846817,), (1383846820,), (1383846822,), (1383846826,), (1383846829,), (1383846835,), (1383846838,), (1383846841,), (1383846844,), (1383846847,), (1383846851,), (1383846861,), (1383846870,), (1383846872,), (1383846874,), (1383846878,), (1383846880,), (1383846920,), (1383846909,), (1383846911,), (1383846912,), (1383846914,), (1383846917,), (1383846933,), (1383846940,), (1383846942,), (1383846952,), (1383846955,), (1383846957,), (1383846960,), (1383846979,), (1383846982,), (1383846983,), (1383846986,), (1383846998,), (1383847000,), (1383847001,), (1383847003,), (1383847017,), (1383847018,), (1383847019,), (1383847021,), (1383847024,), (1383847034,), (1383847035,), (1383847036,), (1383847038,), (1383847040,), (1383847053,), (1383847054,), (1383847055,), (1383847057,), (1383847061,), (1383847065,), (1383847076,), (1383847079,), (1383847080,), (1383847083,), (1383847087,), (1383847110,), (1383847111,), (1383847112,), (1383847114,), (1383847117,), (1383847148,), (1383847150,), (1383847151,), (1383847153,), (1383847155,), (1383847169,), (1383847170,), (1383847171,), (1383847173,), (1383847185,), (1383847187,), (1383847188,), (1383847190,), (1383847193,), (1383847195,), (1383847227,), (1383847228,), (1383847230,), (1383847233,), (1383847237,), (1383847241,), (1383847250,), (1383847252,), (1383847253,), (1383847279,), (1383847275,), (1383847277,), (1383847297,), (1383847298,), (1383847299,), (1383847301,), (1383847304,), (1383847332,), (1383847353,), (1383847356,), (1383847387,), (1383847388,), (1383847389,), (1383847393,), (1383847396,), (1383847420,), (1383847421,), (1383847422,), (1383847424,), (1383847427,), (1383847445,), (1383847448,), (1383847450,), (1383847468,), (1383847471,), (1383847473,), (1383847503,), (1383847508,), (1383847510,), (1383847513,), (1383847515,), (1383847517,), (1383847524,), (1383847526,), (1383847527,), (1383847529,), (1383847549,), (1383847550,), (1383847551,), (1383847553,), (1383847556,), (1383847559,), (1383847576,), (1383847578,), (1383847579,), (1383847581,), (1383847584,), (1383847614,), (1383847615,), (1383847617,), (1383847621,), (1383847625,), (1383847628,), (1383847631,), (1383847632,), (1383847633,), (1383847642,), (1383847645,), (1383847652,), (1383847660,), (1383847667,), (1383847670,), (1383847677,), (1383847678,), (1383847682,), (1383847684,), (1383847696,), (1383847690,), (1383847692,), (1383847694,), (1383847716,), (1383847717,), (1383847718,), (1383847720,), (1383847730,), (1383847731,), (1383847732,), (1383847734,), (1383847737,), (1383847740,), (1383847754,), (1383847757,), (1383847759,), (1383847761,), (1383847777,), (1383847779,), (1383847780,), (1383847782,), (1383847801,), (1383847802,), (1383847803,), (1383847805,), (1383847815,), (1383847818,), (1383847819,), (1383847821,), (1383847824,), (1383847851,), (1383847858,), (1383847861,), (1383847864,), (1383847868,), (1383847875,), (1383847876,), (1383847877,), (1383847898,), (1383847899,), (1383847900,), (1383847902,), (1383847905,), (1383847909,), (1383847923,), (1383847925,), (1383847928,), (1383847932,), (1383847952,), (1383847953,), (1383847954,), (1383847956,), (1383847968,), (1383847970,), (1383847999,), (1383848002,), (1383848004,), (1383848008,), (1383848012,), (1383848024,), (1383848027,), (1383848029,), (1383848032,), (1383848068,), (1383848059,), (1383848060,), (1383848062,), (1383848065,), (1383848078,), (1383848081,), (1383848083,), (1383848085,), (1383848088,), (1383848114,), (1383848117,), (1383848118,), (1383848120,), (1383848123,), (1383848141,), (1383848142,), (1383848143,), (1383848146,), (1383848150,), (1383848153,), (1383848162,), (1383848164,), (1383848190,), (1383848193,), (1383848197,), (1383848201,), (1383848205,), (1383848229,), (1383848230,), (1383848231,), (1383848233,), (1383848236,), (1383848239,), (1383848256,), (1383848259,), (1383848260,), (1383848265,), (1383848292,), (1383848310,), (1383848311,), (1383848312,), (1383848314,), (1383848317,), (1383848319,), (1383848340,), (1383848342,), (1383848343,), (1383848345,), (1383848348,), (1383848364,), (1383848369,), (1383848413,), (1383848415,), (1383848417,), (1383848420,), (1383848435,), (1383848438,), (1383848444,), (1383848452,), (1383848457,), (1383848461,), (1383848475,), (1383848481,), (1383848482,), (1383848484,), (1383848487,), (1383848490,), (1383848511,), (1383848514,), (1383848516,), (1383848518,), (1383848522,), (1383848537,), (1383848538,), (1383848539,), (1383848541,), (1383848544,), (1383848575,), (1383848578,), (1383848579,), (1383848581,), (1383848594,), (1383848596,), (1383848598,), (1383848600,), (1383848623,), (1383848624,), (1383848626,), (1383848629,), (1383848632,), (1383848636,), (1383848651,), (1383848654,), (1383848656,), (1383848659,), (1383848662,), (1383848681,), (1383848682,), (1383848683,), (1383848685,), (1383848704,), (1383848705,), (1383848706,), (1383848708,), (1383848711,), (1383848733,), (1383848738,), (1383848739,), (1383848742,), (1383848746,), (1383848764,), (1383848765,), (1383848766,), (1383848768,), (1383848795,), (1383848796,), (1383848809,), (1383848811,), (1383848813,), (1383848833,), (1383848835,), (1383848837,), (1383848839,), (1383848857,), (1383848859,), (1383848860,), (1383848880,), (1383848881,), (1383848882,), (1383848884,), (1383848887,), (1383848898,), (1383848900,), (1383848901,), (1383848931,), (1383848914,), (1383848918,), (1383848921,), (1383848926,), (1383848944,), (1383848946,), (1383848948,), (1383848951,), (1383848977,), (1383848979,), (1383848980,), (1383848982,), (1383848985,), (1383848995,), (1383848997,), (1383848998,), (1383849020,), (1383849022,), (1383849023,), (1383849026,), (1383849029,), (1383849032,), (1383849053,), (1383849054,), (1383849055,), (1383849057,), (1383849060,), (1383849063,), (1383849089,), (1383849091,), (1383849106,), (1383849107,), (1383849108,), (1383849110,), (1383849113,), (1383849115,), (1383849137,), (1383849138,), (1383849140,), (1383849143,), (1383849146,), (1383849158,), (1383849172,), (1383849174,), (1383849177,), (1383849200,), (1383849201,), (1383849202,), (1383849204,), (1383849206,), (1383849208,), (1383849224,), (1383849225,), (1383849226,), (1383849228,), (1383849231,), (1383849252,), (1383849253,), (1383849254,), (1383849256,), (1383849259,), (1383849272,), (1383849276,), (1383849280,), (1383849285,), (1383849289,), (1383849295,), (1383849336,), (1383849339,), (1383849401,), (1383849405,), (1383849321,), (1383849327,), (1383849358,), (1383849359,), (1383849360,), (1383849361,), (1383849363,), (1383849364,), (1383849368,), (1383849371,), (1383849379,), (1383849384,), (1383849390,), (1383849396,), (1383849412,), (1383849414,), (1383849417,), (1383849420,), (1383849429,), (1383849431,), (1383849433,), (1383849436,), (1383849456,), (1383849457,), (1383849458,), (1383849460,), (1383849465,), (1383849499,), (1383849500,), (1383849501,), (1383849503,), (1383849507,), (1383849518,), (1383849522,), (1383849598,), (1383849601,), (1383849604,), (1383849611,), (1383849616,), (1383849629,), (1383849663,), (1383849665,), (1383849666,), (1383849669,), (1383849674,), (1383849677,), (1383849757,), (1383849758,), (1383849759,), (1383849796,), (1383849836,), (1383849876,), (1383849904,), (1383849936,), (1383850149,), (1383850163,), (1383850165,), (1383850167,), (1383850208,), (1383850211,), (1383850229,), (1383850256,), (1383850360,), (1383850383,), (1383850404,), (1383850408,), (1383850415,), (1383850454,), (1383850452,), (1383850491,), (1383850493,), (1383850505,), (1383850530,), (1383850554,), (1383850602,), (1383850607,), (1383850609,), (1383850708,), (1383850711,), (1383850720,), (1383850750,), (1383851123,), (1383851154,), (1383851177,), (1383851180,), (1383851187,), (1383851191,), (1383851296,), (1383851298,), (1383851301,), (1383851319,), (1383851340,), (1383851348,), (1383851414,), (1383851416,), (1383851417,), (1383851420,), (1383851436,), (1383851438,), (1383851439,), (1383851656,), (1383851679,), (1383851691,), (1383851702,), (1383851706,), (1383851716,), (1383851717,), (1383851718,), (1383851721,), (1383851725,), (1383851730,), (1383851771,), (1383851777,), (1383851779,), (1383851784,), (1383851788,), (1383851791,), (1383851859,), (1383851868,), (1383851869,), (1383851870,), (1383851872,), (1383851874,), (1383851876,), (1383851880,), (1383851885,), (1383851954,), (1383851962,), (1383851969,), (1383851971,), (1383851976,), (1383852105,), (1383852129,), (1383852153,), (1383852180,), (1383852407,), (1383852420,), (1383852422,), (1383852426,), (1383852445,), (1383852476,), (1383852623,), (1383852619,), (1383852620,), (1383852621,), (1383852665,), (1383852691,), (1383852702,), (1383852711,), (1383852715,), (1383852731,), (1383852775,), (1383852776,), (1383852777,), (1383852785,), (1383852788,), (1383852800,), (1383852812,), (1383852815,), (1383852817,), (1383852819,), (1383852822,), (1383852840,), (1383852849,), (1383852855,), (1383852858,), (1383852863,), (1383852868,), (1383852903,), (1383852910,), (1383852914,), (1383852921,), (1383852949,), (1383853078,), (1383853079,), (1383853291,), (1383853316,), (1383853334,), (1383853339,), (1383853349,), (1383853355,), (1383853413,), (1383853414,), (1383853415,), (1383853419,), (1383853422,), (1383853425,), (1383853548,), (1383853573,), (1383853610,), (1383853647,), (1383853685,), (1383853757,), (1383853759,), (1383853761,), (1383853763,), (1383853792,), (1383853794,), (1383853795,), (1383853797,), (1383853800,), (1383853803,), (1383853847,), (1383853857,), (1383853868,), (1383853875,), (1383853881,), (1383853915,), (1383853920,), (1383854071,), (1383854077,), (1383854080,), (1383854092,), (1383854098,), (1383854109,), (1383854134,), (1383854122,), (1383854123,), (1383854124,), (1383854126,), (1383854130,), (1383854205,), (1383854212,), (1383854242,), (1383854466,), (1383854476,), (1383854480,), (1383854482,), (1383854487,), (1383854641,), (1383854665,), (1383854669,), (1383854673,), (1383854676,), (1383854699,), (1383854703,), (1383854705,), (1383854710,), (1383854715,), (1383854720,), (1383854739,), (1383854740,), (1383854741,), (1383854774,), (1383854777,), (1383854780,), (1383854783,), (1383854786,), (1383854789,), (1383854808,), (1383854812,), (1383854820,), (1383854822,), (1383854826,), (1383854845,), (1383854908,), (1383854911,), (1383854928,), (1383854933,), (1383854956,), (1383854968,), (1383854970,), (1383854972,), (1383854976,), (1383855063,), (1383855066,), (1383855069,), (1383855121,), (1383855125,), (1383855139,), (1383855142,), (1383855146,), (1383855187,), (1383855195,), (1383855199,), (1383855203,), (1383855243,), (1383855247,), (1383855259,), (1383855262,), (1383855270,), (1383855271,), (1383855274,), (1383855275,), (1383855293,), (1383855294,), (1383855297,), (1383855298,), (1383855327,), (1383855314,), (1383855316,), (1383855320,), (1383855323,), (1383855364,), (1383855367,), (1383855412,), (1383855414,), (1383855415,), (1383855417,), (1383855443,), (1383855446,), (1383855448,), (1383855451,), (1383855456,), (1383855477,), (1383855478,), (1383855479,), (1383855480,), (1383855515,), (1383855519,), (1383855522,), (1383855599,), (1383855600,), (1383855601,), (1383855612,), (1383855680,), (1383855683,), (1383855685,), (1383855688,), (1383855692,), (1383855795,), (1383855813,), (1383855815,), (1383855827,), (1383855832,), (1383855837,), (1383855857,), (1383855860,), (1383855862,), (1383856061,), (1383856076,), (1383856139,), (1383856142,), (1383856145,), (1383856149,), (1383856153,), (1383856203,), (1383856205,), (1383856207,), (1383856281,), (1383856286,), (1383856288,), (1383856291,), (1383856316,), (1383856324,), (1383856326,), (1383856328,), (1383856358,), (1383856355,), (1383856357,), (1383856389,), (1383856391,), (1383856404,), (1383856484,), (1383856495,), (1383856523,), (1383856545,), (1383856720,), (1383856722,), (1383856742,), (1383856747,), (1383856764,), (1383856904,), (1383856931,), (1383856955,), (1383856959,), (1383856974,), (1383856985,), (1383856999,), (1383857010,), (1383857024,), (1383857199,), (1383857203,), (1383857204,), (1383857208,), (1383857213,), (1383857266,), (1383857268,), (1383857446,), (1383857457,), (1383857459,), (1383857477,), (1383857480,), (1383857484,), (1383857504,), (1383857505,), (1383857558,), (1383857559,), (1383857560,), (1383857563,), (1383857584,), (1383857586,), (1383857588,), (1383857633,), (1383857635,), (1383857637,), (1383857639,), (1383857643,), (1383857664,), (1383857666,), (1383857668,), (1383857689,), (1383857696,), (1383857706,), (1383857708,), (1383857711,), (1383857746,), (1383857739,), (1383857740,), (1383857741,), (1383857743,), (1383857759,), (1383857761,), (1383857762,), (1383857764,), (1383857767,), (1383857781,), (1383857792,), (1383857793,), (1383857795,), (1383857870,), (1383857874,), (1383857876,), (1383857894,), (1383857895,), (1383857897,), (1383857955,), (1383857960,), (1383857962,), (1383857971,), (1383858055,), (1383858058,), (1383858059,), (1383858061,), (1383858108,), (1383858109,), (1383858110,), (1383858140,), (1383858142,), (1383858152,), (1383858156,), (1383858160,), (1383858342,), (1383858353,), (1383858373,), (1383858382,), (1383858410,), (1383858413,), (1383858416,), (1383858420,), (1383858463,), (1383858466,), (1383858467,), (1383858469,), (1383858473,), (1383858490,), (1383858492,), (1383858494,), (1383858528,), (1383858531,), (1383858532,), (1383858536,), (1383858702,), (1383858705,), (1383858706,), (1383858708,), (1383858710,), (1383858713,), (1383858802,), (1383858775,), (1383858792,), (1383858910,), (1383858921,), (1383858926,), (1383858994,), (1383858997,), (1383859099,), (1383859101,), (1383859162,), (1383859165,), (1383859167,), (1383859169,), (1383859173,), (1383859263,), (1383859264,), (1383859265,), (1383859339,), (1383859341,), (1383859342,), (1383859344,), (1383859364,), (1383859402,), (1383859404,), (1383859405,), (1383859407,), (1383859430,), (1383859431,), (1383863160,), (1383863415,), (1383863127,), (1383863129,), (1383863150,), (1383863350,), (1383863353,), (1383863380,), (1383863390,), (1383863393,), (1383863396,), (1383863408,), (1383863410,), (1383863417,), (1383863571,), (1383863603,), (1383864589,), (1383865013,), (1383865039,), (1383865061,), (1383865066,), (1383865069,), (1383865304,), (1383865627,), (1383865957,), (1383865959,), (1383865961,), (1383866266,), (1383866298,), (1383866324,), (1383866349,), (1383866376,), (1383866597,), (1383866837,), (1383866839,), (1383866972,), (1383866928,), (1383866950,), (1383867249,), (1383867269,), (1383867270,), (1383867411,), (1383867413,), (1383867414,), (1383867570,), (1383867599,), (1383867742,), (1383867743,), (1383867744,), (1383867746,), (1383867749,), (1383867769,), (1383867807,), (1383867862,), (1383867863,), (1383867864,), (1383867866,), (1383867885,), (1383867886,), (1383867888,), (1383867891,), (1383867894,), (1383867908,), (1383867909,), (1383867910,), (1383867933,), (1383867935,), (1383868021,), (1383868029,), (1383868048,), (1383868066,), (1383868071,), (1383868093,), (1383868094,), (1383868095,), (1383868097,), (1383868100,), (1383868115,), (1383868117,), (1383868118,), (1383868120,), (1383868125,), (1383868152,), (1383868156,), (1383868253,), (1383868247,), (1383868295,), (1383868299,), (1383868302,), (1383868305,), (1383868311,), (1383868338,), (1383868547,), (1383868604,), (1383868618,), (1383868627,), (1383868671,), (1383868706,), (1383868737,), (1383868755,), (1383868778,), (1383868822,), (1383868845,), (1383868854,), (1383868857,), (1383868868,), (1383868872,), (1383869092,), (1383869120,), (1383869143,), (1383869158,), (1383869166,), (1383869171,), (1383869316,), (1383869318,), (1383869320,), (1383869324,), (1383869329,), (1383869539,), (1383869627,), (1383869652,), (1383869679,), (1383869705,), (1383869734,), (1383869870,), (1383869893,), (1383869915,), (1383869952,), (1383870462,), (1383870486,), (1383870517,), (1383870563,), (1383870770,), (1383870772,), (1383870774,), (1383870776,), (1383870779,), (1383870840,), (1383870860,), (1383870861,), (1383870863,), (1383870892,), (1383871139,), (1383871163,), (1383871192,), (1383871240,), (1383871606,), (1383871620,), (1383871637,), (1383871655,), (1383871681,), (1383871706,), (1383872003,), (1383872049,), (1383872097,), (1383872149,), (1383872179,), (1383872219,), (1383872448,), (1383872451,), (1383872454,), (1383872458,), (1383872480,), (1383872944,), (1383872763,), (1383872816,), (1383872865,), (1383872915,), (1383873260,), (1383873262,), (1383873268,), (1383873289,), (1383873432,), (1383873433,), (1383873434,), (1383873437,), (1383873452,), (1383873460,), (1383873673,), (1383873680,), (1383873682,), (1383873684,), (1383873715,), (1383873716,), (1383873717,), (1383873719,), (1383873723,), (1383873738,), (1383873740,), (1383873741,), (1383873742,), (1383873746,), (1383873750,), (1383873789,), (1383873794,), (1383873797,), (1383873802,), (1383873805,), (1383873855,), (1383873856,), (1383873858,), (1383873862,), (1383873866,), (1383873868,), (1383873892,), (1383873894,), (1383873895,), (1383873897,), (1383873909,), (1383873914,), (1383873917,), (1383873924,), (1383873943,), (1383873945,), (1383873946,), (1383873949,), (1383873953,), (1383873957,), (1383874012,), (1383874014,), (1383874016,), (1383874020,), (1383874026,), (1383874197,), (1383874200,), (1383874202,), (1383874218,), (1383874382,), (1383874438,), (1383874472,), (1383874476,), (1383874482,), (1383874494,), (1383874563,), (1383874570,), (1383874575,), (1383874578,), (1383874583,), (1383874608,), (1383874611,), (1383874612,), (1383874615,), (1383874620,), (1383874624,), (1383874664,), (1383874654,), (1383874656,), (1383874657,), (1383874659,), (1383874685,), (1383874687,), (1383874688,), (1383874690,), (1383874695,), (1383874699,), (1383874711,), (1383874719,), (1383874752,), (1383874806,), (1383874856,), (1383874907,), (1383875108,), (1383875171,), (1383875221,), (1383875267,), (1383875451,), (1383875455,), (1383875462,), (1383875485,), (1383875507,), (1383875636,), (1383875661,), (1383875682,), (1383875732,), (1383875792,), (1383875855,), (1383876128,), (1383876155,), (1383876340,), (1383876342,), (1383876351,), (1383876363,), (1383876649,), (1383876675,), (1383876704,), (1383876727,), (1383876756,), (1383876800,), (1383876895,), (1383876897,), (1383876898,), (1383876900,), (1383877290,), (1383877318,), (1383877380,), (1383877462,), (1383877520,), (1383877561,), (1383877722,), (1383877739,), (1383877741,), (1383877947,), (1383877997,), (1383878047,), (1383878097,), (1383878220,), (1383878221,), (1383878223,), (1383878227,), (1383878230,), (1383878234,), (1383878244,), (1383878248,), (1383878252,), (1383878254,), (1383878256,), (1383878272,), (1383878358,), (1383878360,), (1383878361,), (1383878362,), (1383878365,), (1383878614,), (1383878538,), (1383878547,), (1383878578,), (1383878605,), (1383878611,), (1383878661,), (1383878678,), (1383878697,), (1383878722,), (1383878805,), (1383878812,), (1383878844,), (1383878873,), (1383878907,), (1383878953,), (1383878957,), (1383878968,), (1383878970,), (1383878975,), (1383879325,), (1383879351,), (1383879375,), (1383879401,), (1383879404,), (1383879554,), (1383879580,), (1383879597,), (1383879606,), (1383879640,), (1383879743,), (1383879745,), (1383879772,), (1383879797,), (1383879839,), (1383880168,), (1383880191,), (1383880217,), (1383880246,), (1383880299,), (1383880350,), (1383880453,), (1383880458,), (1383880460,), (1383880462,), (1383880465,), (1383880468,), (1383880471,), (1383880535,), (1383880562,), (1383880587,), (1383880614,), (1383880640,), (1383880671,), (1383880926,), (1383880948,), (1383880958,), (1383881075,), (1383881077,), (1383881078,), (1383881080,), (1383881105,), (1383881292,), (1383881297,), (1383881298,), (1383881300,), (1383881303,), (1383881332,), (1383881337,), (1383881347,), (1383881874,), (1383881862,), (1383881870,), (1383882060,), (1383882197,), (1383882199,), (1383882217,), (1383882218,), (1383882236,), (1383882240,), (1383882244,), (1383882246,), (1383882260,), (1383882284,), (1383882285,), (1383882286,), (1383882288,), (1383882292,), (1383882295,), (1383882303,), (1383882305,), (1383882306,), (1383882386,), (1383882389,), (1383882393,), (1383882396,), (1383882400,), (1383882404,), (1383882452,), (1383882454,), (1383882455,), (1383882457,), (1383882461,), (1383882478,), (1383882479,), (1383882481,), (1383882498,), (1383882499,), (1383882500,), (1383882503,), (1383882516,), (1383882539,), (1383882640,), (1383882649,), (1383882675,), (1383882701,), (1383882702,), (1383882704,), (1383882707,), (1383882710,), (1383882713,), (1383882725,), (1383882736,), (1383882739,), (1383882740,), (1383882759,), (1383882761,), (1383882762,), (1383882764,), (1383882795,), (1383882791,), (1383882792,), (1383882793,), (1383882819,), (1383882820,), (1383882821,), (1383882823,), (1383882826,), (1383882833,), (1383882868,), (1383882869,), (1383882870,), (1383882992,), (1383883009,), (1383883010,), (1383883012,), (1383883016,), (1383883019,), (1383883032,), (1383883034,), (1383883036,), (1383883040,), (1383883045,), (1383883132,), (1383883134,), (1383883151,), (1383883158,), (1383883184,), (1383883185,), (1383883186,), (1383883190,), (1383883201,), (1383883215,), (1383883313,), (1383883316,), (1383883319,), (1383883322,), (1383883329,), (1383883332,), (1383883392,), (1383883403,), (1383883508,), (1383883509,), (1383883557,), (1383883677,), (1383883703,), (1383883704,), (1383883705,), (1383883707,), (1383883734,), (1383886221,), (1383886287,), (1383886308,), (1383886310,), (1383886312,), (1383886314,), (1383886318,), (1383886374,), (1383886537,), (1383886539,), (1383886540,), (1383886543,), (1383886759,), (1383886767,), (1383886792,), (1383886808,), (1383886814,), (1383886911,), (1383886924,), (1383886925,), (1383886968,), (1383886970,), (1383886971,), (1383886973,), (1383886977,), (1383886981,), (1383887036,), (1383887037,), (1383887038,), (1383887041,), (1383887062,), (1383887067,), (1383887136,), (1383887120,), (1383887125,), (1383887132,), (1383887134,), (1383887190,), (1383887200,), (1383887206,), (1383887218,), (1383887220,), (1383887264,), (1383887265,), (1383887267,), (1383887270,), (1383887273,), (1383887275,), (1383887291,), (1383887293,), (1383887295,), (1383887297,), (1383887300,), (1383887302,), (1383887305,), (1383887308,), (1383887310,), (1383887320,), (1383887322,), (1383887323,), (1383887325,), (1383887327,), (1383887332,), (1383887355,), (1383887357,), (1383887359,), (1383887362,), (1383887365,), (1383887367,), (1383887373,), (1383887374,), (1383887375,), (1383887376,), (1383887379,), (1383887386,), (1383887389,), (1383887393,), (1383887399,), (1383887403,), (1383887456,), (1383887459,), (1383887462,), (1383887464,), (1383887476,), (1383887482,), (1383887518,), (1383887519,), (1383887530,), (1383904722,), (1383906511,), (1383906538,), (1383906540,), (1383906750,), (1383906776,), (1383906800,), (1383906828,), (1383906839,), (1383906978,), (1383907524,), (1383907574,), (1383907599,), (1383907632,), (1383907821,), (1383907886,), (1383907887,), (1383907888,), (1383907890,), (1383907915,), (1383907918,), (1383907920,), (1383907923,), (1383907940,), (1383907942,), (1383907944,), (1383907946,), (1383907950,), (1383907966,), (1383907970,), (1383907973,), (1383907978,), (1383907991,), (1383907993,), (1383907997,), (1383908003,), (1383908013,), (1383908101,), (1383908104,), (1383908107,), (1383908112,), (1383908117,), (1383908121,), (1383908132,), (1383908138,), (1383908143,), (1383908147,), (1383908152,), (1383908164,), (1383908182,), (1383908212,), (1383908238,), (1383908684,), (1383908715,), (1383909857,), (1383909884,), (1383909959,), (1383910012,), (1383910066,), (1383908574,), (1383908597,), (1383908625,), (1383908650,), (1383909130,), (1383909185,), (1383909246,), (1383909294,), (1383909346,), (1383909398,), (1383909496,), (1383909531,), (1383909598,), (1383909660,), (1383909691,), (1383909733,), (1383909825,), (1383910262,), (1383910310,), (1383910415,), (1383910443,), (1383910471,), (1383910602,), (1383910628,), (1383910667,), (1383910709,), (1383910739,), (1383910770,), (1383910961,), (1383911145,), (1383911397,), (1383911412,), (1383911435,), (1383911464,), (1383911483,), (1383911489,), (1383911593,), (1383911618,), (1383911643,), (1383911667,), (1383911966,), (1383912362,), (1383912399,), (1383912740,), (1383912742,), (1383912743,), (1383912761,), (1383912785,), (1383912786,), (1383913101,), (1383913004,), (1383913028,), (1383913051,), (1383913075,), (1383913614,), (1383913664,), (1383913707,), (1383913754,), (1383913793,), (1383914376,), (1383914420,), (1383914468,), (1383914519,), (1383914977,), (1383915004,), (1383915029,), (1383915055,), (1383915088,), (1383915416,), (1383915445,), (1383915470,), (1383915513,), (1383915537,), (1383915863,), (1383915873,), (1383915899,), (1383916277,), (1383916304,), (1383916332,), (1383916371,), (1383916405,), (1383916446,), (1383916679,), (1383916703,), (1383916729,), (1383916748,), (1383916754,), (1383916833,), (1383916864,), (1383916889,), (1383917052,), (1383917054,), (1383917056,), (1383917058,), (1383917062,), (1383917066,), (1383917095,), (1383917097,), (1383917099,), (1383917102,), (1383917106,), (1383917109,), (1383917129,), (1383917130,), (1383917131,), (1383917214,), (1383917215,), (1383917218,), (1383917221,), (1383917232,), (1383917236,), (1383917255,), (1383917256,), (1383917257,), (1383917259,), (1383917263,), (1383917290,), (1383917299,), (1383917309,), (1383917449,), (1383917434,), (1383917484,), (1383917487,), (1383917490,), (1383917494,), (1383917498,), (1383917515,), (1383917555,), (1383917557,), (1383917558,), (1383917560,), (1383917563,), (1383917566,), (1383917593,), (1383917594,), (1383917596,), (1383917599,), (1383917688,), (1383917712,), (1383917714,), (1383917721,), (1383917730,), (1383917739,), (1383917789,), (1383917790,), (1383917791,), (1383917793,), (1383917795,), (1383917798,), (1383917940,), (1383917966,), (1383917989,), (1383918015,), (1383918224,), (1383918237,), (1383918248,), (1383918252,), (1383918256,), (1383918258,), (1383918271,), (1383918272,), (1383918273,), (1383918275,), (1383918279,), (1383918297,), (1383918298,), (1383918299,), (1383918301,), (1383918313,), (1383918337,), (1383918479,), (1383918480,), (1383918525,), (1383918526,), (1383918527,), (1383918529,), (1383918532,), (1383918535,), (1383918764,), (1383918765,), (1383918767,), (1383918771,), (1383918814,), (1383918815,), (1383918816,), (1383918878,), (1383918891,), (1383918893,), (1383919046,), (1383918994,), (1383919020,), (1383919146,), (1383919147,), (1383919149,), (1383919151,), (1383919325,), (1383919382,), (1383919407,), (1383919433,), (1383919537,), (1383919539,), (1383919540,), (1383919573,), (1383919574,), (1383919575,), (1383919577,), (1383919580,), (1383919614,), (1383919615,), (1383919616,), (1383919618,), (1383919622,), (1383919666,), (1383919690,), (1383919713,), (1383919841,), (1383919842,), (1383919843,), (1383919845,), (1383919849,), (1383919871,), (1383919872,), (1383919873,), (1383919875,), (1383919877,), (1383919921,), (1383919924,), (1383919926,), (1383919928,), (1383919933,), (1383919951,), (1383919954,), (1383919955,), (1383919959,), (1383919965,), (1383919986,), (1383919988,), (1383919989,), (1383919990,), (1383920043,), (1383920044,), (1383920045,), (1383920047,), (1383920051,), (1383920055,), (1383920972,), (1383921028,), (1383921087,), (1383921295,), (1383921342,), (1383921375,), (1383921406,), (1383921433,), (1383921854,), (1383921855,), (1383921857,), (1383921864,), (1383921901,), (1383921913,), (1383922229,), (1383922254,), (1383922580,), (1383921779,), (1383921782,), (1383921814,), (1383921819,), (1383921846,), (1383921850,), (1383922094,), (1383922126,), (1383922163,), (1383922201,), (1383922347,), (1383922369,), (1383922399,), (1383922429,), (1383922456,), (1383922487,), (1383922706,), (1383922731,), (1383922760,), (1383922784,), (1383922813,), (1383922908,), (1383923368,), (1383923702,), (1383923730,), (1383923755,), (1383923780,), (1383924127,), (1383924152,), (1383924176,), (1383924194,), (1383924258,), (1383924286,), (1383925246,), (1383925248,), (1383925249,), (1383925276,), (1383926044,), (1383926068,), (1383926077,), (1383926122,), (1383926434,), (1383926435,), (1383926436,), (1383926568,), (1383926759,), (1383926771,), (1383926941,), (1383926954,), (1383926957,), (1383927002,), (1383927220,), (1383927498,), (1383927518,), (1383927564,), (1383927611,), (1383927877,), (1383927916,), (1383927971,), (1383928025,), (1383928073,), (1383928118,), (1383928250,), (1383928252,), (1383928263,), (1383928267,), (1383928361,), (1383928381,), (1383928389,), (1383928392,), (1383928396,), (1383928420,), (1383928432,), (1383928435,), (1383928446,), (1383928448,), (1383928467,), (1383928733,), (1383928764,), (1383928790,), (1383929239,), (1383929240,), (1383929241,), (1383929242,), (1383929245,), (1383929432,), (1383929606,), (1383929639,), (1383929672,), (1383929708,), (1383929728,), (1383929944,), (1383929965,), (1383929991,), (1383929995,), (1383930001,), (1383930041,), (1383930229,), (1383930231,), (1383930232,), (1383930233,), (1383930391,), (1383930415,), (1383930460,), (1383930658,), (1383930635,), (1383930656,), (1383930743,), (1383930746,), (1383930760,), (1383930784,), (1383930814,), (1383931050,), (1383931059,), (1383931065,), (1383931090,), (1383931101,), (1383931103,), (1383931152,), (1383931153,), (1383931154,), (1383931155,), (1383931183,), (1383931203,), (1383931227,), (1383931254,), (1383931278,), (1383931304,), (1383931443,), (1383931453,), (1383931455,), (1383931476,), (1383931498,), (1383931503,), (1383931517,), (1383931520,), (1383931522,), (1383931524,), (1383931624,), (1383931641,), (1383931664,), (1383931689,), (1383931866,), (1383931868,), (1383931892,), (1383931905,), (1383931926,), (1383931929,), (1383931932,), (1383931936,), (1383931940,), (1383931943,), (1383931985,), (1383932013,), (1383932041,), (1383932402,), (1383932403,), (1383932404,), (1383932405,), (1383932408,), (1383932412,), (1383932424,), (1383932437,), (1383932460,), (1383932659,), (1383932660,), (1383932666,), (1383932692,), (1383932711,), (1383932750,), (1383932744,), (1383932745,), (1383932746,), (1383932747,), (1383932769,), (1383932772,), (1383932774,), (1383932776,), (1383932779,), (1383932781,), (1383932824,), (1383932825,), (1383932826,), (1383932827,), (1383932856,), (1383932883,), (1383932911,), (1383932935,), (1383932962,), (1383933238,), (1383933263,), (1383933288,), (1383933311,), (1383933337,), (1383933362,), (1383933443,), (1383933455,), (1383933481,), (1383933505,), (1383933675,), (1383933701,), (1383933724,), (1383933748,), (1383933751,), (1383933944,), (1383933998,), (1383934044,), (1383934070,), (1383934374,), (1383934399,), (1383934424,), (1383934449,), (1383934476,), (1383934504,), (1383934711,), (1383934714,), (1383934716,), (1383934718,), (1383934738,), (1383934740,), (1383934762,), (1383934788,), (1383934816,), (1383934848,), (1383935208,), (1383935246,), (1383935276,), (1383935300,), (1383935326,), (1383935362,), (1383935639,), (1383935664,), (1383935674,), (1383935687,), (1383935935,), (1383935964,), (1383935975,), (1383935982,), (1383935986,), (1383935993,), (1383935994,), (1383935997,), (1383936084,), (1383936085,), (1383936088,), (1383936313,), (1383936317,), (1383936319,), (1383936350,), (1383936074,), (1383936078,), (1383936082,), (1383936123,), (1383936124,), (1383936126,), (1383936139,), (1383936149,), (1383936161,), (1383936216,), (1383936221,), (1383936224,), (1383936228,), (1383936231,), (1383936254,), (1383936306,), (1383936309,), (1383936362,), (1383936363,), (1383936365,), (1383936366,), (1383936369,), (1383936370,), (1383936374,), (1383936375,), (1383936380,), (1383936386,), (1383936393,), (1383936395,), (1383936401,), (1383936403,), (1383936418,), (1383936442,), (1383936468,), (1383936491,), (1383936547,), (1383936552,), (1383936556,), (1383936587,), (1383936589,), (1383936591,), (1383936592,), (1383936595,), (1383936601,), (1383936653,), (1383936656,), (1383936658,), (1383936660,), (1383936663,), (1383936687,), (1383936690,), (1383936693,), (1383936695,), (1383936729,), (1383936736,), (1383936737,), (1383936739,), (1383936742,), (1383936771,), (1383936774,), (1383936778,), (1383936783,), (1383936788,), (1383936792,), (1383936816,), (1383936820,), (1383936823,), (1383936873,), (1383936874,), (1383936876,), (1383936877,), (1383936880,), (1383936885,), (1383936904,), (1383936905,), (1383936906,), (1383936996,), (1383937004,), (1383937008,), (1383937021,), (1383937030,), (1383937035,), (1383937078,), (1383937067,), (1383937070,), (1383937071,), (1383937072,), (1383937075,), (1383937112,), (1383937113,), (1383937114,), (1383937116,), (1383937120,), (1383937170,), (1383937176,), (1383937178,), (1383937180,), (1383937184,), (1383937188,), (1383937228,), (1383937233,), (1383937236,), (1383937254,), (1383937256,), (1383937257,), (1383937283,), (1383937285,), (1383937287,), (1383937294,), (1383937334,), (1383937477,), (1383937588,), (1383937589,), (1383937590,), (1383937592,), (1383937595,), (1383937597,), (1383937606,), (1383937608,), (1383937610,), (1383937616,), (1383937619,), (1383937621,), (1383937623,), (1383937626,), (1383937629,), (1383937649,), (1383937651,), (1383937653,), (1383937655,), (1383937657,), (1383937660,), (1383937683,), (1383937685,), (1383937686,), (1383937688,), (1383937691,), (1383937707,), (1383937710,), (1383937711,), (1383937725,), (1383937734,), (1383937740,), (1383937813,), (1383937819,), (1383937820,), (1383937821,), (1383937844,), (1383937845,), (1383937846,), (1383937847,), (1383937850,), (1383937853,), (1383937881,), (1383937888,), (1383937892,), (1383937894,), (1383937897,), (1383937947,), (1383937927,), (1383937930,), (1383937933,), (1383937938,), (1383937943,), (1383937974,), (1383937979,), (1383937988,), (1383937990,), (1383937993,), (1383937996,), (1383938044,), (1383938048,), (1383938050,), (1383938054,), (1383938058,), (1383938314,), (1383938338,), (1383938339,), (1383938340,), (1383938479,), (1383938484,), (1383938486,), (1383938503,), (1383938555,), (1383938607,), (1383938841,), (1383938848,), (1383938850,), (1383938853,), (1383938898,), (1383938934,), (1383939070,), (1383939090,), (1383939113,), (1383939114,), (1383939312,), (1383939340,), (1383939364,), (1383939386,), (1383939411,), (1383939439,), (1383939709,), (1383939736,), (1383939764,), (1383939787,), (1383939813,), (1383940067,), (1383940165,), (1383940188,), (1383940464,), (1383940465,), (1383940466,), (1383940468,), (1383940471,), (1383940474,), (1383940498,), (1383940501,), (1383940503,), (1383940505,), (1383940723,), (1383940749,), (1383940776,), (1383940804,), (1383940832,), (1383940858,), (1383941089,), (1383941100,), (1383941101,), (1383941103,), (1383941104,), (1383941107,), (1383941196,), (1383941232,), (1383941275,), (1383941309,), (1383941719,), (1383941651,), (1383941657,), (1383941659,), (1383941666,), (1383941690,), (1383941796,), (1383941802,), (1383941803,), (1383941804,), (1383942257,), (1383942290,), (1383942324,), (1383942355,), (1383942394,), (1383942400,), (1383942402,), (1383942406,), (1383942427,), (1383942429,), (1383942432,), (1383942434,), (1383942436,), (1383942452,), (1383942515,), (1383942517,), (1383942636,), (1383942662,), (1383942687,), (1383942711,), (1383942736,), (1383942796,), (1383943196,), (1383943200,), (1383943208,), (1383943216,), (1383943218,), (1383943221,), (1383943284,), (1383943290,), (1383943291,), (1383943294,), (1383943318,), (1383943321,), (1383943324,), (1383943327,), (1383943333,), (1383943340,), (1383943386,), (1383943390,), (1383943393,), (1383943400,), (1383943404,), (1383943429,), (1383943431,), (1383943432,), (1383943434,), (1383943438,), (1383943514,), (1383943542,), (1383943557,), (1383943560,), (1383943565,), (1383943570,), (1383944137,), (1383944191,), (1383944243,), (1383944298,), (1383945070,), (1383944971,), (1383945025,), (1383945397,), (1383945444,), (1383945469,), (1383945484,), (1383945490,), (1383945805,), (1383946072,), (1383946095,), (1383946123,), (1383946150,), (1383946179,), (1383946453,), (1383946478,), (1383946502,), (1383946838,), (1383946867,), (1383946895,), (1383946925,), (1383947233,), (1383947243,), (1383947244,), (1383947245,), (1383947248,), (1383947339,), (1383947428,), (1383947451,), (1383947480,), (1383947505,), (1383947534,), (1383947612,), (1383947639,), (1383947646,), (1383947659,), (1383947664,), (1383947682,), (1383948653,), (1383949089,), (1383949091,), (1383949469,), (1383949402,), (1383949428,), (1383949444,), (1383949447,), (1383949467,), (1383949482,), (1383949483,), (1383949490,), (1383949496,), (1383949507,), (1383949513,), (1383949703,), (1383949728,), (1383949754,), (1383949782,), (1383949916,), (1383949920,), (1383950135,), (1383950179,), (1383950208,), (1383950235,), (1383950336,), (1383950338,), (1383950340,), (1383950342,), (1383950346,), (1383950349,), (1383950376,), (1383950379,), (1383950380,), (1383950393,), (1383950402,), (1383950417,), (1383950418,), (1383950420,), (1383950423,), (1383950427,), (1383950432,), (1383950496,), (1383950501,), (1383950511,), (1383950513,), (1383950531,), (1383950533,), (1383950536,), (1383950539,), (1383950543,), (1383950545,), (1383950569,), (1383950575,), (1383950579,), (1383950583,), (1383950586,), (1383950628,), (1383950634,), (1383950653,), (1383950690,), (1383950721,), (1383950757,), (1383951137,), (1383955489,), (1383955562,), (1383955642,), (1383956670,), (1383956747,), (1383956835,), (1383956907,), (1383957662,), (1383957729,), (1383957763,), (1383958032,), (1383958057,), (1383958081,), (1383958115,), (1383958137,), (1383958497,), (1383958549,), (1383958563,), (1383958688,), (1383958691,), (1383958694,), (1383958696,), (1383958699,), (1383958702,), (1383958713,), (1383958715,), (1383958716,), (1383958717,), (1383958719,), (1383958779,), (1383958781,), (1383958782,), (1383958800,), (1383958850,), (1383958853,), (1383958856,), (1383958859,), (1383958863,), (1383958867,), (1383958892,), (1383958895,), (1383958897,), (1383958898,), (1383958901,), (1383958974,), (1383958984,), (1383958988,), (1383958993,), (1383958999,), (1383959066,), (1383959071,), (1383959090,), (1383959093,), (1383959096,), (1383959098,), (1383959155,), (1383959173,), (1383959182,), (1383959188,), (1383959206,), (1383959209,), (1383959276,), (1383959329,), (1383959331,), (1383959337,), (1383959517,), (1383959534,), (1383959545,), (1383959552,), (1383959558,), (1383959562,), (1383959840,), (1383959835,), (1383959838,), (1383959839,), (1383959995,), (1383959997,), (1383959999,), (1383960002,), (1383960006,), (1383960011,), (1383960151,), (1383960168,), (1383960171,), (1383960173,), (1383960176,), (1383960177,), (1383960191,), (1383960193,), (1383960194,), (1383960230,), (1383960235,), (1383960252,), (1383960286,), (1383960326,), (1383960360,), (1383960578,), (1383960586,), (1383960601,), (1383960605,), (1383960671,), (1383960674,), (1383960676,), (1383960678,), (1383960722,), (1383960723,), (1383960724,), (1383960725,), (1383960781,), (1383960783,), (1383960784,), (1383960786,), (1383960791,), (1383960796,), (1383960809,), (1383960810,), (1383960811,), (1383960813,), (1383960817,), (1383960897,), (1383960898,), (1383960899,), (1383960901,), (1383960904,), (1383960908,), (1383960925,), (1383960926,), (1383960927,), (1383960929,), (1383960932,), (1383960937,), (1383960995,), (1383960997,), (1383960998,), (1383961000,), (1383961002,), (1383961019,), (1383961020,), (1383961021,), (1383961063,), (1383961068,), (1383961072,), (1383961075,), (1383961080,), (1383961138,), (1383961120,), (1383961121,), (1383961136,), (1383961169,), (1383961172,), (1383961174,), (1383961177,), (1383961227,), (1383961229,), (1383961231,), (1383961551,), (1383961553,), (1383961562,), (1383961579,), (1383961586,), (1383961663,), (1383961664,), (1383961665,), (1383961666,), (1383961672,), (1383961711,), (1383961716,), (1383961719,), (1383961722,), (1383961726,), (1383961730,), (1383961749,), (1383961754,), (1383961772,), (1383961796,), (1383961822,), (1383961847,), (1383962090,), (1383962115,), (1383962139,), (1383962167,), (1383962198,), (1383962411,), (1383962434,), (1383962456,), (1383962484,), (1383962528,), (1383962576,), (1383962830,), (1383962840,), (1383963151,), (1383963179,), (1383963562,), (1383963592,), (1383963635,), (1383963681,), (1383963784,), (1383963787,), (1383963790,), (1383963796,), (1383963800,), (1383963828,), (1383963831,), (1383963842,), (1383963867,), (1383963894,), (1383963920,), (1383964060,), (1383964071,), (1383964072,), (1383964331,), (1383964293,), (1383964306,), (1383964308,), (1383964322,), (1383964326,), (1383964351,), (1383964355,), (1383964362,), (1383964377,), (1383964380,), (1383964400,), (1383964558,), (1383964564,), (1383964587,), (1383964612,), (1383964706,), (1383964730,), (1383964754,), (1383964767,), (1383964770,), (1383964772,), (1383964865,), (1383964885,), (1383964894,), (1383964896,), (1383964912,), (1383964936,), (1383964978,), (1383964980,), (1383964982,), (1383964984,), (1383964999,), (1383965000,), (1383965001,), (1383965003,), (1383965013,), (1383965026,), (1383965202,), (1383965206,), (1383965208,), (1383965233,), (1383965254,), (1383965422,), (1383965424,), (1383965425,), (1383965427,), (1383965430,), (1383965433,), (1383965444,), (1383965445,), (1383965446,), (1383965448,), (1383965451,), (1383965455,), (1383965479,), (1383965482,), (1383965484,), (1383965487,), (1383965490,), (1383965503,), (1383965504,), (1383965505,), (1383965508,), (1383965513,), (1383965522,), (1383965575,), (1383965578,), (1383965580,), (1383965583,), (1383965729,), (1383965758,), (1383965858,), (1383965885,), (1383966521,), (1383966312,), (1383966359,), (1383966413,), (1383966472,), (1383966994,), (1383967043,), (1383967071,), (1383967099,), (1383967131,), (1383967733,), (1383967833,), (1383967964,), (1383968067,), (1383968993,), (1383969041,), (1383969093,), (1383969167,), (1383969203,), (1383969272,), (1383969685,), (1383969709,), (1383969714,), (1383970177,), (1383970207,), (1383970233,), (1383970504,), (1383970509,), (1383970510,), (1383970695,), (1383970723,), (1383970753,), (1383970782,), (1383970808,), (1383970811,), (1383970921,), (1383970922,), (1383970925,), (1383970964,), (1383970984,), (1383970986,), (1383970988,), (1383970990,), (1383971020,), (1383971021,), (1383971022,), (1383971025,), (1383971043,), (1383971046,), (1383971455,), (1383971481,), (1383971491,), (1383971494,), (1383971669,), (1383971677,), (1383971692,), (1383971707,), (1383971717,), (1383971721,), (1383971759,), (1383971789,), (1383971813,), (1383971836,), (1383971860,), (1383972059,), (1383972076,), (1383972077,), (1383972116,), (1383972228,), (1383973090,), (1383972942,), (1383972991,), (1383973027,), (1383973057,), (1383973085,), (1383973228,), (1383973254,), (1383973258,), (1383973624,), (1383973652,), (1383973678,), (1383973686,), (1383973713,), (1383973733,), (1383973801,), (1383973803,), (1383973805,), (1383973807,), (1383973810,), (1383973829,), (1383973839,), (1383973868,), (1383974059,), (1383974060,), (1383974061,), (1383974076,), (1383974078,), (1383974079,), (1383974081,), (1383974085,), (1383974185,), (1383974188,), (1383974216,), (1383974257,), (1383974291,), (1383974323,), (1383974485,), (1383974498,), (1383974512,), (1383974610,), (1383974613,), (1383974615,), (1383974619,), (1383974623,), (1383974626,), (1383974731,), (1383974733,), (1383974940,), (1383974942,), (1383974943,), (1383974946,), (1383975190,), (1383975197,), (1383975198,), (1383975201,), (1383975205,), (1383975260,), (1383975284,), (1383975307,), (1383975336,), (1383975364,), (1383975370,), (1383975406,), (1383975437,), (1383975462,), (1383975491,), (1383975522,), (1383975824,), (1383975734,), (1383975737,), (1383975764,), (1383975796,), (1383975956,), (1383975958,), (1383975960,), (1383975962,), (1383975992,), (1383976023,), (1383976128,), (1383976129,), (1383976130,), (1383976154,), (1383976156,), (1383976158,), (1383976160,), (1383976223,), (1383976224,), (1383976226,), (1383976243,), (1383976248,), (1383976253,), (1383976549,), (1383976570,), (1383976572,), (1383976574,), (1383976586,), (1383976754,), (1383976755,), (1383976756,), (1383976758,), (1383976781,), (1383977174,), (1383977199,), (1383977222,), (1383977247,), (1383977564,), (1383977587,), (1383977624,), (1383977653,), (1383978040,), (1383978079,), (1383978126,), (1383978151,), (1383978175,), (1383978206,), (1383978207,), (1383978208,), (1383978210,), (1383978214,), (1383978217,), (1383978406,), (1383978431,), (1383978456,), (1383978483,), (1383978515,), (1383978619,), (1383978620,), (1383978621,), (1383978624,), (1383978984,), (1383979018,), (1383979051,), (1383979090,), (1383979092,), (1383979094,), (1383979466,), (1383979423,), (1383979445,), (1383979456,), (1383979461,), (1383979607,), (1383979625,), (1383979634,), (1383979637,), (1383979642,), (1383979646,), (1383979697,), (1383979699,), (1383979700,), (1383979702,), (1383979705,), (1383979707,), (1383979724,), (1383979725,), (1383979726,), (1383979728,), (1383979732,), (1383979758,), (1383979760,), (1383979774,), (1383979776,), (1383979780,), (1383979859,), (1383979860,), (1383979861,), (1383979863,), (1383979866,), (1383979874,), (1383980142,), (1383980177,), (1383980206,), (1383980232,), (1383980259,), (1383980510,), (1383980527,), (1383980545,), (1383980548,), (1383980587,), (1383980589,), (1383980590,), (1383980592,), (1383980595,), (1383980597,), (1383980659,), (1383980661,), (1383980662,), (1383980664,), (1383980667,), (1383980697,), (1383980699,), (1383980714,), (1383980721,), (1383980737,), (1383980743,), (1383980747,), (1383980782,), (1383980784,), (1383980785,), (1383980787,), (1383980808,), (1383980833,), (1383981595,), (1383981651,), (1383981680,), (1383981708,), (1383981789,), (1383981815,), (1383981841,), (1383981868,), (1383981894,), (1383982437,), (1383982113,), (1383982272,), (1383982311,), (1383982356,), (1383982408,), (1383982657,), (1383982698,), (1383982726,), (1383983396,), (1383983431,), (1383983459,), (1383983491,), (1383983542,), (1383983783,), (1383983785,), (1383983786,), (1383983963,), (1383983979,), (1383984006,), (1383984010,), (1383984121,), (1383984132,), (1383984141,), (1383984148,), (1383984235,), (1383984237,), (1383984239,), (1383984247,), (1383984251,), (1383984349,), (1383984352,), (1383984354,), (1383984357,), (1383984511,), (1383984512,), (1383984513,), (1383984516,), (1383984520,), (1383984525,), (1383984545,), (1383984546,), (1383984547,), (1383984550,), (1383984585,), (1383984587,), (1383984589,), (1383984591,), (1383984595,), (1383984598,), (1383984622,), (1383984629,), (1383984639,), (1383984648,), (1383984658,), (1383984693,), (1383984694,), (1383984695,), (1383984697,), (1383984701,), (1383984705,), (1383984725,), (1383984727,), (1383985112,), (1383985081,), (1383985088,), (1383985089,), (1383985320,), (1383985322,), (1383985334,), (1383985339,), (1383985344,), (1383985348,), (1383985442,), (1383985563,), (1383985567,), (1383985570,), (1383985573,), (1383985577,), (1383985589,), (1383985590,), (1383985591,), (1383985593,), (1383985597,), (1383985626,), (1383985631,), (1383985641,), (1383985647,), (1383985668,), (1383985689,), (1383985733,), (1383985734,), (1383985735,), (1383985760,), (1383985763,), (1383985766,), (1383985777,), (1383985780,), (1383985783,), (1383985839,), (1383985840,), (1383985841,), (1383985843,), (1383985845,), (1383985848,), (1383985883,), (1383985889,), (1383985890,), (1383985892,), (1383985896,), (1383985934,), (1383985935,), (1383985936,), (1383985946,), (1383985954,), (1383985999,), (1383986003,), (1383986004,), (1383986006,), (1383986010,), (1383986014,), (1383986028,), (1383986029,), (1383986030,), (1383986032,), (1383986036,), (1383986063,), (1383986066,), (1383986069,), (1383986072,), (1383986109,), (1383986097,), (1383986098,), (1383986099,), (1383986102,), (1383986106,), (1383986133,), (1383986135,), (1383986136,), (1383986138,), (1383986170,), (1383986235,), (1383986236,), (1383986238,), (1383986241,), (1383986246,), (1383986249,), (1383986271,), (1383986273,), (1383986275,), (1383986277,), (1383986281,), (1383986291,), (1383986292,), (1383986294,), (1383986298,), (1383986304,), (1383986332,), (1383986349,), (1383986354,), (1383986431,), (1383986432,), (1383986453,), (1383986455,), (1383991474,), (1383991954,), (1383992411,), (1383992485,), (1383992633,), (1383992644,), (1383992769,), (1383992777,), (1383992783,), (1383992785,), (1383992788,), (1383992802,), (1383992972,), (1383992973,), (1383992974,), (1383992976,), (1383992979,), (1383993051,), (1383993052,), (1383993220,), (1383993222,), (1383993236,), (1383993255,), (1383993258,), (1383993273,), (1383993306,), (1383993315,), (1383993326,), (1383993331,), (1383993338,), (1383993384,), (1383993569,), (1383993571,), (1383993572,), (1383993574,), (1383993625,), (1383993631,), (1383993633,), (1383993635,), (1383993640,), (1383993644,), (1383993707,), (1383993710,), (1383993712,), (1383993714,), (1383993719,), (1383993756,), (1383993737,), (1383993738,), (1383993748,), (1383993750,), (1383993753,), (1383993794,), (1383993797,), (1383993799,), (1383993803,), (1383993867,), (1383993898,), (1383993926,), (1383993952,), (1383993976,), (1383994177,), (1383994178,), (1383994179,), (1383994191,), (1383994241,), (1383994307,), (1383994756,), (1383994802,), (1383994814,), (1383994946,), (1383994949,), (1383994950,), (1383994952,), (1383994955,), (1383994961,), (1383995043,), (1383995045,), (1383995094,), (1383995096,), (1383995127,), (1383995128,), (1383995129,), (1383995131,), (1383995152,), (1383995203,), (1383995205,), (1383995207,), (1383995211,), (1383995244,), (1383995245,), (1383995247,), (1383995249,), (1383995252,), (1383995273,), (1383995279,), (1383995291,), (1383995318,), (1383995389,), (1383995391,), (1383995393,), (1383995396,), (1383995400,), (1383995414,), (1383995416,), (1383995417,), (1383995421,), (1383995472,), (1383995474,), (1383995476,), (1383995479,), (1383995481,), (1383995483,), (1383995524,), (1383995517,), (1383995518,), (1383995519,), (1383995521,), (1383995541,), (1383995542,), (1383995543,), (1383995545,), (1383995762,), (1383995838,), (1383995845,), (1383995870,), (1383995884,), (1383995887,), (1383995970,), (1383995971,), (1383995972,), (1383995974,), (1383995977,), (1383995979,), (1383995997,), (1383995999,), (1383996000,), (1383996027,), (1383996034,), (1383996038,), (1383996049,), (1383996077,), (1383996108,), (1383996355,), (1383996384,), (1383996407,), (1383996411,), (1383996415,), (1383996565,), (1383996570,), (1383996574,), (1383996577,), (1383996581,), (1383996587,), (1383996868,), (1383996887,), (1383997192,), (1383997193,), (1383997194,), (1383997196,), (1383997201,), (1383997293,), (1383997295,), (1383997297,), (1383997299,), (1383997320,), (1383997321,), (1383997322,), (1383997324,), (1383997327,), (1383997389,), (1383997390,), (1383997391,), (1383997415,), (1383997417,), (1383997419,), (1383997422,), (1383997430,), (1383997450,), (1383997452,), (1383997455,), (1383997457,), (1383997460,), (1383997647,), (1383997645,), (1383997646,), (1383997663,), (1383997665,), (1383997666,), (1383997668,), (1383997700,), (1383997701,), (1383997702,), (1383997704,), (1383997708,), (1383997726,), (1383997727,), (1383997728,), (1383997730,), (1383997732,), (1383997770,), (1383997796,), (1383997857,), (1383997862,), (1383997864,), (1383997867,), (1383997870,), (1383997874,), (1383997962,), (1383997991,), (1383998017,), (1383998043,), (1383998074,), (1383998132,), (1383998413,), (1383998439,), (1383998464,), (1383998492,), (1383998522,), (1383998816,), (1383998842,), (1383998865,), (1383998892,), (1383998920,), (1383998948,), (1383999147,), (1383999149,), (1383999150,), (1383999152,), (1383999155,), (1383999186,), (1383999188,), (1383999224,), (1383999616,), (1383999625,), (1383999626,), (1383999628,), (1383999647,), (1383999776,), (1383999803,), (1383999829,), (1383999856,), (1383999883,), (1384000347,), (1384000377,), (1384000404,), (1384000430,), (1384000458,), (1384000521,), (1384000524,), (1384000525,), (1384000570,), (1384000812,), (1384000838,), (1384001178,), (1384001517,), (1384001824,), (1384001873,), (1384001919,), (1384001967,), (1384002018,), (1384002423,), (1384002452,), (1384002478,), (1384002507,), (1384002603,), (1384002616,), (1384002622,), (1384002644,), (1384002652,), (1384002654,), (1384002922,), (1384002976,), (1384003026,), (1384003080,), (1384003118,), (1384003148,), (1384003450,), (1384003474,), (1384003499,), (1384003524,), (1384003831,), (1384003832,), (1384003833,), (1384003835,), (1384003923,), (1384003950,), (1384003976,), (1384004003,), (1384004038,), (1384004089,), (1384004452,), (1384004476,), (1384004500,), (1384004526,), (1384004556,), (1384004583,), (1384004836,), (1384004860,), (1384004882,), (1384004907,), (1384005138,), (1384005163,), (1384005187,), (1384005214,), (1384005240,), (1384005272,), (1384005654,), (1384005703,), (1384005761,), (1384005817,), (1384005866,), (1384006563,), (1384006375,), (1384006457,), (1384006503,), (1384006707,), (1384006728,), (1384006768,), (1384006809,), (1384007073,), (1384007082,), (1384007087,), (1384007114,), (1384007125,), (1384007152,), (1384007154,), (1384007155,), (1384007157,), (1384007160,), (1384007199,), (1384007200,), (1384007201,), (1384007306,), (1384007313,), (1384007315,), (1384007338,), (1384007340,), (1384007342,), (1384007344,), (1384007609,), (1384007633,), (1384007656,), (1384007683,), (1384007708,), (1384007987,), (1384007988,), (1384007989,), (1384007992,), (1384008222,), (1384008226,), (1384008247,), (1384008268,), (1384008288,), (1384008291,), (1384008349,), (1384008351,), (1384008363,), (1384008389,), (1384008419,), (1384008714,), (1384008746,), (1384008771,), (1384008796,), (1384009142,), (1384009168,), (1384009227,), (1384009252,), (1384009278,), (1384009335,), (1384009357,), (1384009387,), (1384009424,), (1384009455,), (1384009483,), (1384009660,), (1384009671,), (1384009675,), (1384009677,), (1384009703,), (1384009694,), (1384009701,), (1384009742,), (1384009743,), (1384009744,), (1384009746,), (1384009749,), (1384009751,), (1384009794,), (1384009813,), (1384009836,), (1384009864,), (1384010178,), (1384010202,), (1384010226,), (1384010251,), (1384010279,), (1384010569,), (1384010593,), (1384010617,), (1384010911,), (1384010913,), (1384010915,), (1384010918,), (1384010922,), (1384010926,), (1384011149,), (1384011199,), (1384011262,), (1384011315,), (1384011387,), (1384011825,), (1384011837,), (1384011861,), (1384011870,), (1384011880,), (1384011884,), (1384011979,), (1384012001,), (1384012025,), (1384012049,), (1384012176,), (1384012177,), (1384012178,), (1384012180,), (1384012184,), (1384012198,), (1384012200,), (1384012201,), (1384012203,), (1384012206,), (1384012226,), (1384012318,), (1384012321,), (1384012322,), (1384012328,), (1384012369,), (1384012371,), (1384012372,), (1384012374,), (1384012377,), (1384012380,), (1384012586,), (1384012609,), (1384012633,), (1384012663,), (1384012688,), (1384012967,), (1384013048,), (1384013150,), (1384013179,), (1384013184,), (1384013397,), (1384013282,), (1384013368,), (1384013382,), (1384013473,), (1384013476,), (1384013478,), (1384013480,), (1384013482,), (1384013488,), (1384013501,), (1384013502,), (1384013503,), (1384013506,), (1384013524,), (1384013526,), (1384013527,), (1384013528,), (1384013533,), (1384013539,), (1384013612,), (1384013614,), (1384013616,), (1384013619,), (1384013648,), (1384013650,), (1384013651,), (1384013653,), (1384013656,), (1384013658,), (1384013725,), (1384013728,), (1384014493,), (1384015581,), (1384015608,), (1384016564,), (1384016596,), (1384016643,), (1384016691,), (1384016756,), (1384017273,), (1384017096,), (1384017135,), (1384017202,), (1384017709,), (1384017740,), (1384017765,), (1384017986,), (1384017987,), (1384017988,), (1384017990,), (1384018193,), (1384018210,), (1384018232,), (1384018241,), (1384018255,), (1384018257,), (1384018362,), (1384018386,), (1384018411,), (1384018435,), (1384018747,), (1384018775,), (1384018798,), (1384018826,), (1384018943,), (1384018948,), (1384018964,), (1384018966,), (1384019283,), (1384019331,), (1384019367,), (1384019394,), (1384019427,), (1384019476,), (1384019767,), (1384019793,), (1384019822,), (1384020359,), (1384020384,), (1384020409,), (1384020432,), (1384020765,), (1384020799,), (1384020830,), (1384020855,), (1384020874,), (1384020940,), (1384020944,), (1384020946,), (1384020948,), (1384020952,), (1384020955,), (1384020961,), (1384020962,), (1384020982,), (1384020985,), (1384020987,), (1384020990,), (1384020994,), (1384021071,), (1384021868,), (1384021840,), (1384022482,), (1384022504,), (1384022528,), (1384022984,), (1384023007,), (1384023035,), (1384023346,), (1384023546,), (1384023560,), (1384023577,), (1384023584,), (1384023637,), (1384023640,), (1384023643,), (1384023647,), (1384023692,), (1384023732,), (1384023736,), (1384023740,), (1384023754,), (1384023756,), (1384023757,), (1384023759,), (1384023762,), (1384023766,), (1384023777,), (1384023778,), (1384023782,), (1384023786,), (1384023807,), (1384023810,), (1384023813,), (1384023815,), (1384023828,), (1384023829,), (1384023866,), (1384023868,), (1384023870,), (1384023873,), (1384024097,), (1384024150,), (1384024157,), (1384024159,), (1384024162,), (1384024255,), (1384024251,), (1384024252,), (1384024253,), (1384024355,), (1384024363,), (1384024373,), (1384024392,), (1384024397,), (1384024436,), (1384024437,), (1384024590,), (1384024958,), (1384024772,), (1384024956,), (1384025798,), (1384025878,), (1384025954,), (1384026032,), (1384026099,), (1384026407,), (1384026475,), (1384026921,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'16092025': {'nb_upload': 33, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26889279]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1383887136, 1383887067, 1383887062, 1383887041, 1383887038, 1383887037, 1383887036, 1383886981, 1383886977, 1383886973, 1383886971, 1383886970, 1383886968, 1383886925, 1383886924, 1383886911, 1383886814, 1383886808, 1383886792, 1383886767, 1383886759, 1383886543, 1383886540, 1383886539, 1383886537, 1383886374, 1383886318, 1383886314, 1383886312, 1383886310, 1383886308, 1383886287, 1383886221] map_info['map_portfolio_photo'] : {26889279: [1383887136, 1383887067, 1383887062, 1383887041, 1383887038, 1383887037, 1383887036, 1383886981, 1383886977, 1383886973, 1383886971, 1383886970, 1383886968, 1383886925, 1383886924, 1383886911, 1383886814, 1383886808, 1383886792, 1383886767, 1383886759, 1383886543, 1383886540, 1383886539, 1383886537, 1383886374, 1383886318, 1383886314, 1383886312, 1383886310, 1383886308, 1383886287, 1383886221]} final : True mtd_id 4302 list_pids : [1383887136, 1383887067, 1383887062, 1383887041, 1383887038, 1383887037, 1383887036, 1383886981, 1383886977, 1383886973, 1383886971, 1383886970, 1383886968, 1383886925, 1383886924, 1383886911, 1383886814, 1383886808, 1383886792, 1383886767, 1383886759, 1383886543, 1383886540, 1383886539, 1383886537, 1383886374, 1383886318, 1383886314, 1383886312, 1383886310, 1383886308, 1383886287, 1383886221] Looping around the photos to save general results len do output : 1 /26889279Didn'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, '3732508') ('4302', '26889279', '1383887136', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887067', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887062', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887041', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887038', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887037', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383887036', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886981', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886977', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886973', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886971', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886970', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886968', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886925', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886924', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886911', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886814', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886808', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886792', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886767', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886759', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886543', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886540', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886539', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886537', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886374', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886318', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886314', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886312', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886310', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886308', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886287', None, None, None, None, None, '3732508') ('4302', None, None, None, None, None, None, None, '3732508') ('4302', '26889279', '1383886221', None, None, None, None, None, '3732508') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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, '26889279', 'None', None, None, None, None, '3732508'), ('4302', '26889279', '1383887136', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383887067', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383887062', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383887041', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383887038', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383887037', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383887036', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886981', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886977', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886973', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886971', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886970', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886968', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886925', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886924', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886911', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886814', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886808', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886792', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886767', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886759', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886543', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886540', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886539', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886537', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886374', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886318', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886314', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886312', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886310', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886308', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886287', None, None, None, None, None, '3732508'), ('4302', '26889279', '1383886221', None, None, None, None, None, '3732508')] time used for this insertion : 0.39585447311401367 save_final save missing photos in datou_result : time spend for datou_step_exec : 14.324228763580322 time spend to save output : 0.3964416980743408 total time spend for step 5 : 14.720670461654663 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 (3732508) 3.11user 2.26system 0:28.46elapsed 18%CPU (0avgtext+0avgdata 160380maxresident)k 152inputs+24504outputs (0major+86514minor)pagefaults 0swaps