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 : 145930 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 (3886515) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3886515) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27604223 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3886515'] with mtr_portfolio_ids : ['27604223'] and first list_photo_ids : [] new path : /proc/145930/ Name: python3 Umask: 0002 State: R (running) Tgid: 145930 Ngid: 0 Pid: 145930 PPid: 145929 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 145930 NSpid: 145930 NSpgid: 144495 NSsid: 144495 VmPeak: 1106856 kB VmSize: 1106856 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99396 kB VmRSS: 99396 kB RssAnon: 59840 kB RssFile: 39556 kB RssShmem: 0 kB VmData: 865608 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 588 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: 49 nonvoluntary_ctxt_switches: 18 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '145930', 'Ngid': '0', 'Pid': '145930', 'PPid': '145929', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '145930', 'NSpid': '145930', 'NSpgid': '144495', 'NSsid': '144495', 'VmPeak': '1106856 kB', 'VmSize': '1106856 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99396 kB', 'VmRSS': '99396 kB', 'RssAnon': '59840 kB', 'RssFile': '39556 kB', 'RssShmem': '0 kB', 'VmData': '865608 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '588 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': '49', 'nonvoluntary_ctxt_switches': '18'} ('datou_batch_current', '145930', '1106856', '0', '1106856', '865608', '99396', b'', 'marlene', '3886515') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (27604223) 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 (3886515 ) ) 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 (27604223) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1388239245, 'portfolio_id': 27604223}, {'photo_id': 1388239241, 'portfolio_id': 27604223}, {'photo_id': 1388239238, 'portfolio_id': 27604223}, {'photo_id': 1388239233, 'portfolio_id': 27604223}, {'photo_id': 1388239229, 'portfolio_id': 27604223}, {'photo_id': 1388239228, 'portfolio_id': 27604223}, {'photo_id': 1388239188, 'portfolio_id': 27604223}, {'photo_id': 1388239186, 'portfolio_id': 27604223}, {'photo_id': 1388239182, 'portfolio_id': 27604223}, {'photo_id': 1388239177, 'portfolio_id': 27604223}, {'photo_id': 1388239176, 'portfolio_id': 27604223}, {'photo_id': 1388239169, 'portfolio_id': 27604223}, {'photo_id': 1388239166, 'portfolio_id': 27604223}, {'photo_id': 1388239162, 'portfolio_id': 27604223}, {'photo_id': 1388239159, 'portfolio_id': 27604223}, {'photo_id': 1388239155, 'portfolio_id': 27604223}, {'photo_id': 1388239120, 'portfolio_id': 27604223}, {'photo_id': 1388239117, 'portfolio_id': 27604223}, {'photo_id': 1388239115, 'portfolio_id': 27604223}, {'photo_id': 1388239113, 'portfolio_id': 27604223}, {'photo_id': 1388239112, 'portfolio_id': 27604223}, {'photo_id': 1388239110, 'portfolio_id': 27604223}, {'photo_id': 1388239055, 'portfolio_id': 27604223}, {'photo_id': 1388239032, 'portfolio_id': 27604223}, {'photo_id': 1388239026, 'portfolio_id': 27604223}, {'photo_id': 1388239011, 'portfolio_id': 27604223}, {'photo_id': 1388239003, 'portfolio_id': 27604223}, {'photo_id': 1388238974, 'portfolio_id': 27604223}, {'photo_id': 1388238972, 'portfolio_id': 27604223}, {'photo_id': 1388238970, 'portfolio_id': 27604223}, {'photo_id': 1388238967, 'portfolio_id': 27604223}, {'photo_id': 1388238963, 'portfolio_id': 27604223}, {'photo_id': 1388238959, 'portfolio_id': 27604223}, {'photo_id': 1388238933, 'portfolio_id': 27604223}, {'photo_id': 1388238930, 'portfolio_id': 27604223}, {'photo_id': 1388238928, 'portfolio_id': 27604223}, {'photo_id': 1388238925, 'portfolio_id': 27604223}, {'photo_id': 1388238924, 'portfolio_id': 27604223}, {'photo_id': 1388238922, 'portfolio_id': 27604223}, {'photo_id': 1388238902, 'portfolio_id': 27604223}, {'photo_id': 1388238901, 'portfolio_id': 27604223}, {'photo_id': 1388238900, 'portfolio_id': 27604223}, {'photo_id': 1388238897, 'portfolio_id': 27604223}, {'photo_id': 1388238895, 'portfolio_id': 27604223}, {'photo_id': 1388238894, 'portfolio_id': 27604223}, {'photo_id': 1388238892, 'portfolio_id': 27604223}, {'photo_id': 1388238891, 'portfolio_id': 27604223}, {'photo_id': 1388238808, 'portfolio_id': 27604223}, {'photo_id': 1388238805, 'portfolio_id': 27604223}, {'photo_id': 1388238801, 'portfolio_id': 27604223}, {'photo_id': 1388238793, 'portfolio_id': 27604223}, {'photo_id': 1388238789, 'portfolio_id': 27604223}, {'photo_id': 1388238782, 'portfolio_id': 27604223}, {'photo_id': 1388238750, 'portfolio_id': 27604223}, {'photo_id': 1388238744, 'portfolio_id': 27604223}, {'photo_id': 1388238741, 'portfolio_id': 27604223}, {'photo_id': 1388238738, 'portfolio_id': 27604223}, {'photo_id': 1388238736, 'portfolio_id': 27604223}, {'photo_id': 1388238707, 'portfolio_id': 27604223}, {'photo_id': 1388238696, 'portfolio_id': 27604223}, {'photo_id': 1388238688, 'portfolio_id': 27604223}, {'photo_id': 1388238686, 'portfolio_id': 27604223}, {'photo_id': 1388238684, 'portfolio_id': 27604223}] map_portfolio_id_photo_id: {27604223: [1388239245, 1388239241, 1388239238, 1388239233, 1388239229, 1388239228, 1388239188, 1388239186, 1388239182, 1388239177, 1388239176, 1388239169, 1388239166, 1388239162, 1388239159, 1388239155, 1388239120, 1388239117, 1388239115, 1388239113, 1388239112, 1388239110, 1388239055, 1388239032, 1388239026, 1388239011, 1388239003, 1388238974, 1388238972, 1388238970, 1388238967, 1388238963, 1388238959, 1388238933, 1388238930, 1388238928, 1388238925, 1388238924, 1388238922, 1388238902, 1388238901, 1388238900, 1388238897, 1388238895, 1388238894, 1388238892, 1388238891, 1388238808, 1388238805, 1388238801, 1388238793, 1388238789, 1388238782, 1388238750, 1388238744, 1388238741, 1388238738, 1388238736, 1388238707, 1388238696, 1388238688, 1388238686, 1388238684]} ##### 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.05256509780883789 #### 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 Oct 8 16:56:58 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 (27604223) 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 : 27604223 get user id for portfolio 27604223 get sub ptf for main ptf 27604223, type 3726 and hashtags ['Teint_Dans_La_Masse', 'Carton_brun', 'Carton_gris', 'environnement', 'flou', 'metal', 'autre_refus', 'mal_croppe', 'cartonnette', 'papier', 'plastique', 'kraft'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27604223 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','Carton_gris','environnement','flou','metal','autre_refus','mal_croppe','cartonnette','papier','plastique','kraft')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27604223 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','Carton_gris','environnement','flou','metal','autre_refus','mal_croppe','cartonnette','papier','plastique','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 27604223, 'sub_port_id': 27604252, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629363, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 48, 58)}, 'Carton_gris': {'main_port_id': 27604223, 'sub_port_id': 27604253, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629364, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 48, 58)}, 'Carton_brun': {'main_port_id': 27604223, 'sub_port_id': 27604254, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629365, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 48, 58)}, 'cartonnette': {'main_port_id': 27604223, 'sub_port_id': 27604255, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629366, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 48, 58)}, 'environnement': {'main_port_id': 27604223, 'sub_port_id': 27604256, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629367, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 48, 58)}, 'autre_refus': {'main_port_id': 27604223, 'sub_port_id': 27604257, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629368, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 48, 58)}, 'kraft': {'main_port_id': 27604223, 'sub_port_id': 27604258, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629369, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 48, 58)}, 'mal_croppe': {'main_port_id': 27604223, 'sub_port_id': 27604259, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629370, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 48, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 27604223, 'sub_port_id': 27604260, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629371, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 48, 58)}, 'papier': {'main_port_id': 27604223, 'sub_port_id': 27604261, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629372, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 48, 58)}, 'metal': {'main_port_id': 27604223, 'sub_port_id': 27604262, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629373, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 48, 58)}, 'plastique': {'main_port_id': 27604223, 'sub_port_id': 27604263, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629374, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 55), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 48, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27604252 , 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=27604223 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 (27604252) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27604223) result : ((1388238684,), (1388238686,), (1388238688,), (1388238696,), (1388238707,), (1388238736,), (1388238738,), (1388238741,), (1388238744,), (1388238750,), (1388238782,), (1388238789,), (1388238793,), (1388238801,), (1388238805,), (1388238808,), (1388238891,), (1388238892,), (1388238894,), (1388238895,), (1388238897,), (1388238900,), (1388238901,), (1388238902,), (1388238922,), (1388238924,), (1388238925,), (1388238928,), (1388238930,), (1388238933,), (1388238959,), (1388238963,), (1388238967,), (1388238970,), (1388238972,), (1388238974,), (1388239003,), (1388239011,), (1388239026,), (1388239032,), (1388239055,), (1388239110,), (1388239112,), (1388239113,), (1388239115,), (1388239117,), (1388239120,), (1388239155,), (1388239159,), (1388239162,), (1388239166,), (1388239169,), (1388239176,), (1388239177,), (1388239182,), (1388239186,), (1388239188,), (1388239228,), (1388239229,), (1388239233,), (1388239238,), (1388239241,), (1388239245,)) 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 (1388238900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27604253 , 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=27604223 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 (27604253) result : ((1388238999,), (1388239008,), (1388239009,), (1388239010,), (1388239142,), (1388239143,), (1388239144,), (1388239231,), (1388239232,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27604223) result : ((1388238684,), (1388238686,), (1388238688,), (1388238696,), (1388238707,), (1388238736,), (1388238738,), (1388238741,), (1388238744,), (1388238750,), (1388238782,), (1388238789,), (1388238793,), (1388238801,), (1388238805,), (1388238808,), (1388238891,), (1388238892,), (1388238894,), (1388238895,), (1388238897,), (1388238900,), (1388238901,), (1388238902,), (1388238922,), (1388238924,), (1388238925,), (1388238928,), (1388238930,), (1388238933,), (1388238959,), (1388238963,), (1388238967,), (1388238970,), (1388238972,), (1388238974,), (1388239003,), (1388239011,), (1388239026,), (1388239032,), (1388239055,), (1388239110,), (1388239112,), (1388239113,), (1388239115,), (1388239117,), (1388239120,), (1388239155,), (1388239159,), (1388239162,), (1388239166,), (1388239169,), (1388239176,), (1388239177,), (1388239182,), (1388239186,), (1388239188,), (1388239228,), (1388239229,), (1388239233,), (1388239238,), (1388239241,), (1388239245,)) 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 (1388238900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27604254 , 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=27604223 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 (27604254) result : ((1388239001,), (1388239002,), (1388239013,), (1388239014,), (1388239015,), (1388239016,), (1388239151,), (1388239152,), (1388239153,), (1388239154,), (1388239163,), (1388239164,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27604223) result : ((1388238684,), (1388238686,), (1388238688,), (1388238696,), (1388238707,), (1388238736,), (1388238738,), (1388238741,), (1388238744,), (1388238750,), (1388238782,), (1388238789,), (1388238793,), (1388238801,), (1388238805,), (1388238808,), (1388238891,), (1388238892,), (1388238894,), (1388238895,), (1388238897,), (1388238900,), (1388238901,), (1388238902,), (1388238922,), (1388238924,), (1388238925,), (1388238928,), (1388238930,), (1388238933,), (1388238959,), (1388238963,), (1388238967,), (1388238970,), (1388238972,), (1388238974,), (1388239003,), (1388239011,), (1388239026,), (1388239032,), (1388239055,), (1388239110,), (1388239112,), (1388239113,), (1388239115,), (1388239117,), (1388239120,), (1388239155,), (1388239159,), (1388239162,), (1388239166,), (1388239169,), (1388239176,), (1388239177,), (1388239182,), (1388239186,), (1388239188,), (1388239228,), (1388239229,), (1388239233,), (1388239238,), (1388239241,), (1388239245,)) 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 (1388238900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27604255 , 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=27604223 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 (27604255) result : ((1388239146,), (1388239147,), (1388239148,), (1388239149,), (1388239150,), (1388239226,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27604223) result : ((1388238684,), (1388238686,), (1388238688,), (1388238696,), (1388238707,), (1388238736,), (1388238738,), (1388238741,), (1388238744,), (1388238750,), (1388238782,), (1388238789,), (1388238793,), (1388238801,), (1388238805,), (1388238808,), (1388238891,), (1388238892,), (1388238894,), (1388238895,), (1388238897,), (1388238900,), (1388238901,), (1388238902,), (1388238922,), (1388238924,), (1388238925,), (1388238928,), (1388238930,), (1388238933,), (1388238959,), (1388238963,), (1388238967,), (1388238970,), (1388238972,), (1388238974,), (1388239003,), (1388239011,), (1388239026,), (1388239032,), (1388239055,), (1388239110,), (1388239112,), (1388239113,), (1388239115,), (1388239117,), (1388239120,), (1388239155,), (1388239159,), (1388239162,), (1388239166,), (1388239169,), (1388239176,), (1388239177,), (1388239182,), (1388239186,), (1388239188,), (1388239228,), (1388239229,), (1388239233,), (1388239238,), (1388239241,), (1388239245,)) 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 (1388238900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27604256 , 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=27604223 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 (27604256) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27604223) result : ((1388238684,), (1388238686,), (1388238688,), (1388238696,), (1388238707,), (1388238736,), (1388238738,), (1388238741,), (1388238744,), (1388238750,), (1388238782,), (1388238789,), (1388238793,), (1388238801,), (1388238805,), (1388238808,), (1388238891,), (1388238892,), (1388238894,), (1388238895,), (1388238897,), (1388238900,), (1388238901,), (1388238902,), (1388238922,), (1388238924,), (1388238925,), (1388238928,), (1388238930,), (1388238933,), (1388238959,), (1388238963,), (1388238967,), (1388238970,), (1388238972,), (1388238974,), (1388239003,), (1388239011,), (1388239026,), (1388239032,), (1388239055,), (1388239110,), (1388239112,), (1388239113,), (1388239115,), (1388239117,), (1388239120,), (1388239155,), (1388239159,), (1388239162,), (1388239166,), (1388239169,), (1388239176,), (1388239177,), (1388239182,), (1388239186,), (1388239188,), (1388239228,), (1388239229,), (1388239233,), (1388239238,), (1388239241,), (1388239245,)) 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 (1388238900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27604257 , 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=27604223 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 (27604257) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27604223) result : ((1388238684,), (1388238686,), (1388238688,), (1388238696,), (1388238707,), (1388238736,), (1388238738,), (1388238741,), (1388238744,), (1388238750,), (1388238782,), (1388238789,), (1388238793,), (1388238801,), (1388238805,), (1388238808,), (1388238891,), (1388238892,), (1388238894,), (1388238895,), (1388238897,), (1388238900,), (1388238901,), (1388238902,), (1388238922,), (1388238924,), (1388238925,), (1388238928,), (1388238930,), (1388238933,), (1388238959,), (1388238963,), (1388238967,), (1388238970,), (1388238972,), (1388238974,), (1388239003,), (1388239011,), (1388239026,), (1388239032,), (1388239055,), (1388239110,), (1388239112,), (1388239113,), (1388239115,), (1388239117,), (1388239120,), (1388239155,), (1388239159,), (1388239162,), (1388239166,), (1388239169,), (1388239176,), (1388239177,), (1388239182,), (1388239186,), (1388239188,), (1388239228,), (1388239229,), (1388239233,), (1388239238,), (1388239241,), (1388239245,)) 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 (1388238900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27604258 , 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=27604223 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 (27604258) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27604223) result : ((1388238684,), (1388238686,), (1388238688,), (1388238696,), (1388238707,), (1388238736,), (1388238738,), (1388238741,), (1388238744,), (1388238750,), (1388238782,), (1388238789,), (1388238793,), (1388238801,), (1388238805,), (1388238808,), (1388238891,), (1388238892,), (1388238894,), (1388238895,), (1388238897,), (1388238900,), (1388238901,), (1388238902,), (1388238922,), (1388238924,), (1388238925,), (1388238928,), (1388238930,), (1388238933,), (1388238959,), (1388238963,), (1388238967,), (1388238970,), (1388238972,), (1388238974,), (1388239003,), (1388239011,), (1388239026,), (1388239032,), (1388239055,), (1388239110,), (1388239112,), (1388239113,), (1388239115,), (1388239117,), (1388239120,), (1388239155,), (1388239159,), (1388239162,), (1388239166,), (1388239169,), (1388239176,), (1388239177,), (1388239182,), (1388239186,), (1388239188,), (1388239228,), (1388239229,), (1388239233,), (1388239238,), (1388239241,), (1388239245,)) 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 (1388238900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27604259 , 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=27604223 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 (27604259) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27604223) result : ((1388238684,), (1388238686,), (1388238688,), (1388238696,), (1388238707,), (1388238736,), (1388238738,), (1388238741,), (1388238744,), (1388238750,), (1388238782,), (1388238789,), (1388238793,), (1388238801,), (1388238805,), (1388238808,), (1388238891,), (1388238892,), (1388238894,), (1388238895,), (1388238897,), (1388238900,), (1388238901,), (1388238902,), (1388238922,), (1388238924,), (1388238925,), (1388238928,), (1388238930,), (1388238933,), (1388238959,), (1388238963,), (1388238967,), (1388238970,), (1388238972,), (1388238974,), (1388239003,), (1388239011,), (1388239026,), (1388239032,), (1388239055,), (1388239110,), (1388239112,), (1388239113,), (1388239115,), (1388239117,), (1388239120,), (1388239155,), (1388239159,), (1388239162,), (1388239166,), (1388239169,), (1388239176,), (1388239177,), (1388239182,), (1388239186,), (1388239188,), (1388239228,), (1388239229,), (1388239233,), (1388239238,), (1388239241,), (1388239245,)) 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 (1388238900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27604260 , 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=27604223 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 (27604260) result : ((1388238998,), (1388239005,), (1388239006,), (1388239007,), (1388239141,), (1388239223,), (1388239224,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27604223) result : ((1388238684,), (1388238686,), (1388238688,), (1388238696,), (1388238707,), (1388238736,), (1388238738,), (1388238741,), (1388238744,), (1388238750,), (1388238782,), (1388238789,), (1388238793,), (1388238801,), (1388238805,), (1388238808,), (1388238891,), (1388238892,), (1388238894,), (1388238895,), (1388238897,), (1388238900,), (1388238901,), (1388238902,), (1388238922,), (1388238924,), (1388238925,), (1388238928,), (1388238930,), (1388238933,), (1388238959,), (1388238963,), (1388238967,), (1388238970,), (1388238972,), (1388238974,), (1388239003,), (1388239011,), (1388239026,), (1388239032,), (1388239055,), (1388239110,), (1388239112,), (1388239113,), (1388239115,), (1388239117,), (1388239120,), (1388239155,), (1388239159,), (1388239162,), (1388239166,), (1388239169,), (1388239176,), (1388239177,), (1388239182,), (1388239186,), (1388239188,), (1388239228,), (1388239229,), (1388239233,), (1388239238,), (1388239241,), (1388239245,)) 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 (1388238900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27604261 , 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=27604223 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 (27604261) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27604223) result : ((1388238684,), (1388238686,), (1388238688,), (1388238696,), (1388238707,), (1388238736,), (1388238738,), (1388238741,), (1388238744,), (1388238750,), (1388238782,), (1388238789,), (1388238793,), (1388238801,), (1388238805,), (1388238808,), (1388238891,), (1388238892,), (1388238894,), (1388238895,), (1388238897,), (1388238900,), (1388238901,), (1388238902,), (1388238922,), (1388238924,), (1388238925,), (1388238928,), (1388238930,), (1388238933,), (1388238959,), (1388238963,), (1388238967,), (1388238970,), (1388238972,), (1388238974,), (1388239003,), (1388239011,), (1388239026,), (1388239032,), (1388239055,), (1388239110,), (1388239112,), (1388239113,), (1388239115,), (1388239117,), (1388239120,), (1388239155,), (1388239159,), (1388239162,), (1388239166,), (1388239169,), (1388239176,), (1388239177,), (1388239182,), (1388239186,), (1388239188,), (1388239228,), (1388239229,), (1388239233,), (1388239238,), (1388239241,), (1388239245,)) 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 (1388238900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27604262 , 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=27604223 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 (27604262) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27604223) result : ((1388238684,), (1388238686,), (1388238688,), (1388238696,), (1388238707,), (1388238736,), (1388238738,), (1388238741,), (1388238744,), (1388238750,), (1388238782,), (1388238789,), (1388238793,), (1388238801,), (1388238805,), (1388238808,), (1388238891,), (1388238892,), (1388238894,), (1388238895,), (1388238897,), (1388238900,), (1388238901,), (1388238902,), (1388238922,), (1388238924,), (1388238925,), (1388238928,), (1388238930,), (1388238933,), (1388238959,), (1388238963,), (1388238967,), (1388238970,), (1388238972,), (1388238974,), (1388239003,), (1388239011,), (1388239026,), (1388239032,), (1388239055,), (1388239110,), (1388239112,), (1388239113,), (1388239115,), (1388239117,), (1388239120,), (1388239155,), (1388239159,), (1388239162,), (1388239166,), (1388239169,), (1388239176,), (1388239177,), (1388239182,), (1388239186,), (1388239188,), (1388239228,), (1388239229,), (1388239233,), (1388239238,), (1388239241,), (1388239245,)) 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 (1388238900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27604263 , 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=27604223 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 (27604263) result : ((1388239019,), (1388239020,), (1388239021,), (1388239022,), (1388239023,), (1388239024,), (1388239234,), (1388239235,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27604223) result : ((1388238684,), (1388238686,), (1388238688,), (1388238696,), (1388238707,), (1388238736,), (1388238738,), (1388238741,), (1388238744,), (1388238750,), (1388238782,), (1388238789,), (1388238793,), (1388238801,), (1388238805,), (1388238808,), (1388238891,), (1388238892,), (1388238894,), (1388238895,), (1388238897,), (1388238900,), (1388238901,), (1388238902,), (1388238922,), (1388238924,), (1388238925,), (1388238928,), (1388238930,), (1388238933,), (1388238959,), (1388238963,), (1388238967,), (1388238970,), (1388238972,), (1388238974,), (1388239003,), (1388239011,), (1388239026,), (1388239032,), (1388239055,), (1388239110,), (1388239112,), (1388239113,), (1388239115,), (1388239117,), (1388239120,), (1388239155,), (1388239159,), (1388239162,), (1388239166,), (1388239169,), (1388239176,), (1388239177,), (1388239182,), (1388239186,), (1388239188,), (1388239228,), (1388239229,), (1388239233,), (1388239238,), (1388239241,), (1388239245,)) 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 (1388238900) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27604223 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','Carton_gris','environnement','flou','metal','autre_refus','mal_croppe','cartonnette','papier','plastique','kraft')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27604223 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','Carton_brun','Carton_gris','environnement','flou','metal','autre_refus','mal_croppe','cartonnette','papier','plastique','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 27604223, 'sub_port_id': 27604266, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629375, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 49, 3)}, 'Carton_gris': {'main_port_id': 27604223, 'sub_port_id': 27604267, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629376, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 49, 3)}, 'Carton_brun': {'main_port_id': 27604223, 'sub_port_id': 27604268, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629377, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 49, 3)}, 'cartonnette': {'main_port_id': 27604223, 'sub_port_id': 27604269, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629378, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 49, 3)}, 'environnement': {'main_port_id': 27604223, 'sub_port_id': 27604270, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629379, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 49, 3)}, 'autre_refus': {'main_port_id': 27604223, 'sub_port_id': 27604271, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629380, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 49, 3)}, 'kraft': {'main_port_id': 27604223, 'sub_port_id': 27604272, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629381, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 49, 3)}, 'mal_croppe': {'main_port_id': 27604223, 'sub_port_id': 27604273, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629382, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 49, 3)}, 'Teint_Dans_La_Masse': {'main_port_id': 27604223, 'sub_port_id': 27604274, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629383, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 49, 3)}, 'papier': {'main_port_id': 27604223, 'sub_port_id': 27604275, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629384, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 49, 3)}, 'metal': {'main_port_id': 27604223, 'sub_port_id': 27604276, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629385, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 49, 3), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 49, 3)}, 'plastique': {'main_port_id': 27604223, 'sub_port_id': 27604277, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18629386, 'last_updated_at': datetime.datetime(2025, 10, 8, 16, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 10, 8, 16, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 10, 8, 16, 49, 3)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27604266,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27604252 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27604267,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27604253 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27604268,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27604254 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27604269,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27604255 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27604270,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27604256 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27604271,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27604257 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27604272,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27604258 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27604273,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27604259 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27604274,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27604260 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27604275,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27604261 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27604276,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27604262 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27604277,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27604263 lien utilise dans velours : https://marlene.fotonower.com/velours/27604266,27604267,27604268,27604269,27604270,27604271,27604272,27604273,27604274,27604275,27604276,27604277?tags=flou,Carton_gris,Carton_brun,cartonnette,environnement,autre_refus,kraft,mal_croppe,Teint_Dans_La_Masse,papier,metal,plastique After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27604223]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1388239245, 1388239241, 1388239238, 1388239233, 1388239229, 1388239228, 1388239188, 1388239186, 1388239182, 1388239177, 1388239176] map_info['map_portfolio_photo'] : {27604223: [1388239245, 1388239241, 1388239238, 1388239233, 1388239229, 1388239228, 1388239188, 1388239186, 1388239182, 1388239177, 1388239176, 1388239169, 1388239166, 1388239162, 1388239159, 1388239155, 1388239120, 1388239117, 1388239115, 1388239113, 1388239112, 1388239110, 1388239055, 1388239032, 1388239026, 1388239011, 1388239003, 1388238974, 1388238972, 1388238970, 1388238967, 1388238963, 1388238959, 1388238933, 1388238930, 1388238928, 1388238925, 1388238924, 1388238922, 1388238902, 1388238901, 1388238900, 1388238897, 1388238895, 1388238894, 1388238892, 1388238891, 1388238808, 1388238805, 1388238801, 1388238793, 1388238789, 1388238782, 1388238750, 1388238744, 1388238741, 1388238738, 1388238736, 1388238707, 1388238696, 1388238688, 1388238686, 1388238684]} final : False mtd_id 4302 list_pids : [1388239245, 1388239241, 1388239238, 1388239233, 1388239229, 1388239228, 1388239188, 1388239186, 1388239182, 1388239177, 1388239176] Looping around the photos to save general results len do output : 1 /27604223. 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, '3886515') ('4302', '27604223', '1388239245', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239241', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239238', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239233', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239229', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239228', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239188', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239186', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239182', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239177', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239176', None, None, None, None, None, '3886515') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 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, '27604223', "{'flou': 27604252, 'Carton_gris': 27604253, 'Carton_brun': 27604254, 'cartonnette': 27604255, 'environnement': 27604256, 'autre_refus': 27604257, 'kraft': 27604258, 'mal_croppe': 27604259, 'Teint_Dans_La_Masse': 27604260, 'papier': 27604261, 'metal': 27604262, 'plastique': 27604263}", None, None, None, None, '3886515'), ('4302', '27604223', '1388239245', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239241', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239238', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239233', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239229', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239228', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239188', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239186', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239182', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239177', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239176', None, None, None, None, None, '3886515')] time used for this insertion : 0.0372471809387207 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.671299934387207 time spend to save output : 0.03754758834838867 total time spend for step 1 : 1.7088475227355957 step2:final Wed Oct 8 16:56:59 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 (27604223) 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 27604223 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1388238707,1388238696,1388238688,1388238686,1388238684,1388238750,1388238744,1388238741,1388238738,1388238736,1388238808,1388238805,1388238801,1388238793,1388238789,1388238782,1388238902,1388238901,1388238897,1388238900,1388238895,1388238894,1388238892,1388238891,1388239055,1388238933,1388238930,1388239032,1388238928,1388239026,1388238925,1388239011,1388238924,1388239003,1388238922,1388238974,1388238972,1388238970,1388238967,1388238963,1388238959,1388239120,1388239117,1388239115,1388239113,1388239112,1388239110,1388239169,1388239166,1388239162,1388239159,1388239155,1388239188,1388239186,1388239182,1388239177,1388239176,1388239245,1388239241,1388239238,1388239233,1388239229,1388239228); 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([27604223]) Inside saveOutput : final : False verbose : True original output for save of step final : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ('0.0454524553050403',), 1388239188: ('0.0454524553050403',), 1388239186: ('0.0454524553050403',), 1388239182: ('0.0454524553050403',), 1388239177: ('0.0454524553050403',), 1388239176: ('0.0454524553050403',)} new output for save of step final : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ('0.0454524553050403',), 1388239188: ('0.0454524553050403',), 1388239186: ('0.0454524553050403',), 1388239182: ('0.0454524553050403',), 1388239177: ('0.0454524553050403',), 1388239176: ('0.0454524553050403',)} [1388239245, 1388239241, 1388239238, 1388239233, 1388239229, 1388239228, 1388239188, 1388239186, 1388239182, 1388239177, 1388239176] map_info['map_portfolio_photo'] : {27604223: [1388239245, 1388239241, 1388239238, 1388239233, 1388239229, 1388239228, 1388239188, 1388239186, 1388239182, 1388239177, 1388239176, 1388239169, 1388239166, 1388239162, 1388239159, 1388239155, 1388239120, 1388239117, 1388239115, 1388239113, 1388239112, 1388239110, 1388239055, 1388239032, 1388239026, 1388239011, 1388239003, 1388238974, 1388238972, 1388238970, 1388238967, 1388238963, 1388238959, 1388238933, 1388238930, 1388238928, 1388238925, 1388238924, 1388238922, 1388238902, 1388238901, 1388238900, 1388238897, 1388238895, 1388238894, 1388238892, 1388238891, 1388238808, 1388238805, 1388238801, 1388238793, 1388238789, 1388238782, 1388238750, 1388238744, 1388238741, 1388238738, 1388238736, 1388238707, 1388238696, 1388238688, 1388238686, 1388238684]} final : False mtd_id 4302 list_pids : [1388239245, 1388239241, 1388239238, 1388239233, 1388239229, 1388239228, 1388239188, 1388239186, 1388239182, 1388239177, 1388239176] Looping around the photos to save general results len do output : 11 /1388239245.Didn't retrieve data . /1388239241.Didn't retrieve data . /1388239238.Didn't retrieve data . /1388239233.Didn't retrieve data . /1388239229.Didn't retrieve data . /1388239228.Didn't retrieve data . /1388239188.Didn't retrieve data . /1388239186.Didn't retrieve data . /1388239182.Didn't retrieve data . /1388239177.Didn't retrieve data . /1388239176.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, '3886515') ('4302', '27604223', '1388239245', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239241', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239238', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239233', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239229', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239228', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239188', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239186', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239182', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239177', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239176', None, None, None, None, None, '3886515') 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', '27604223', '1388239245', '0.0454524553050403', None, None, None, None, '3886515'), ('4302', '27604223', '1388239241', '0.0454524553050403', None, None, None, None, '3886515'), ('4302', '27604223', '1388239238', '0.0454524553050403', None, None, None, None, '3886515'), ('4302', '27604223', '1388239233', '0.0454524553050403', None, None, None, None, '3886515'), ('4302', '27604223', '1388239229', '0.0454524553050403', None, None, None, None, '3886515'), ('4302', '27604223', '1388239228', '0.0454524553050403', None, None, None, None, '3886515'), ('4302', '27604223', '1388239188', '0.0454524553050403', None, None, None, None, '3886515'), ('4302', '27604223', '1388239186', '0.0454524553050403', None, None, None, None, '3886515'), ('4302', '27604223', '1388239182', '0.0454524553050403', None, None, None, None, '3886515'), ('4302', '27604223', '1388239177', '0.0454524553050403', None, None, None, None, '3886515'), ('4302', '27604223', '1388239176', '0.0454524553050403', None, None, None, None, '3886515')] time used for this insertion : 0.0374445915222168 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.2791619300842285 time spend to save output : 0.038083553314208984 total time spend for step 2 : 0.3172454833984375 step3:velours_tree Wed Oct 8 16:57:00 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 : {27604223: [{'flou': 27604252, 'Carton_gris': 27604253, 'Carton_brun': 27604254, 'cartonnette': 27604255, 'environnement': 27604256, 'autre_refus': 27604257, 'kraft': 27604258, 'mal_croppe': 27604259, 'Teint_Dans_La_Masse': 27604260, 'papier': 27604261, 'metal': 27604262, 'plastique': 27604263}]} input_args_next_step : {27604223: ()} output_args : {27604223: [{'flou': 27604252, 'Carton_gris': 27604253, 'Carton_brun': 27604254, 'cartonnette': 27604255, 'environnement': 27604256, 'autre_refus': 27604257, 'kraft': 27604258, 'mal_croppe': 27604259, 'Teint_Dans_La_Masse': 27604260, 'papier': 27604261, 'metal': 27604262, 'plastique': 27604263}]} args : 27604223 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'flou': 27604252, 'Carton_gris': 27604253, 'Carton_brun': 27604254, 'cartonnette': 27604255, 'environnement': 27604256, 'autre_refus': 27604257, 'kraft': 27604258, 'mal_croppe': 27604259, 'Teint_Dans_La_Masse': 27604260, 'papier': 27604261, 'metal': 27604262, 'plastique': 27604263},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27604223) 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([27604223]) 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.2958190441131592 time spend to save output : 4.863739013671875e-05 total time spend for step 3 : 0.2958676815032959 step4:send_mail_cod Wed Oct 8 16:57:00 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 : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ('0.0454524553050403',), 1388239188: ('0.0454524553050403',), 1388239186: ('0.0454524553050403',), 1388239182: ('0.0454524553050403',), 1388239177: ('0.0454524553050403',), 1388239176: ('0.0454524553050403',)} input_args_next_step : {1388239245: ()} output_args : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ('0.0454524553050403',), 1388239188: ('0.0454524553050403',), 1388239186: ('0.0454524553050403',), 1388239182: ('0.0454524553050403',), 1388239177: ('0.0454524553050403',), 1388239176: ('0.0454524553050403',)} args : 1388239245 depend.output_id : 0 input_args_next_step : {1388239245: ('0.0454524553050403',), 1388239241: ()} output_args : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ('0.0454524553050403',), 1388239188: ('0.0454524553050403',), 1388239186: ('0.0454524553050403',), 1388239182: ('0.0454524553050403',), 1388239177: ('0.0454524553050403',), 1388239176: ('0.0454524553050403',)} args : 1388239241 depend.output_id : 0 input_args_next_step : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ()} output_args : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ('0.0454524553050403',), 1388239188: ('0.0454524553050403',), 1388239186: ('0.0454524553050403',), 1388239182: ('0.0454524553050403',), 1388239177: ('0.0454524553050403',), 1388239176: ('0.0454524553050403',)} args : 1388239238 depend.output_id : 0 input_args_next_step : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ()} output_args : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ('0.0454524553050403',), 1388239188: ('0.0454524553050403',), 1388239186: ('0.0454524553050403',), 1388239182: ('0.0454524553050403',), 1388239177: ('0.0454524553050403',), 1388239176: ('0.0454524553050403',)} args : 1388239233 depend.output_id : 0 input_args_next_step : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ()} output_args : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ('0.0454524553050403',), 1388239188: ('0.0454524553050403',), 1388239186: ('0.0454524553050403',), 1388239182: ('0.0454524553050403',), 1388239177: ('0.0454524553050403',), 1388239176: ('0.0454524553050403',)} args : 1388239229 depend.output_id : 0 input_args_next_step : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ()} output_args : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ('0.0454524553050403',), 1388239188: ('0.0454524553050403',), 1388239186: ('0.0454524553050403',), 1388239182: ('0.0454524553050403',), 1388239177: ('0.0454524553050403',), 1388239176: ('0.0454524553050403',)} args : 1388239228 depend.output_id : 0 input_args_next_step : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ('0.0454524553050403',), 1388239188: ()} output_args : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ('0.0454524553050403',), 1388239188: ('0.0454524553050403',), 1388239186: ('0.0454524553050403',), 1388239182: ('0.0454524553050403',), 1388239177: ('0.0454524553050403',), 1388239176: ('0.0454524553050403',)} args : 1388239188 depend.output_id : 0 input_args_next_step : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ('0.0454524553050403',), 1388239188: ('0.0454524553050403',), 1388239186: ()} output_args : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ('0.0454524553050403',), 1388239188: ('0.0454524553050403',), 1388239186: ('0.0454524553050403',), 1388239182: ('0.0454524553050403',), 1388239177: ('0.0454524553050403',), 1388239176: ('0.0454524553050403',)} args : 1388239186 depend.output_id : 0 input_args_next_step : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ('0.0454524553050403',), 1388239188: ('0.0454524553050403',), 1388239186: ('0.0454524553050403',), 1388239182: ()} output_args : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ('0.0454524553050403',), 1388239188: ('0.0454524553050403',), 1388239186: ('0.0454524553050403',), 1388239182: ('0.0454524553050403',), 1388239177: ('0.0454524553050403',), 1388239176: ('0.0454524553050403',)} args : 1388239182 depend.output_id : 0 input_args_next_step : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ('0.0454524553050403',), 1388239188: ('0.0454524553050403',), 1388239186: ('0.0454524553050403',), 1388239182: ('0.0454524553050403',), 1388239177: ()} output_args : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ('0.0454524553050403',), 1388239188: ('0.0454524553050403',), 1388239186: ('0.0454524553050403',), 1388239182: ('0.0454524553050403',), 1388239177: ('0.0454524553050403',), 1388239176: ('0.0454524553050403',)} args : 1388239177 depend.output_id : 0 input_args_next_step : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ('0.0454524553050403',), 1388239188: ('0.0454524553050403',), 1388239186: ('0.0454524553050403',), 1388239182: ('0.0454524553050403',), 1388239177: ('0.0454524553050403',), 1388239176: ()} output_args : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ('0.0454524553050403',), 1388239188: ('0.0454524553050403',), 1388239186: ('0.0454524553050403',), 1388239182: ('0.0454524553050403',), 1388239177: ('0.0454524553050403',), 1388239176: ('0.0454524553050403',)} args : 1388239176 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 : {27604223: [{'flou': 27604252, 'Carton_gris': 27604253, 'Carton_brun': 27604254, 'cartonnette': 27604255, 'environnement': 27604256, 'autre_refus': 27604257, 'kraft': 27604258, 'mal_croppe': 27604259, 'Teint_Dans_La_Masse': 27604260, 'papier': 27604261, 'metal': 27604262, 'plastique': 27604263}]} input_args_next_step : {1388239245: ('0.0454524553050403',), 1388239241: ('0.0454524553050403',), 1388239238: ('0.0454524553050403',), 1388239233: ('0.0454524553050403',), 1388239229: ('0.0454524553050403',), 1388239228: ('0.0454524553050403',), 1388239188: ('0.0454524553050403',), 1388239186: ('0.0454524553050403',), 1388239182: ('0.0454524553050403',), 1388239177: ('0.0454524553050403',), 1388239176: ('0.0454524553050403',), 27604223: ()} output_args : {27604223: [{'flou': 27604252, 'Carton_gris': 27604253, 'Carton_brun': 27604254, 'cartonnette': 27604255, 'environnement': 27604256, 'autre_refus': 27604257, 'kraft': 27604258, 'mal_croppe': 27604259, 'Teint_Dans_La_Masse': 27604260, 'papier': 27604261, 'metal': 27604262, 'plastique': 27604263}]} args : 27604223 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 :12, first value : ('0.0454524553050403',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27604223) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos_view ph WHERE photo_id IN (1388239245,1388239241,1388239238,1388239233,1388239229,1388239228,1388239188,1388239186,1388239182,1388239177,1388239176) Found this number of photos: 11 ##### Call download_photos : nb_thread : 5 begin to download photo : 1388239176 begin to download photo : 1388239186 begin to download photo : 1388239229 begin to download photo : 1388239241 download finish for photo 1388239176 begin to download photo : 1388239177 download finish for photo 1388239241 begin to download photo : 1388239245 download finish for photo 1388239186 begin to download photo : 1388239188 download finish for photo 1388239229 begin to download photo : 1388239233 download finish for photo 1388239177 begin to download photo : 1388239182 download finish for photo 1388239245 download finish for photo 1388239233 begin to download photo : 1388239238 download finish for photo 1388239188 begin to download photo : 1388239228 download finish for photo 1388239182 download finish for photo 1388239238 download finish for photo 1388239228 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette276042521759935421/ length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 results_Auto_P27604223_08-10-2025_16_57_01.pdf 27604252 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27604252 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276042521759935421 27604255 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27604255 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388239146: '1759935186_3620188_1388238902_bbd4fdc9805efc2f727ebc92768410d8_rle_crop_3989347829_0.png', 1388239147: '1759935186_3620188_1388238902_bbd4fdc9805efc2f727ebc92768410d8_rle_crop_3989347828_0.png', 1388239148: '1759935186_3620188_1388238901_29c9390642680ebee2e57e8fce58d89b_rle_crop_3989347838_0.png', 1388239149: '1759935186_3620188_1388238901_29c9390642680ebee2e57e8fce58d89b_rle_crop_3989347837_0.png', 1388239150: '1759935186_3620188_1388238793_802f380197197b6284f173d4ec3eb2fd_rle_crop_3989347864_0.png', 1388239226: '1759935306_3625612_1388238970_a3e78ed655db64ffff4860ae56d57a14_rle_crop_3989348062_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/24bb3f0cf3a1a13f91ed3b7de96d9ca0_97031585.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/32693ca80896ba8f0571330c489abf2e_50562570.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/24bb3f0cf3a1a13f91ed3b7de96d9ca0_3732628.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/32693ca80896ba8f0571330c489abf2e_7369419.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/34166867a61d8e11b3c22b81b63ee132_67993375.png change filename to text .imagette276042551759935421/ imagette276042551759935421/1759935306_3625612_1388238970_a3e78ed655db64ffff4860ae56d57a14_rle_crop_3989348062_0.png.png imagette276042551759935421/1759935186_3620188_1388238902_bbd4fdc9805efc2f727ebc92768410d8_rle_crop_3989347829_0.png.png imagette276042551759935421/1759935186_3620188_1388238793_802f380197197b6284f173d4ec3eb2fd_rle_crop_3989347864_0.png.png imagette276042551759935421/1759935186_3620188_1388238901_29c9390642680ebee2e57e8fce58d89b_rle_crop_3989347838_0.png.png imagette276042551759935421/1759935186_3620188_1388238901_29c9390642680ebee2e57e8fce58d89b_rle_crop_3989347837_0.png.png imagette276042551759935421/1759935186_3620188_1388238902_bbd4fdc9805efc2f727ebc92768410d8_rle_crop_3989347828_0.png.png imagette276042571759935421/ imagette276042581759935421/ imagette276042591759935421/ imagette276042621759935421/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/8f7bfd3337379f0cb2b506b0d72272c3_98207062.png imagette276042551759935421 27604257 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27604257 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276042571759935421 27604258 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27604258 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276042581759935421 27604259 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27604259 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276042591759935421 27604262 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27604262 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette276042621759935421 27604263 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27604263 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388239019: '1759935066_3611738_1388238750_29206cf04ab65183fa6f621841aefbbb_rle_crop_3989347246_0.png', 1388239020: '1759935066_3611738_1388238696_3ca34fa5783421b90ea8365d393eefb3_rle_crop_3989347274_0.png', 1388239021: '1759935066_3611738_1388238696_3ca34fa5783421b90ea8365d393eefb3_rle_crop_3989347277_0.png', 1388239022: '1759935066_3611738_1388238686_35307d008767727d75ba03336097e455_rle_crop_3989347320_0.png', 1388239023: '1759935066_3611738_1388238684_241d4b2dab11d39ad1805a335998aa1b_rle_crop_3989347354_0.png', 1388239024: '1759935066_3611738_1388238684_241d4b2dab11d39ad1805a335998aa1b_rle_crop_3989347365_0.png', 1388239234: '1759935326_3626046_1388239055_17b79a8360f1e24c69167160c43712df_rle_crop_3989348141_0.png', 1388239235: '1759935326_3626046_1388238933_3e6d520f5472af0b16549d9442653a41_rle_crop_3989348155_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/32f926cdd640df1ab98511f6bcb8093b_82432436.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/11e88a651d13221a934827e49f0a8c3e_22640258.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/db197aa56db49d938e54aff32df27ce4_16227173.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/f7f7acec9a616126dbb780f2bebb0670_41218543.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/cc0baf7345fcc85c64f2a54b8949c82b_10756685.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/bc8ac8e2af9102629eb1ad8d787c8b1b_41911204.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/48dd2163284faa1259ed3792f8f6eb3a_52371571.png change filename to text .imagette276042631759935421/ imagette276042631759935421/1759935066_3611738_1388238696_3ca34fa5783421b90ea8365d393eefb3_rle_crop_3989347274_0.png.png imagette276042631759935421/1759935066_3611738_1388238684_241d4b2dab11d39ad1805a335998aa1b_rle_crop_3989347354_0.png.png imagette276042631759935421/1759935326_3626046_1388238933_3e6d520f5472af0b16549d9442653a41_rle_crop_3989348155_0.png.png imagette276042631759935421/1759935326_3626046_1388239055_17b79a8360f1e24c69167160c43712df_rle_crop_3989348141_0.png.png imagette276042631759935421/1759935066_3611738_1388238686_35307d008767727d75ba03336097e455_rle_crop_3989347320_0.png.png imagette276042631759935421/1759935066_3611738_1388238750_29206cf04ab65183fa6f621841aefbbb_rle_crop_3989347246_0.png.png imagette276042631759935421/1759935066_3611738_1388238684_241d4b2dab11d39ad1805a335998aa1b_rle_crop_3989347365_0.png.png imagette276042631759935421/1759935066_3611738_1388238696_3ca34fa5783421b90ea8365d393eefb3_rle_crop_3989347277_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/48dd2163284faa1259ed3792f8f6eb3a_59795671.png imagette276042631759935421 27604253 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27604253 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388238999: '1759935086_3615268_1388238741_33a18589de2338c5d0cc793ddf4cc43e_rle_crop_3989347214_0.png', 1388239008: '1759935066_3611738_1388238750_29206cf04ab65183fa6f621841aefbbb_rle_crop_3989347243_0.png', 1388239009: '1759935066_3611738_1388238688_0dc6825d9784c3d9d60532d1fb332d44_rle_crop_3989347288_0.png', 1388239010: '1759935066_3611738_1388238688_0dc6825d9784c3d9d60532d1fb332d44_rle_crop_3989347282_0.png', 1388239142: '1759935186_3620188_1388238782_cd781a3d1e877e59fb3829256f30cf72_rle_crop_3989347886_0.png', 1388239143: '1759935186_3620188_1388238782_cd781a3d1e877e59fb3829256f30cf72_rle_crop_3989347885_0.png', 1388239144: '1759935186_3620188_1388238782_cd781a3d1e877e59fb3829256f30cf72_rle_crop_3989347888_0.png', 1388239231: '1759935326_3626046_1388239055_17b79a8360f1e24c69167160c43712df_rle_crop_3989348142_0.png', 1388239232: '1759935326_3626046_1388238933_3e6d520f5472af0b16549d9442653a41_rle_crop_3989348156_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/cca94042bb5bf94cd926120bafc62106_18892571.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/12576f45d9b8c938b86d1df1a1a9a80f_48461238.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/3dc4c646632dddfbd687a76ba0cfc085_8256751.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/05d3f58141f3d2dfb1af24a0d71a8382_62987850.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/e3e710d5ca9ee78c34aac7d1c1412717_31646371.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/80210c9203b49abc340d65e340150da8_96675070.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/48ba17339b95deb6b8c0e8f21a656af0_49291336.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/c4328bef043e4fa4694cd98ed63e069a_98745695.png change filename to text .imagette276042531759935422/ imagette276042531759935422/1759935086_3615268_1388238741_33a18589de2338c5d0cc793ddf4cc43e_rle_crop_3989347214_0.png.png imagette276042531759935422/1759935186_3620188_1388238782_cd781a3d1e877e59fb3829256f30cf72_rle_crop_3989347885_0.png.png imagette276042531759935422/1759935326_3626046_1388238933_3e6d520f5472af0b16549d9442653a41_rle_crop_3989348156_0.png.png imagette276042531759935422/1759935326_3626046_1388239055_17b79a8360f1e24c69167160c43712df_rle_crop_3989348142_0.png.png imagette276042531759935422/1759935066_3611738_1388238688_0dc6825d9784c3d9d60532d1fb332d44_rle_crop_3989347288_0.png.png imagette276042531759935422/1759935186_3620188_1388238782_cd781a3d1e877e59fb3829256f30cf72_rle_crop_3989347888_0.png.png imagette276042531759935422/1759935066_3611738_1388238750_29206cf04ab65183fa6f621841aefbbb_rle_crop_3989347243_0.png.png imagette276042531759935422/1759935066_3611738_1388238688_0dc6825d9784c3d9d60532d1fb332d44_rle_crop_3989347282_0.png.png imagette276042531759935422/1759935186_3620188_1388238782_cd781a3d1e877e59fb3829256f30cf72_rle_crop_3989347886_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/c4328bef043e4fa4694cd98ed63e069a_16710340.png imagette276042531759935422 27604254 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27604254 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388239001: '1759935086_3615268_1388238741_33a18589de2338c5d0cc793ddf4cc43e_rle_crop_3989347216_0.png', 1388239002: '1759935086_3615268_1388238741_33a18589de2338c5d0cc793ddf4cc43e_rle_crop_3989347218_0.png', 1388239013: '1759935066_3611738_1388238750_29206cf04ab65183fa6f621841aefbbb_rle_crop_3989347248_0.png', 1388239014: '1759935066_3611738_1388238688_0dc6825d9784c3d9d60532d1fb332d44_rle_crop_3989347286_0.png', 1388239015: '1759935066_3611738_1388238686_35307d008767727d75ba03336097e455_rle_crop_3989347316_0.png', 1388239016: '1759935066_3611738_1388238684_241d4b2dab11d39ad1805a335998aa1b_rle_crop_3989347357_0.png', 1388239151: '1759935186_3620188_1388238793_802f380197197b6284f173d4ec3eb2fd_rle_crop_3989347865_0.png', 1388239152: '1759935186_3620188_1388238782_cd781a3d1e877e59fb3829256f30cf72_rle_crop_3989347890_0.png', 1388239153: '1759935186_3620188_1388238782_cd781a3d1e877e59fb3829256f30cf72_rle_crop_3989347891_0.png', 1388239154: '1759935186_3620188_1388238782_cd781a3d1e877e59fb3829256f30cf72_rle_crop_3989347892_0.png', 1388239163: '1759935206_3620555_1388238900_ac0a346f246927a2b6f5f24bb0e3bde7_rle_crop_3989347958_0.png', 1388239164: '1759935206_3620555_1388238897_4ceebe0193ba16e0f4ce4520a8ade547_rle_crop_3989347965_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/9e4ce08ea05492f063c15ecbdfae14d3_25881263.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/94ab6b0cd4fe925283972856525c8103_78230100.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/d4127bd251cc38a7ac02d42290cd0b72_20422194.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/96e02d4d0831b5a6baec7e66ab966ec4_86381931.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/50161fd97d9182a56c914ddc9d2bb6bf_54977719.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/ecb08c6308c0bece5202d5eeaf3fc562_18035244.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/12e873b5e77ad81d2a3f073e5df899bd_55516659.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/3053e115464799e8f4766268d28ef4f7_17289210.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/d3b5dc7477a880495002d922e824a2ba_46056975.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/624c591fc65e1508f6eaa60ad150566b_61178016.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/781279d5b42a60cdac777a83eb3bf9b5_19447293.png change filename to text .imagette276042541759935422/ imagette276042541759935422/1759935206_3620555_1388238900_ac0a346f246927a2b6f5f24bb0e3bde7_rle_crop_3989347958_0.png.png imagette276042541759935422/1759935186_3620188_1388238793_802f380197197b6284f173d4ec3eb2fd_rle_crop_3989347865_0.png.png imagette276042541759935422/1759935206_3620555_1388238897_4ceebe0193ba16e0f4ce4520a8ade547_rle_crop_3989347965_0.png.png imagette276042541759935422/1759935186_3620188_1388238782_cd781a3d1e877e59fb3829256f30cf72_rle_crop_3989347892_0.png.png imagette276042541759935422/1759935086_3615268_1388238741_33a18589de2338c5d0cc793ddf4cc43e_rle_crop_3989347218_0.png.png imagette276042541759935422/1759935086_3615268_1388238741_33a18589de2338c5d0cc793ddf4cc43e_rle_crop_3989347216_0.png.png imagette276042541759935422/1759935186_3620188_1388238782_cd781a3d1e877e59fb3829256f30cf72_rle_crop_3989347891_0.png.png imagette276042541759935422/1759935066_3611738_1388238684_241d4b2dab11d39ad1805a335998aa1b_rle_crop_3989347357_0.png.png imagette276042541759935422/1759935066_3611738_1388238750_29206cf04ab65183fa6f621841aefbbb_rle_crop_3989347248_0.png.png imagette276042541759935422/1759935066_3611738_1388238686_35307d008767727d75ba03336097e455_rle_crop_3989347316_0.png.png imagette276042541759935422/1759935186_3620188_1388238782_cd781a3d1e877e59fb3829256f30cf72_rle_crop_3989347890_0.png.png imagette276042541759935422/1759935066_3611738_1388238688_0dc6825d9784c3d9d60532d1fb332d44_rle_crop_3989347286_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/781279d5b42a60cdac777a83eb3bf9b5_41249128.png imagette276042541759935422 27604260 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27604260 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1388238998: '1759935086_3615268_1388238744_e97e36a2cc05e05a3d7fee60eb7c2432_rle_crop_3989347200_0.png', 1388239005: '1759935066_3611738_1388238696_3ca34fa5783421b90ea8365d393eefb3_rle_crop_3989347270_0.png', 1388239006: '1759935066_3611738_1388238686_35307d008767727d75ba03336097e455_rle_crop_3989347317_0.png', 1388239007: '1759935066_3611738_1388238684_241d4b2dab11d39ad1805a335998aa1b_rle_crop_3989347361_0.png', 1388239141: '1759935186_3620188_1388238793_802f380197197b6284f173d4ec3eb2fd_rle_crop_3989347863_0.png', 1388239223: '1759935306_3625612_1388238970_a3e78ed655db64ffff4860ae56d57a14_rle_crop_3989348069_0.png', 1388239224: '1759935306_3625612_1388238970_a3e78ed655db64ffff4860ae56d57a14_rle_crop_3989348066_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/b9e197c24496be05fc85499c3808df6d_32375942.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/0b00631177226a65297aa40bf491c4a3_6154068.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/66ac51aff8796ab31fd5ce8d6bd2eabc_66686939.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/44f43c7902e850b03bed818ffadd9dce_27679817.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/c6d6ecfef1e9c6946ded4246b92697d2_40197822.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/c09c3297714275b16c3cd08c5141ff7e_44794346.png change filename to text .imagette276042601759935423/ imagette276042601759935423/1759935086_3615268_1388238744_e97e36a2cc05e05a3d7fee60eb7c2432_rle_crop_3989347200_0.png.png imagette276042601759935423/1759935306_3625612_1388238970_a3e78ed655db64ffff4860ae56d57a14_rle_crop_3989348069_0.png.png imagette276042601759935423/1759935186_3620188_1388238793_802f380197197b6284f173d4ec3eb2fd_rle_crop_3989347863_0.png.png imagette276042601759935423/1759935306_3625612_1388238970_a3e78ed655db64ffff4860ae56d57a14_rle_crop_3989348066_0.png.png imagette276042601759935423/1759935066_3611738_1388238684_241d4b2dab11d39ad1805a335998aa1b_rle_crop_3989347361_0.png.png imagette276042601759935423/1759935066_3611738_1388238686_35307d008767727d75ba03336097e455_rle_crop_3989347317_0.png.png imagette276042601759935423/1759935066_3611738_1388238696_3ca34fa5783421b90ea8365d393eefb3_rle_crop_3989347270_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/802b9a5e1053cf7c57f1bf42f9e6336b_53405491.png imagette276042601759935423 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27604223 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27604266,27604267,27604268,27604269,27604270,27604271,27604272,27604273,27604274,27604275,27604276,27604277?tags=flou,Carton_gris,Carton_brun,cartonnette,environnement,autre_refus,kraft,mal_croppe,Teint_Dans_La_Masse,papier,metal,plastique your option no_mail is active, we will not send the real mail to your client args[1388239245] : ('0.0454524553050403',) no score found for photo 1388239245 We are sending mail with results at report@fotonower.com args[1388239241] : ('0.0454524553050403',) no score found for photo 1388239241 We are sending mail with results at report@fotonower.com args[1388239238] : ('0.0454524553050403',) no score found for photo 1388239238 We are sending mail with results at report@fotonower.com args[1388239233] : ('0.0454524553050403',) no score found for photo 1388239233 We are sending mail with results at report@fotonower.com args[1388239229] : ('0.0454524553050403',) no score found for photo 1388239229 We are sending mail with results at report@fotonower.com args[1388239228] : ('0.0454524553050403',) no score found for photo 1388239228 We are sending mail with results at report@fotonower.com args[1388239188] : ('0.0454524553050403',) no score found for photo 1388239188 We are sending mail with results at report@fotonower.com args[1388239186] : ('0.0454524553050403',) no score found for photo 1388239186 We are sending mail with results at report@fotonower.com args[1388239182] : ('0.0454524553050403',) no score found for photo 1388239182 We are sending mail with results at report@fotonower.com args[1388239177] : ('0.0454524553050403',) no score found for photo 1388239177 We are sending mail with results at report@fotonower.com args[1388239176] : ('0.0454524553050403',) no score found for photo 1388239176 We are sending mail with results at report@fotonower.com refus_total : 0.0454524553050403 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27604223 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_P27604223_08-10-2025_16_57_01.pdf results_Auto_P27604223_08-10-2025_16_57_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27604223_08-10-2025_16_57_01.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','27604223','results_Auto_P27604223_08-10-2025_16_57_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27604223_08-10-2025_16_57_01.pdf','pdf','','0.2','0.0454524553050403') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27604223]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1388239245, 1388239241, 1388239238, 1388239233, 1388239229, 1388239228, 1388239188, 1388239186, 1388239182, 1388239177, 1388239176] map_info['map_portfolio_photo'] : {27604223: [1388239245, 1388239241, 1388239238, 1388239233, 1388239229, 1388239228, 1388239188, 1388239186, 1388239182, 1388239177, 1388239176, 1388239169, 1388239166, 1388239162, 1388239159, 1388239155, 1388239120, 1388239117, 1388239115, 1388239113, 1388239112, 1388239110, 1388239055, 1388239032, 1388239026, 1388239011, 1388239003, 1388238974, 1388238972, 1388238970, 1388238967, 1388238963, 1388238959, 1388238933, 1388238930, 1388238928, 1388238925, 1388238924, 1388238922, 1388238902, 1388238901, 1388238900, 1388238897, 1388238895, 1388238894, 1388238892, 1388238891, 1388238808, 1388238805, 1388238801, 1388238793, 1388238789, 1388238782, 1388238750, 1388238744, 1388238741, 1388238738, 1388238736, 1388238707, 1388238696, 1388238688, 1388238686, 1388238684]} final : False mtd_id 4302 list_pids : [1388239245, 1388239241, 1388239238, 1388239233, 1388239229, 1388239228, 1388239188, 1388239186, 1388239182, 1388239177, 1388239176] 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, '3886515') ('4302', '27604223', '1388239245', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239241', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239238', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239233', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239229', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239228', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239188', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239186', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239182', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239177', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239176', None, None, None, None, None, '3886515') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 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', '27604223', '1388239245', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239241', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239238', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239233', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239229', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239228', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239188', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239186', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239182', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239177', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239176', None, None, None, None, None, '3886515')] time used for this insertion : 0.037851810455322266 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.118527173995972 time spend to save output : 0.03920626640319824 total time spend for step 4 : 5.15773344039917 step5:split_time_score Wed Oct 8 16:57:05 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 : ['27604223'] 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 : [('27604223',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27604223) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1388239241: {'path': 'temp/1759935420_145930_1388239241_ffd1c9bddacf46edeca95423cf44ac40.jpg', 'extension': 'jpg'}, 1388239245: {'path': 'temp/1759935420_145930_1388239245_63085b852eb24bd8d31672b9fa494a2a.jpg', 'extension': 'jpg'}, 1388239176: {'path': 'temp/1759935420_145930_1388239176_fc91f0badfb2ddcf5b64b43d7c1b36c5.jpg', 'extension': 'jpg'}, 1388239177: {'path': 'temp/1759935420_145930_1388239177_e806f2d9f497788eb9eb63ecfafb5f1d.jpg', 'extension': 'jpg'}, 1388239182: {'path': 'temp/1759935420_145930_1388239182_51fee0100be8a41d8977f06dc8bf0fe5.jpg', 'extension': 'jpg'}, 1388239229: {'path': 'temp/1759935420_145930_1388239229_7db1f54dbcad58bf1e9a71f0c8a83bb5.jpg', 'extension': 'jpg'}, 1388239233: {'path': 'temp/1759935420_145930_1388239233_fc402672f1976e1d996652754b82c535.jpg', 'extension': 'jpg'}, 1388239238: {'path': 'temp/1759935420_145930_1388239238_3ee23db3af143638ad09a008b37e09d3.jpg', 'extension': 'jpg'}, 1388239186: {'path': 'temp/1759935420_145930_1388239186_2400269311e4166f5324939e5a468a23.jpg', 'extension': 'jpg'}, 1388239188: {'path': 'temp/1759935420_145930_1388239188_e15c3ae4407ce1bc09f423d268d56bb6.jpg', 'extension': 'jpg'}, 1388239228: {'path': 'temp/1759935420_145930_1388239228_965507bd50964637dc7a58ac94021780.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 = 27604223; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27604223 group by h (('16', 63),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27604223 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 (27604223) 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 (27604223) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 08102025 27604223 Nombre de photos uploadées : 63 / 23040 (0%) 08102025 27604223 Nombre de photos taguées (types de déchets): 0 / 63 (0%) 08102025 27604223 Nombre de photos taguées (volume) : 0 / 63 (0%) [{'photo_id': 1388238707, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/e26e779cce7f0866df5e91bbd35984e6.jpg', 'username': None, 'uploaded_at': 1759934797, 'text': 'image_08102025_16_45_04_010156m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1388238696, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/3ca34fa5783421b90ea8365d393eefb3.jpg', 'username': None, 'uploaded_at': 1759934797, 'text': 'image_08102025_16_45_14_010137m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1388238688, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/0dc6825d9784c3d9d60532d1fb332d44.jpg', 'username': None, 'uploaded_at': 1759934797, 'text': 'image_08102025_16_45_24_010135m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1388238686, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/8/35307d008767727d75ba03336097e455.jpg', 'username': None, 'uploaded_at': 1759934797, 'text': 'image_08102025_16_45_34_010134m0.jpg 4e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.5762786865234375e-06 elapsed_time : order_list_meta_photo_and_scores 8.106231689453125e-06 ??????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0028870105743408203 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27604223, '2025-10-08' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-10-08' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2407133,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6507105827331543 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= 2407133 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27570631, 'dashboard_result_id': 16129646, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570631_08-10-2025_00_19_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27570641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570643, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27570709, 'dashboard_result_id': 16129647, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570709_08-10-2025_00_39_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27570712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570715, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570719, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570723, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27570914, 'dashboard_result_id': 16129648, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570914_08-10-2025_01_33_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570923, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27570928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570932, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27571567, 'dashboard_result_id': 16129649, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571567_08-10-2025_02_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571584, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27571642, 'dashboard_result_id': 16129650, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571642_08-10-2025_02_17_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571659, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571660, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27571858, 'dashboard_result_id': 16129651, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571858_08-10-2025_02_35_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571868, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571876, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27572099, 'dashboard_result_id': 16129652, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572099_08-10-2025_02_51_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572107, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572108, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572117, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27572479, 'dashboard_result_id': 16129653, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572479_08-10-2025_03_17_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572506, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27572540, 'dashboard_result_id': 16129654, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572540_08-10-2025_03_35_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572552, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27572709, 'dashboard_result_id': 16129655, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572709_08-10-2025_03_55_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572718, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572719, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572722, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572727, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27572825, 'dashboard_result_id': 16129656, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572825_08-10-2025_04_07_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572850, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27573623, 'dashboard_result_id': 16129657, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27573623_08-10-2025_05_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27573666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27573667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27573668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27573669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27573670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27573671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27573672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27573673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27573674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27573675, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27573676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27573677, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27573806, 'dashboard_result_id': 16129658, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27573806_08-10-2025_05_34_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27573857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27573858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27573859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27573860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27573861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27573862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27573863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27573864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27573865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27573866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27573867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27573868, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27574080, 'dashboard_result_id': 16129659, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574080_08-10-2025_05_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574097, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27574493, 'dashboard_result_id': 16129660, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574493_08-10-2025_06_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574522, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574529, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27574915, 'dashboard_result_id': 16129662, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574915_08-10-2025_06_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574931, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574942, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27575448, 'dashboard_result_id': 16129663, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27575448_08-10-2025_06_35_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27575476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27575477, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27575478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27575479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27575480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27575481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27575482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27575483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27575484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27575485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27575486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27575487, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27575977, 'dashboard_result_id': 16129664, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27575977_08-10-2025_06_50_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27575987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27575988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27575989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27575990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27575991, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27575992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27575993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27575994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27575995, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27575996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27575997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27575998, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27576419, 'dashboard_result_id': 16129665, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27576419_08-10-2025_07_05_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27576444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27576445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27576446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27576447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27576448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27576449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27576450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27576451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27576452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27576453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27576454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27576455, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27576741, 'dashboard_result_id': 16129666, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27576741_08-10-2025_07_19_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27576778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27576779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27576780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27576781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27576782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27576783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27576784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27576785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27576786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27576787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27576788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27576789, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27577488, 'dashboard_result_id': 16129668, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27577488_08-10-2025_07_35_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27577529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27577530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27577531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27577532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27577533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27577534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27577535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27577536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27577537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27577538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27577539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27577540, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27578065, 'dashboard_result_id': 16129669, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27578065_08-10-2025_07_51_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27578084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27578085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27578086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27578087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27578088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27578089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27578090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27578091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27578093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27578094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27578095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27578096, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27578618, 'dashboard_result_id': 16129670, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27578618_08-10-2025_08_05_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27578629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27578630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27578631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27578632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27578633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27578634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27578635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27578636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27578637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27578638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27578639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27578640, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27579031, 'dashboard_result_id': 16129671, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27579031_08-10-2025_08_17_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27579197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27579198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27579199, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27579200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27579201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27579202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27579203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27579204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27579205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27579206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27579207, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27579208, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27579676, 'dashboard_result_id': 16129673, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27579676_08-10-2025_08_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27579705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27579706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27579707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27579708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27579709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27579710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27579712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27579713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27579714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27579715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27579716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27579717, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27580231, 'dashboard_result_id': 16129674, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27580231_08-10-2025_08_49_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27580269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27580270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27580271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27580273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27580274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27580275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27580276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27580277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27580278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27580279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27580280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27580281, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27580884, 'dashboard_result_id': 16129675, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27580884_08-10-2025_09_05_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27580916, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27580917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27580918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27580919, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27580920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27580921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27580922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27580923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27580924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27580925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27580926, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27580927, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27582329, 'dashboard_result_id': 16129676, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582329_08-10-2025_09_49_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27582365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27582366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27582367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27582368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27582369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27582370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27582371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27582372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27582373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27582374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27582375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27582376, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27582718, 'dashboard_result_id': 16129677, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582718_08-10-2025_10_03_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27582757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27582758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27582759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27582760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27582761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27582762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27582763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27582764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27582765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27582766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27582767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27582768, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27583297, 'dashboard_result_id': 16129679, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27583297_08-10-2025_10_19_25.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27583304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27583305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27583306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27583307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27583308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27583309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27583310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27583311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27583312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27583313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27583314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27583315, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27584475, 'dashboard_result_id': 16129680, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27584475_08-10-2025_10_33_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27584508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27584510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27584511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27584512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27584513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27584514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27584516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27584517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27584518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27584519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27584520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27584521, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27585601, 'dashboard_result_id': 16129681, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27585601_08-10-2025_10_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27585623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27585624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27585625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27585626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27585627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27585628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27585629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27585630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27585631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27585632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27585633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27585635, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27586735, 'dashboard_result_id': 16129682, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27586735_08-10-2025_11_05_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27586769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27586770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27586771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27586772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27586773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27586774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27586775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27586776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27586777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27586778, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27586779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27586780, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27587655, 'dashboard_result_id': 16129683, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27587655_08-10-2025_11_19_26.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27587681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27587682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27587683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27587684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27587685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27587686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27587687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27587688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27587689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27587690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27587691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27587692, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27588770, 'dashboard_result_id': 16129684, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27588770_08-10-2025_11_33_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27588825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27588826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27588827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27588828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27588829, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27588830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27588831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27588832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27588833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27588834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27588835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27588836, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27589876, 'dashboard_result_id': 16129685, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27589876_08-10-2025_11_47_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27589918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27589919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27589920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27589921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27589922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27589923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27589924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27589925, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27589926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27589927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27589928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27589929, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27591042, 'dashboard_result_id': 16129686, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27591042_08-10-2025_12_05_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27591074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27591075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27591076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27591077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27591078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27591079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27591080, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27591081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27591082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27591083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27591084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27591085, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27592015, 'dashboard_result_id': 16129687, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27592015_08-10-2025_14_01_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27592152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27592153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27592154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27592155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27592156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27592157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27592158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27592159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27592160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27592161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27592162, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27592163, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27596112, 'dashboard_result_id': 16129688, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596112_08-10-2025_13_49_26.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596130, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27596722, 'dashboard_result_id': 16129689, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596722_08-10-2025_14_02_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596755, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27597213, 'dashboard_result_id': 16129690, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597213_08-10-2025_14_18_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597262, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597265, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27597939, 'dashboard_result_id': 16129691, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597939_08-10-2025_14_33_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597977, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27598818, 'dashboard_result_id': 16129692, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27598818_08-10-2025_14_47_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27598830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27598831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27598832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27598833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27598834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27598835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27598836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27598837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27598838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27598839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27598840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27598841, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27599617, 'dashboard_result_id': 16129693, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27599617_08-10-2025_14_58_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27599726, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27599727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27599728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27599729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27599730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27599731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27599732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27599733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27599734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27599735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27599736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27599737, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27603566, 'dashboard_result_id': 16129694, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603566_08-10-2025_16_44_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603583, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27603402, 'dashboard_result_id': 16129695, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603402_08-10-2025_16_35_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603405, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603414, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27603716, 'dashboard_result_id': 16129696, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603716_08-10-2025_16_49_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603752, 'pht': 3726}}"}, {'dashboat_entry_day': 2407133, 'dashboard_run_id': 2417365, 'mtr_portfolio_id': 27604223, 'dashboard_result_id': 16129697, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27604223_08-10-2025_16_55_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27604252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27604253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27604254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27604255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27604256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27604257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27604258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27604259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27604260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27604261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27604262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27604263, '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 = 27570631 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 = 27570631 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 = 27570631 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570631 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 = 27570631 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 = 27570631 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570631_08-10-2025_00_19_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27570631 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570631_08-10-2025_00_19_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27570641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570643, 'pht': 3726}}" where mtr_portfolio_id = 27570631 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570709 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 = 27570709 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 = 27570709 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570709 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 = 27570709 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 = 27570709 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570709_08-10-2025_00_39_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27570709 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570709_08-10-2025_00_39_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27570712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570715, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570719, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570723, 'pht': 3726}}" where mtr_portfolio_id = 27570709 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570914 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 = 27570914 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 = 27570914 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27570914 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 = 27570914 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 = 27570914 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570914_08-10-2025_01_33_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27570914 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27570914_08-10-2025_01_33_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27570920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27570921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27570923, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27570924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27570925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27570926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27570927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27570928, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27570929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27570930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27570931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27570932, 'pht': 3726}}" where mtr_portfolio_id = 27570914 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571567 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 = 27571567 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 = 27571567 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571567 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 = 27571567 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 = 27571567 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571567_08-10-2025_02_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27571567 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571567_08-10-2025_02_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571576, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571577, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571584, 'pht': 3726}}" where mtr_portfolio_id = 27571567 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571642 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 = 27571642 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 = 27571642 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571642 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 = 27571642 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 = 27571642 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571642_08-10-2025_02_17_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27571642 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571642_08-10-2025_02_17_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571651, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571653, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571655, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571659, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571660, 'pht': 3726}}" where mtr_portfolio_id = 27571642 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571858 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 = 27571858 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 = 27571858 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27571858 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 = 27571858 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 = 27571858 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571858_08-10-2025_02_35_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27571858 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27571858_08-10-2025_02_35_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27571865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27571866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27571867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27571868, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27571869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27571870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27571871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27571872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27571873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27571874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27571875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27571876, 'pht': 3726}}" where mtr_portfolio_id = 27571858 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572099 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 = 27572099 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 = 27572099 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572099 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 = 27572099 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 = 27572099 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572099_08-10-2025_02_51_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27572099 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572099_08-10-2025_02_51_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572107, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572108, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572113, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572116, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572117, 'pht': 3726}}" where mtr_portfolio_id = 27572099 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572479 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 = 27572479 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 = 27572479 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572479 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 = 27572479 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 = 27572479 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572479_08-10-2025_03_17_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27572479 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572479_08-10-2025_03_17_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572504, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572505, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572506, 'pht': 3726}}" where mtr_portfolio_id = 27572479 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572540 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 = 27572540 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 = 27572540 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572540 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 = 27572540 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 = 27572540 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572540_08-10-2025_03_35_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27572540 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572540_08-10-2025_03_35_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572552, 'pht': 3726}}" where mtr_portfolio_id = 27572540 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572709 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 = 27572709 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 = 27572709 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572709 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 = 27572709 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 = 27572709 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572709_08-10-2025_03_55_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27572709 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572709_08-10-2025_03_55_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572718, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572719, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572722, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572727, 'pht': 3726}}" where mtr_portfolio_id = 27572709 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572825 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 = 27572825 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 = 27572825 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27572825 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 = 27572825 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 = 27572825 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572825_08-10-2025_04_07_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27572825 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27572825_08-10-2025_04_07_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27572839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27572840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27572841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27572842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27572843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27572844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27572845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27572846, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27572847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27572848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27572849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27572850, 'pht': 3726}}" where mtr_portfolio_id = 27572825 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27573623 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 = 27573623 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 = 27573623 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27573623 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 = 27573623 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 = 27573623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27573623_08-10-2025_05_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27573623 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27573623_08-10-2025_05_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27573666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27573667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27573668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27573669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27573670, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27573671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27573672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27573673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27573674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27573675, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27573676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27573677, 'pht': 3726}}" where mtr_portfolio_id = 27573623 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27573806 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 = 27573806 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 = 27573806 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27573806 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 = 27573806 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 = 27573806 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27573806_08-10-2025_05_34_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27573806 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27573806_08-10-2025_05_34_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27573857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27573858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27573859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27573860, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27573861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27573862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27573863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27573864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27573865, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27573866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27573867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27573868, 'pht': 3726}}" where mtr_portfolio_id = 27573806 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574080 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 = 27574080 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 = 27574080 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574080 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 = 27574080 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 = 27574080 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574080_08-10-2025_05_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27574080 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574080_08-10-2025_05_49_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574095, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574097, 'pht': 3726}}" where mtr_portfolio_id = 27574080 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574493 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 = 27574493 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 = 27574493 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574493 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 = 27574493 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 = 27574493 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574493_08-10-2025_06_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27574493 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574493_08-10-2025_06_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574522, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574525, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574529, 'pht': 3726}}" where mtr_portfolio_id = 27574493 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574915 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 = 27574915 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 = 27574915 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27574915 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 = 27574915 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 = 27574915 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574915_08-10-2025_06_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27574915 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27574915_08-10-2025_06_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27574931, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27574932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27574933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27574934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27574935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27574936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27574937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27574938, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27574939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27574940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27574941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27574942, 'pht': 3726}}" where mtr_portfolio_id = 27574915 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27575448 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 = 27575448 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 = 27575448 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27575448 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 = 27575448 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 = 27575448 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27575448_08-10-2025_06_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27575448 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27575448_08-10-2025_06_35_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27575476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27575477, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27575478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27575479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27575480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27575481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27575482, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27575483, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27575484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27575485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27575486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27575487, 'pht': 3726}}" where mtr_portfolio_id = 27575448 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27575977 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 = 27575977 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 = 27575977 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27575977 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 = 27575977 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 = 27575977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27575977_08-10-2025_06_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27575977 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27575977_08-10-2025_06_50_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27575987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27575988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27575989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27575990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27575991, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27575992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27575993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27575994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27575995, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27575996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27575997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27575998, 'pht': 3726}}" where mtr_portfolio_id = 27575977 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27576419 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 = 27576419 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 = 27576419 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27576419 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 = 27576419 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 = 27576419 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27576419_08-10-2025_07_05_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27576419 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27576419_08-10-2025_07_05_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27576444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27576445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27576446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27576447, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27576448, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27576449, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27576450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27576451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27576452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27576453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27576454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27576455, 'pht': 3726}}" where mtr_portfolio_id = 27576419 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27576741 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 = 27576741 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 = 27576741 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27576741 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 = 27576741 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 = 27576741 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27576741_08-10-2025_07_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27576741 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27576741_08-10-2025_07_19_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27576778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27576779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27576780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27576781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27576782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27576783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27576784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27576785, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27576786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27576787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27576788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27576789, 'pht': 3726}}" where mtr_portfolio_id = 27576741 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27577488 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 = 27577488 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 = 27577488 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27577488 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 = 27577488 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 = 27577488 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27577488_08-10-2025_07_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27577488 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27577488_08-10-2025_07_35_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27577529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27577530, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27577531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27577532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27577533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27577534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27577535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27577536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27577537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27577538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27577539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27577540, 'pht': 3726}}" where mtr_portfolio_id = 27577488 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27578065 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 = 27578065 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 = 27578065 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27578065 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 = 27578065 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 = 27578065 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27578065_08-10-2025_07_51_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27578065 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27578065_08-10-2025_07_51_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27578084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27578085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27578086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27578087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27578088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27578089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27578090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27578091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27578093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27578094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27578095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27578096, 'pht': 3726}}" where mtr_portfolio_id = 27578065 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27578618 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 = 27578618 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 = 27578618 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27578618 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 = 27578618 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 = 27578618 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27578618_08-10-2025_08_05_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27578618 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27578618_08-10-2025_08_05_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27578629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27578630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27578631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27578632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27578633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27578634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27578635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27578636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27578637, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27578638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27578639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27578640, 'pht': 3726}}" where mtr_portfolio_id = 27578618 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27579031 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 = 27579031 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 = 27579031 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27579031 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 = 27579031 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 = 27579031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27579031_08-10-2025_08_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27579031 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27579031_08-10-2025_08_17_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27579197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27579198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27579199, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27579200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27579201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27579202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27579203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27579204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27579205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27579206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27579207, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27579208, 'pht': 3726}}" where mtr_portfolio_id = 27579031 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27579676 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 = 27579676 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 = 27579676 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27579676 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 = 27579676 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 = 27579676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27579676_08-10-2025_08_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27579676 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27579676_08-10-2025_08_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27579705, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27579706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27579707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27579708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27579709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27579710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27579712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27579713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27579714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27579715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27579716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27579717, 'pht': 3726}}" where mtr_portfolio_id = 27579676 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27580231 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 = 27580231 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 = 27580231 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27580231 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 = 27580231 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 = 27580231 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27580231_08-10-2025_08_49_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27580231 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27580231_08-10-2025_08_49_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27580269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27580270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27580271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27580273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27580274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27580275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27580276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27580277, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27580278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27580279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27580280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27580281, 'pht': 3726}}" where mtr_portfolio_id = 27580231 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27580884 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 = 27580884 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 = 27580884 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27580884 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 = 27580884 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 = 27580884 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27580884_08-10-2025_09_05_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27580884 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27580884_08-10-2025_09_05_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27580916, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27580917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27580918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27580919, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27580920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27580921, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27580922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27580923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27580924, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27580925, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27580926, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27580927, 'pht': 3726}}" where mtr_portfolio_id = 27580884 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27582329 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 = 27582329 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 = 27582329 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27582329 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 = 27582329 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 = 27582329 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582329_08-10-2025_09_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27582329 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582329_08-10-2025_09_49_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27582365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27582366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27582367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27582368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27582369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27582370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27582371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27582372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27582373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27582374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27582375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27582376, 'pht': 3726}}" where mtr_portfolio_id = 27582329 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27582718 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3883604, 'mtr_portfolio_id': 27582718, 'created_at': datetime.datetime(2025, 10, 8, 10, 3, 30), 'result': '0.019757631340325408', 'result_long': None, 'result_double': None}] Qualite : 0.019757631340325408 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27582718 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582718_08-10-2025_10_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27582718 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582718_08-10-2025_10_03_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27582757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27582758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27582759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27582760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27582761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27582762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27582763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27582764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27582765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27582766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27582767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27582768, 'pht': 3726}}" where mtr_portfolio_id = 27582718 and dashboard_run_id = 2417365 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27582718 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16129677, 0.019757631340325408, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27582718_08-10-2025_10_03_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27582757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27582758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27582759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27582760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27582761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27582762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27582763, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27582764, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27582765, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27582766, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27582767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27582768, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27583297 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3883800, 'mtr_portfolio_id': 27583297, 'created_at': datetime.datetime(2025, 10, 8, 10, 19, 24), 'result': '0.06915000976527785', 'result_long': None, 'result_double': None}] Qualite : 0.06915000976527785 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27583297 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27583297_08-10-2025_10_19_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27583297 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27583297_08-10-2025_10_19_25.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27583304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27583305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27583306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27583307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27583308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27583309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27583310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27583311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27583312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27583313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27583314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27583315, 'pht': 3726}}" where mtr_portfolio_id = 27583297 and dashboard_run_id = 2417365 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27583297 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16129679, 0.06915000976527785, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27583297_08-10-2025_10_19_25.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27583304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27583305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27583306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27583307, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27583308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27583309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27583310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27583311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27583312, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27583313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27583314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27583315, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27584475 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3883952, 'mtr_portfolio_id': 27584475, 'created_at': datetime.datetime(2025, 10, 8, 10, 33, 2), 'result': '0.05922128890929629', 'result_long': None, 'result_double': None}] Qualite : 0.05922128890929629 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27584475 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27584475_08-10-2025_10_33_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27584475 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27584475_08-10-2025_10_33_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27584508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27584510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27584511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27584512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27584513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27584514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27584516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27584517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27584518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27584519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27584520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27584521, 'pht': 3726}}" where mtr_portfolio_id = 27584475 and dashboard_run_id = 2417365 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27584475 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16129680, 0.05922128890929629, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27584475_08-10-2025_10_33_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27584508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27584510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27584511, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27584512, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27584513, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27584514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27584516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27584517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27584518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27584519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27584520, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27584521, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27585601 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3884165, 'mtr_portfolio_id': 27585601, 'created_at': datetime.datetime(2025, 10, 8, 10, 49), 'result': '0.045017058698008205', 'result_long': None, 'result_double': None}] Qualite : 0.045017058698008205 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27585601 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27585601_08-10-2025_10_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27585601 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27585601_08-10-2025_10_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27585623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27585624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27585625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27585626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27585627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27585628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27585629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27585630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27585631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27585632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27585633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27585635, 'pht': 3726}}" where mtr_portfolio_id = 27585601 and dashboard_run_id = 2417365 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27585601 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16129681, 0.045017058698008205, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27585601_08-10-2025_10_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27585623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27585624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27585625, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27585626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27585627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27585628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27585629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27585630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27585631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27585632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27585633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27585635, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27586735 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3884344, 'mtr_portfolio_id': 27586735, 'created_at': datetime.datetime(2025, 10, 8, 11, 4, 59), 'result': '0.04302911545524617', 'result_long': None, 'result_double': None}] Qualite : 0.04302911545524617 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27586735 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27586735_08-10-2025_11_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27586735 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27586735_08-10-2025_11_05_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27586769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27586770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27586771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27586772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27586773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27586774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27586775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27586776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27586777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27586778, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27586779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27586780, 'pht': 3726}}" where mtr_portfolio_id = 27586735 and dashboard_run_id = 2417365 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27586735 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16129682, 0.04302911545524617, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27586735_08-10-2025_11_05_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27586769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27586770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27586771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27586772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27586773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27586774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27586775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27586776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27586777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27586778, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27586779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27586780, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27587655 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3884426, 'mtr_portfolio_id': 27587655, 'created_at': datetime.datetime(2025, 10, 8, 11, 19, 26), 'result': '0.037767543284158676', 'result_long': None, 'result_double': None}] Qualite : 0.037767543284158676 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27587655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27587655_08-10-2025_11_19_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27587655 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27587655_08-10-2025_11_19_26.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27587681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27587682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27587683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27587684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27587685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27587686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27587687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27587688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27587689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27587690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27587691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27587692, 'pht': 3726}}" where mtr_portfolio_id = 27587655 and dashboard_run_id = 2417365 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27587655 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16129683, 0.037767543284158676, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27587655_08-10-2025_11_19_26.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27587681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27587682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27587683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27587684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27587685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27587686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27587687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27587688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27587689, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27587690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27587691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27587692, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27588770 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3884509, 'mtr_portfolio_id': 27588770, 'created_at': datetime.datetime(2025, 10, 8, 11, 33, 32), 'result': '0.05614687729208558', 'result_long': None, 'result_double': None}] Qualite : 0.05614687729208558 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27588770 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27588770_08-10-2025_11_33_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27588770 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27588770_08-10-2025_11_33_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27588825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27588826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27588827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27588828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27588829, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27588830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27588831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27588832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27588833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27588834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27588835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27588836, 'pht': 3726}}" where mtr_portfolio_id = 27588770 and dashboard_run_id = 2417365 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27588770 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16129684, 0.05614687729208558, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27588770_08-10-2025_11_33_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27588825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27588826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27588827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27588828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27588829, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27588830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27588831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27588832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27588833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27588834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27588835, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27588836, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27589876 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3884874, 'mtr_portfolio_id': 27589876, 'created_at': datetime.datetime(2025, 10, 8, 11, 47, 5), 'result': '0.04306909769730264', 'result_long': None, 'result_double': None}] Qualite : 0.04306909769730264 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27589876 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27589876_08-10-2025_11_47_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27589876 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27589876_08-10-2025_11_47_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27589918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27589919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27589920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27589921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27589922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27589923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27589924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27589925, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27589926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27589927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27589928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27589929, 'pht': 3726}}" where mtr_portfolio_id = 27589876 and dashboard_run_id = 2417365 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27589876 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16129685, 0.04306909769730264, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27589876_08-10-2025_11_47_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27589918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27589919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27589920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27589921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27589922, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27589923, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27589924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27589925, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27589926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27589927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27589928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27589929, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27591042 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3885025, 'mtr_portfolio_id': 27591042, 'created_at': datetime.datetime(2025, 10, 8, 12, 5), 'result': '0.03804122737603823', 'result_long': None, 'result_double': None}] Qualite : 0.03804122737603823 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27591042 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27591042_08-10-2025_12_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27591042 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27591042_08-10-2025_12_05_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27591074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27591075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27591076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27591077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27591078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27591079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27591080, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27591081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27591082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27591083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27591084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27591085, 'pht': 3726}}" where mtr_portfolio_id = 27591042 and dashboard_run_id = 2417365 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27591042 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16129686, 0.03804122737603823, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27591042_08-10-2025_12_05_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27591074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27591075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27591076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27591077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27591078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27591079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27591080, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27591081, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27591082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27591083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27591084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27591085, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27592015 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3885159, 'mtr_portfolio_id': 27592015, 'created_at': datetime.datetime(2025, 10, 8, 14, 1, 5), 'result': '0.026623661315220214', 'result_long': None, 'result_double': None}] Qualite : 0.026623661315220214 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27592015 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27592015_08-10-2025_14_01_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27592015 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27592015_08-10-2025_14_01_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27592152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27592153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27592154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27592155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27592156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27592157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27592158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27592159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27592160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27592161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27592162, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27592163, 'pht': 3726}}" where mtr_portfolio_id = 27592015 and dashboard_run_id = 2417365 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27592015 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16129687, 0.026623661315220214, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27592015_08-10-2025_14_01_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27592152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27592153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27592154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27592155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27592156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27592157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27592158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27592159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27592160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27592161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27592162, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27592163, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27596112 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3885485, 'mtr_portfolio_id': 27596112, 'created_at': datetime.datetime(2025, 10, 8, 13, 49, 25), 'result': '0.03616330670330915', 'result_long': None, 'result_double': None}] Qualite : 0.03616330670330915 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27596112 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596112_08-10-2025_13_49_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27596112 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596112_08-10-2025_13_49_26.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596130, 'pht': 3726}}" where mtr_portfolio_id = 27596112 and dashboard_run_id = 2417365 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27596112 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16129688, 0.03616330670330915, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596112_08-10-2025_13_49_26.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596130, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27596722 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3885518, 'mtr_portfolio_id': 27596722, 'created_at': datetime.datetime(2025, 10, 8, 14, 2, 30), 'result': '0.05226452392431788', 'result_long': None, 'result_double': None}] Qualite : 0.05226452392431788 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27596722 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596722_08-10-2025_14_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27596722 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596722_08-10-2025_14_02_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596755, 'pht': 3726}}" where mtr_portfolio_id = 27596722 and dashboard_run_id = 2417365 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27596722 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16129689, 0.05226452392431788, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27596722_08-10-2025_14_02_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27596744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27596745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27596746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27596747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27596748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27596749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27596750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27596751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27596752, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27596753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27596754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27596755, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27597213 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3885566, 'mtr_portfolio_id': 27597213, 'created_at': datetime.datetime(2025, 10, 8, 14, 18, 3), 'result': '0.047841645043801215', 'result_long': None, 'result_double': None}] Qualite : 0.047841645043801215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27597213 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597213_08-10-2025_14_18_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27597213 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597213_08-10-2025_14_18_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597262, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597265, 'pht': 3726}}" where mtr_portfolio_id = 27597213 and dashboard_run_id = 2417365 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27597213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16129690, 0.047841645043801215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597213_08-10-2025_14_18_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597257, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597261, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597262, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597265, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27597939 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3885661, 'mtr_portfolio_id': 27597939, 'created_at': datetime.datetime(2025, 10, 8, 14, 33, 3), 'result': '0.0576736527518991', 'result_long': None, 'result_double': None}] Qualite : 0.0576736527518991 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27597939 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597939_08-10-2025_14_33_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27597939 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597939_08-10-2025_14_33_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597977, 'pht': 3726}}" where mtr_portfolio_id = 27597939 and dashboard_run_id = 2417365 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27597939 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16129691, 0.0576736527518991, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27597939_08-10-2025_14_33_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27597966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27597967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27597968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27597969, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27597970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27597971, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27597972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27597973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27597974, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27597975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27597976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27597977, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27598818 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3885801, 'mtr_portfolio_id': 27598818, 'created_at': datetime.datetime(2025, 10, 8, 14, 47, 1), 'result': '0.04741846765055205', 'result_long': None, 'result_double': None}] Qualite : 0.04741846765055205 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27598818 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27598818_08-10-2025_14_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27598818 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27598818_08-10-2025_14_47_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27598830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27598831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27598832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27598833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27598834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27598835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27598836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27598837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27598838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27598839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27598840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27598841, 'pht': 3726}}" where mtr_portfolio_id = 27598818 and dashboard_run_id = 2417365 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27598818 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16129692, 0.04741846765055205, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27598818_08-10-2025_14_47_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27598830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27598831, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27598832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27598833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27598834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27598835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27598836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27598837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27598838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27598839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27598840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27598841, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27599617 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3885928, 'mtr_portfolio_id': 27599617, 'created_at': datetime.datetime(2025, 10, 8, 15, 5, 1), 'result': '0.04467187989463263', 'result_long': None, 'result_double': None}] Qualite : 0.04467187989463263 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27599617 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27599617_08-10-2025_15_05_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27599617 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27599617_08-10-2025_15_05_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27599726, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27599727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27599728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27599729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27599730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27599731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27599732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27599733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27599734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27599735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27599736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27599737, 'pht': 3726}}" where mtr_portfolio_id = 27599617 and dashboard_run_id = 2417365 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27599617 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16129693, 0.04467187989463263, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27599617_08-10-2025_15_05_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27599726, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27599727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27599728, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27599729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27599730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27599731, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27599732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27599733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27599734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27599735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27599736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27599737, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27603566 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 = 27603566 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 = 27603566 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27603566 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 = 27603566 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 = 27603566 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603566_08-10-2025_16_44_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27603566 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603566_08-10-2025_16_44_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603573, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603583, 'pht': 3726}}" where mtr_portfolio_id = 27603566 and dashboard_run_id = 2417365 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27603402 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3886336, 'mtr_portfolio_id': 27603402, 'created_at': datetime.datetime(2025, 10, 8, 16, 35, 33), 'result': '0.06955059295411097', 'result_long': None, 'result_double': None}] Qualite : 0.06955059295411097 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27603402 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603402_08-10-2025_16_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27603402 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603402_08-10-2025_16_35_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603405, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603414, 'pht': 3726}}" where mtr_portfolio_id = 27603402 and dashboard_run_id = 2417365 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27603402 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16129695, 0.06955059295411097, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603402_08-10-2025_16_35_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603405, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603414, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27603716 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3886393, 'mtr_portfolio_id': 27603716, 'created_at': datetime.datetime(2025, 10, 8, 16, 49, 29), 'result': '0.05815530728484656', 'result_long': None, 'result_double': None}] Qualite : 0.05815530728484656 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27603716 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603716_08-10-2025_16_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27603716 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603716_08-10-2025_16_49_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603752, 'pht': 3726}}" where mtr_portfolio_id = 27603716 and dashboard_run_id = 2417365 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27603716 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16129696, 0.05815530728484656, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27603716_08-10-2025_16_49_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27603741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27603742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27603743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27603744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27603745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27603746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27603747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27603748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27603749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27603750, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27603751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27603752, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27604223 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3886515, 'mtr_portfolio_id': 27604223, 'created_at': datetime.datetime(2025, 10, 8, 16, 57), 'result': '0.0454524553050403', 'result_long': None, 'result_double': None}] Qualite : 0.0454524553050403 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27604223 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27604223_08-10-2025_16_57_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27604223 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27604223_08-10-2025_16_57_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27604252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27604253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27604254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27604255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27604256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27604257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27604258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27604259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27604260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27604261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27604262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27604263, 'pht': 3726}}" where mtr_portfolio_id = 27604223 and dashboard_run_id = 2417365 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27604223 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16129697, 0.0454524553050403, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27604223_08-10-2025_16_57_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27604252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27604253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27604254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27604255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27604256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27604257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27604258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27604259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27604260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27604261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27604262, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27604263, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27570631,27570709,27570914,27571567,27571642,27571858,27572099,27572479,27572540,27572709,27572825,27573623,27573806,27574080,27574493,27574915,27575448,27575977,27576419,27576741,27577488,27578065,27578618,27579031,27579676,27580231,27580884,27582329,27582718,27583297,27584475,27585601,27586735,27587655,27588770,27589876,27591042,27592015,27596112,27596722,27597213,27597939,27598818,27599617,27603566,27603402,27603716,27604223) result : ((1388030203,), (1388030204,), (1388030257,), (1388030272,), (1388030287,), (1388030301,), (1388030302,), (1388030331,), (1388030367,), (1388030368,), (1388030410,), (1388030425,), (1388030500,), (1388030502,), (1388030528,), (1388030537,), (1388030567,), (1388030569,), (1388030666,), (1388031677,), (1388031679,), (1388031704,), (1388031706,), (1388031714,), (1388032212,), (1388032262,), (1388032485,), (1388032591,), (1388032686,), (1388032688,), (1388037828,), (1388039875,), (1388039894,), (1388039901,), (1388039919,), (1388039936,), (1388039938,), (1388039946,), (1388039957,), (1388039973,), (1388039975,), (1388039994,), (1388040043,), (1388041267,), (1388041988,), (1388042042,), (1388042506,), (1388042766,), (1388043408,), (1388043662,), (1388043664,), (1388044761,), (1388045393,), (1388045375,), (1388045442,), (1388046013,), (1388046143,), (1388046546,), (1388046548,), (1388046686,), (1388046705,), (1388046875,), (1388047797,), (1388047881,), (1388047899,), (1388047918,), (1388048176,), (1388048317,), (1388048380,), (1388048397,), (1388048952,), (1388048955,), (1388049264,), (1388051245,), (1388051356,), (1388051359,), (1388051374,), (1388051749,), (1388051799,), (1388052353,), (1388052593,), (1388052590,), (1388053815,), (1388054084,), (1388054120,), (1388054257,), (1388054273,), (1388055217,), (1388055220,), (1388055223,), (1388055225,), (1388055526,), (1388055531,), (1388055633,), (1388055630,), (1388056016,), (1388056457,), (1388056722,), (1388056822,), (1388056824,), (1388056827,), (1388056838,), (1388056841,), (1388056844,), (1388056860,), (1388056879,), (1388056881,), (1388056900,), (1388056917,), (1388056920,), (1388056926,), (1388056951,), (1388056967,), (1388056973,), (1388057480,), (1388057847,), (1388057850,), (1388058157,), (1388058326,), (1388058360,), (1388058363,), (1388058545,), (1388058601,), (1388059519,), (1388059524,), (1388059528,), (1388060995,), (1388068696,), (1388068710,), (1388069029,), (1388069073,), (1388069251,), (1388069293,), (1388069304,), (1388069372,), (1388069375,), (1388069378,), (1388069381,), (1388069391,), (1388069394,), (1388069400,), (1388069402,), (1388069409,), (1388069411,), (1388069413,), (1388069416,), (1388069426,), (1388069429,), (1388069488,), (1388069535,), (1388069575,), (1388070048,), (1388070092,), (1388070133,), (1388070135,), (1388070139,), (1388070142,), (1388070148,), (1388070151,), (1388070157,), (1388070165,), (1388070210,), (1388070410,), (1388070449,), (1388070455,), (1388070470,), (1388070474,), (1388070479,), (1388070483,), (1388070486,), (1388070489,), (1388070922,), (1388070696,), (1388070736,), (1388070777,), (1388070822,), (1388070876,), (1388071121,), (1388071123,), (1388071124,), (1388071127,), (1388071312,), (1388071366,), (1388071369,), (1388071396,), (1388071399,), (1388071402,), (1388071763,), (1388071807,), (1388071848,), (1388071871,), (1388071912,), (1388071954,), (1388072001,), (1388072051,), (1388072059,), (1388072113,), (1388072114,), (1388072115,), (1388072118,), (1388072122,), (1388072127,), (1388072130,), (1388072133,), (1388072136,), (1388072141,), (1388072142,), (1388072145,), (1388072148,), (1388072150,), (1388072152,), (1388072165,), (1388072170,), (1388072176,), (1388072180,), (1388072222,), (1388072223,), (1388072225,), (1388072227,), (1388072230,), (1388072234,), (1388072237,), (1388072239,), (1388072240,), (1388072243,), (1388072251,), (1388072252,), (1388072254,), (1388072256,), (1388072258,), (1388072261,), (1388072266,), (1388072269,), (1388072273,), (1388072275,), (1388072285,), (1388072286,), (1388072287,), (1388072289,), (1388072291,), (1388072293,), (1388072609,), (1388072652,), (1388072691,), (1388072736,), (1388073079,), (1388073067,), (1388073068,), (1388073069,), (1388073071,), (1388073077,), (1388073084,), (1388073086,), (1388073089,), (1388073091,), (1388073418,), (1388073419,), (1388073425,), (1388073427,), (1388073441,), (1388073522,), (1388073526,), (1388073527,), (1388073529,), (1388073532,), (1388073537,), (1388073538,), (1388073539,), (1388073541,), (1388073543,), (1388073549,), (1388073551,), (1388073552,), (1388073590,), (1388073632,), (1388073676,), (1388074005,), (1388074052,), (1388074099,), (1388074148,), (1388074176,), (1388074181,), (1388074183,), (1388074184,), (1388074231,), (1388074276,), (1388074319,), (1388074412,), (1388074418,), (1388074462,), (1388074478,), (1388074526,), (1388074528,), (1388074530,), (1388074558,), (1388074605,), (1388074647,), (1388074969,), (1388075011,), (1388075055,), (1388075060,), (1388075063,), (1388075069,), (1388075104,), (1388075157,), (1388075200,), (1388075246,), (1388075263,), (1388075340,), (1388075343,), (1388075348,), (1388075351,), (1388075641,), (1388075689,), (1388075730,), (1388075732,), (1388075735,), (1388075737,), (1388075826,), (1388075867,), (1388075907,), (1388075912,), (1388075915,), (1388075991,), (1388075981,), (1388075983,), (1388075985,), (1388075987,), (1388075989,), (1388075996,), (1388075998,), (1388076000,), (1388076004,), (1388076008,), (1388076017,), (1388076019,), (1388076020,), (1388076022,), (1388076024,), (1388076213,), (1388076256,), (1388076315,), (1388076362,), (1388076405,), (1388076413,), (1388076533,), (1388076550,), (1388076566,), (1388076576,), (1388076594,), (1388076597,), (1388076601,), (1388076604,), (1388076606,), (1388076609,), (1388076611,), (1388076618,), (1388076619,), (1388076620,), (1388076622,), (1388076624,), (1388076625,), (1388076629,), (1388076631,), (1388076633,), (1388076635,), (1388076636,), (1388076637,), (1388076639,), (1388076640,), (1388076641,), (1388076646,), (1388076648,), (1388076651,), (1388076792,), (1388076839,), (1388076883,), (1388076928,), (1388076970,), (1388077015,), (1388077068,), (1388077113,), (1388077170,), (1388077209,), (1388077277,), (1388077279,), (1388077280,), (1388077282,), (1388077284,), (1388077286,), (1388077294,), (1388077295,), (1388077296,), (1388077305,), (1388077307,), (1388077308,), (1388077310,), (1388077312,), (1388077564,), (1388077612,), (1388077664,), (1388077711,), (1388077835,), (1388077837,), (1388077838,), (1388077839,), (1388077840,), (1388077841,), (1388077842,), (1388077844,), (1388077846,), (1388077848,), (1388078009,), (1388078047,), (1388078064,), (1388078090,), (1388078102,), (1388078106,), (1388078007,), (1388078117,), (1388078118,), (1388078119,), (1388078121,), (1388078123,), (1388078134,), (1388078136,), (1388078137,), (1388078139,), (1388078140,), (1388078142,), (1388078151,), (1388078154,), (1388078157,), (1388078160,), (1388078165,), (1388078166,), (1388078170,), (1388078172,), (1388078174,), (1388078176,), (1388078180,), (1388078181,), (1388078183,), (1388078186,), (1388078194,), (1388078195,), (1388078198,), (1388078200,), (1388078203,), (1388078425,), (1388078472,), (1388078521,), (1388078550,), (1388078552,), (1388078650,), (1388078690,), (1388078699,), (1388078701,), (1388078732,), (1388078768,), (1388078770,), (1388078771,), (1388078773,), (1388078775,), (1388078782,), (1388078783,), (1388078785,), (1388078787,), (1388078789,), (1388078794,), (1388078796,), (1388078797,), (1388078800,), (1388078802,), (1388079081,), (1388079125,), (1388079148,), (1388079151,), (1388079154,), (1388079282,), (1388079305,), (1388079311,), (1388079314,), (1388079317,), (1388079357,), (1388079349,), (1388079350,), (1388079351,), (1388079354,), (1388079363,), (1388079365,), (1388079367,), (1388079369,), (1388079372,), (1388079577,), (1388079597,), (1388079641,), (1388079651,), (1388079668,), (1388079694,), (1388079696,), (1388079697,), (1388079700,), (1388079702,), (1388079709,), (1388079711,), (1388079713,), (1388079716,), (1388079719,), (1388079722,), (1388079727,), (1388079728,), (1388079729,), (1388079731,), (1388079738,), (1388079739,), (1388079740,), (1388079743,), (1388079746,), (1388079748,), (1388079753,), (1388079755,), (1388079757,), (1388079760,), (1388079763,), (1388080100,), (1388080119,), (1388080121,), (1388080123,), (1388080126,), (1388080128,), (1388080273,), (1388080301,), (1388080304,), (1388080306,), (1388080309,), (1388080316,), (1388080317,), (1388080318,), (1388080320,), (1388080323,), (1388080326,), (1388080330,), (1388080332,), (1388080333,), (1388080335,), (1388080343,), (1388080344,), (1388080346,), (1388080348,), (1388080350,), (1388080352,), (1388080359,), (1388080360,), (1388080361,), (1388080367,), (1388080453,), (1388080493,), (1388080536,), (1388080578,), (1388080625,), (1388080668,), (1388080781,), (1388080823,), (1388080854,), (1388081079,), (1388081082,), (1388081104,), (1388081106,), (1388081024,), (1388081031,), (1388081053,), (1388081054,), (1388081086,), (1388081088,), (1388081090,), (1388081091,), (1388081092,), (1388081094,), (1388081096,), (1388081098,), (1388081100,), (1388081102,), (1388081111,), (1388081113,), (1388081116,), (1388081119,), (1388081123,), (1388081127,), (1388081133,), (1388081135,), (1388081139,), (1388081142,), (1388081352,), (1388081399,), (1388081443,), (1388081563,), (1388081608,), (1388081649,), (1388081826,), (1388081847,), (1388081891,), (1388081916,), (1388081973,), (1388081974,), (1388081976,), (1388081979,), (1388081982,), (1388081984,), (1388081990,), (1388081991,), (1388081992,), (1388082002,), (1388082003,), (1388082005,), (1388082007,), (1388082009,), (1388082012,), (1388082024,), (1388082025,), (1388082026,), (1388082029,), (1388082032,), (1388082034,), (1388082044,), (1388082045,), (1388082046,), (1388082055,), (1388082057,), (1388082059,), (1388082061,), (1388082063,), (1388082066,), (1388082071,), (1388082072,), (1388082073,), (1388082075,), (1388082083,), (1388082085,), (1388082086,), (1388082089,), (1388082092,), (1388082094,), (1388082106,), (1388082098,), (1388082099,), (1388082100,), (1388082102,), (1388082104,), (1388082117,), (1388082119,), (1388082120,), (1388082122,), (1388082130,), (1388082132,), (1388082135,), (1388082138,), (1388082140,), (1388082143,), (1388082148,), (1388082150,), (1388082152,), (1388082157,), (1388082161,), (1388082168,), (1388082169,), (1388082170,), (1388082173,), (1388082181,), (1388082183,), (1388082184,), (1388082187,), (1388082195,), (1388082196,), (1388082197,), (1388082200,), (1388082203,), (1388082241,), (1388082470,), (1388082472,), (1388082497,), (1388082571,), (1388083076,), (1388083118,), (1388083161,), (1388083204,), (1388083245,), (1388083296,), (1388083645,), (1388083690,), (1388083733,), (1388083745,), (1388083748,), (1388083753,), (1388083763,), (1388083765,), (1388083766,), (1388083805,), (1388083854,), (1388084198,), (1388084206,), (1388084208,), (1388084211,), (1388084214,), (1388084248,), (1388084411,), (1388084415,), (1388084418,), (1388084421,), (1388084423,), (1388084427,), (1388084428,), (1388084429,), (1388084432,), (1388084456,), (1388084467,), (1388084469,), (1388084470,), (1388084471,), (1388084446,), (1388084448,), (1388084450,), (1388084452,), (1388084454,), (1388084457,), (1388084459,), (1388084461,), (1388084463,), (1388084465,), (1388084474,), (1388084477,), (1388084480,), (1388084483,), (1388084487,), (1388084492,), (1388084494,), (1388084495,), (1388084497,), (1388084711,), (1388084756,), (1388084804,), (1388084848,), (1388084890,), (1388084935,), (1388085290,), (1388085312,), (1388085315,), (1388085317,), (1388085319,), (1388085459,), (1388085462,), (1388085484,), (1388085523,), (1388085628,), (1388085668,), (1388085705,), (1388085749,), (1388085791,), (1388085829,), (1388085930,), (1388085940,), (1388085957,), (1388085981,), (1388085990,), (1388085992,), (1388085993,), (1388085997,), (1388086000,), (1388086002,), (1388086006,), (1388086008,), (1388086010,), (1388086013,), (1388086017,), (1388086026,), (1388086028,), (1388086030,), (1388086032,), (1388086035,), (1388086037,), (1388086041,), (1388086042,), (1388086061,), (1388086064,), (1388086067,), (1388086073,), (1388086074,), (1388086084,), (1388086087,), (1388086089,), (1388086094,), (1388086098,), (1388086115,), (1388086105,), (1388086106,), (1388086108,), (1388086110,), (1388086113,), (1388086120,), (1388086122,), (1388086124,), (1388086128,), (1388086132,), (1388086139,), (1388086141,), (1388086142,), (1388086144,), (1388086146,), (1388086162,), (1388086163,), (1388086165,), (1388086168,), (1388086171,), (1388086173,), (1388086178,), (1388086179,), (1388086182,), (1388086184,), (1388086186,), (1388086188,), (1388086194,), (1388086196,), (1388086198,), (1388086200,), (1388086202,), (1388086204,), (1388086205,), (1388086206,), (1388086207,), (1388086209,), (1388086211,), (1388086212,), (1388086215,), (1388086218,), (1388086220,), (1388086222,), (1388086223,), (1388086224,), (1388086225,), (1388086227,), (1388086228,), (1388086230,), (1388086238,), (1388086239,), (1388086241,), (1388086243,), (1388086245,), (1388086247,), (1388086248,), (1388086249,), (1388086251,), (1388086252,), (1388086255,), (1388086258,), (1388086259,), (1388086261,), (1388086263,), (1388086266,), (1388086279,), (1388086280,), (1388086281,), (1388086285,), (1388086302,), (1388086305,), (1388086307,), (1388086310,), (1388086312,), (1388086314,), (1388086316,), (1388086318,), (1388086320,), (1388086324,), (1388086325,), (1388086326,), (1388086334,), (1388086337,), (1388086338,), (1388086341,), (1388086343,), (1388086345,), (1388086370,), (1388086349,), (1388086353,), (1388086364,), (1388086366,), (1388086368,), (1388086376,), (1388086380,), (1388086382,), (1388086385,), (1388086392,), (1388086393,), (1388086395,), (1388086398,), (1388086400,), (1388086408,), (1388086410,), (1388086917,), (1388087106,), (1388087107,), (1388087108,), (1388087110,), (1388087112,), (1388087118,), (1388087120,), (1388087131,), (1388087142,), (1388087143,), (1388087145,), (1388087152,), (1388087154,), (1388087155,), (1388087157,), (1388087355,), (1388087491,), (1388087534,), (1388087579,), (1388087629,), (1388088137,), (1388087960,), (1388088005,), (1388088051,), (1388088104,), (1388088142,), (1388088143,), (1388088144,), (1388088152,), (1388088154,), (1388088155,), (1388088186,), (1388088580,), (1388088593,), (1388088739,), (1388088741,), (1388088743,), (1388088746,), (1388088748,), (1388088750,), (1388088755,), (1388088757,), (1388088764,), (1388088768,), (1388088772,), (1388088774,), (1388088775,), (1388088778,), (1388088781,), (1388088783,), (1388088788,), (1388088790,), (1388088792,), (1388088795,), (1388088798,), (1388088804,), (1388088806,), (1388088807,), (1388088810,), (1388088813,), (1388088815,), (1388088827,), (1388088830,), (1388088833,), (1388089058,), (1388089103,), (1388089143,), (1388089194,), (1388089240,), (1388089665,), (1388089711,), (1388089754,), (1388089809,), (1388089826,), (1388089850,), (1388089890,), (1388089932,), (1388089979,), (1388089999,), (1388090001,), (1388090218,), (1388090263,), (1388090313,), (1388090594,), (1388090588,), (1388090591,), (1388090702,), (1388090704,), (1388090706,), (1388090709,), (1388090712,), (1388090716,), (1388090722,), (1388090724,), (1388090728,), (1388090733,), (1388090738,), (1388090744,), (1388090746,), (1388090749,), (1388090753,), (1388090755,), (1388090757,), (1388090761,), (1388090763,), (1388090765,), (1388090769,), (1388090773,), (1388090785,), (1388090786,), (1388090788,), (1388090791,), (1388090793,), (1388090795,), (1388090800,), (1388090807,), (1388090815,), (1388090819,), (1388091058,), (1388091099,), (1388091147,), (1388091193,), (1388091237,), (1388091448,), (1388091450,), (1388091451,), (1388091455,), (1388091499,), (1388091542,), (1388092076,), (1388092095,), (1388092104,), (1388092106,), (1388092109,), (1388092111,), (1388092114,), (1388092155,), (1388092198,), (1388092238,), (1388092291,), (1388092292,), (1388092294,), (1388092295,), (1388092296,), (1388092299,), (1388092309,), (1388092311,), (1388092314,), (1388092355,), (1388092397,), (1388092446,), (1388092511,), (1388092513,), (1388092517,), (1388092546,), (1388092575,), (1388092606,), (1388092608,), (1388092610,), (1388092615,), (1388092617,), (1388092619,), (1388092621,), (1388092623,), (1388092626,), (1388092629,), (1388092630,), (1388092633,), (1388092636,), (1388092652,), (1388092647,), (1388092648,), (1388092649,), (1388092664,), (1388092666,), (1388092667,), (1388092669,), (1388092672,), (1388092675,), (1388092685,), (1388092687,), (1388092690,), (1388092733,), (1388092777,), (1388093005,), (1388093008,), (1388093047,), (1388093091,), (1388093098,), (1388093144,), (1388093145,), (1388093147,), (1388093150,), (1388093153,), (1388093156,), (1388093163,), (1388093164,), (1388093166,), (1388093169,), (1388093188,), (1388093190,), (1388093192,), (1388093196,), (1388093198,), (1388093200,), (1388093207,), (1388093210,), (1388093213,), (1388093216,), (1388093218,), (1388093220,), (1388093225,), (1388093228,), (1388093230,), (1388093234,), (1388093238,), (1388093241,), (1388093245,), (1388093247,), (1388093254,), (1388093255,), (1388093256,), (1388093259,), (1388093262,), (1388093282,), (1388093284,), (1388093286,), (1388093290,), (1388093293,), (1388093307,), (1388093310,), (1388093314,), (1388093318,), (1388093321,), (1388093323,), (1388093333,), (1388093335,), (1388093336,), (1388093340,), (1388093352,), (1388093355,), (1388093358,), (1388093361,), (1388093366,), (1388093369,), (1388093384,), (1388093386,), (1388093388,), (1388093391,), (1388093406,), (1388093409,), (1388093411,), (1388093415,), (1388093418,), (1388093422,), (1388093825,), (1388093681,), (1388093740,), (1388093783,), (1388094048,), (1388094052,), (1388094057,), (1388094061,), (1388094121,), (1388094167,), (1388094302,), (1388094305,), (1388094308,), (1388094312,), (1388094565,), (1388094606,), (1388094650,), (1388094696,), (1388094732,), (1388094735,), (1388094843,), (1388094845,), (1388094871,), (1388094886,), (1388094909,), (1388094910,), (1388094911,), (1388094914,), (1388094917,), (1388094919,), (1388094926,), (1388094939,), (1388094942,), (1388094945,), (1388094947,), (1388094952,), (1388094953,), (1388094956,), (1388094960,), (1388094963,), (1388094965,), (1388094969,), (1388094971,), (1388094973,), (1388094976,), (1388094983,), (1388095019,), (1388095067,), (1388095111,), (1388095159,), (1388095208,), (1388095510,), (1388095511,), (1388095513,), (1388095515,), (1388095644,), (1388095645,), (1388095647,), (1388095649,), (1388095652,), (1388095654,), (1388095664,), (1388095666,), (1388095667,), (1388095677,), (1388095678,), (1388095679,), (1388095710,), (1388095750,), (1388095796,), (1388096094,), (1388096097,), (1388096098,), (1388096102,), (1388096273,), (1388096264,), (1388096265,), (1388096268,), (1388096271,), (1388096299,), (1388096340,), (1388096384,), (1388096427,), (1388096545,), (1388096547,), (1388096548,), (1388096550,), (1388096552,), (1388096554,), (1388096558,), (1388096576,), (1388096579,), (1388096582,), (1388096585,), (1388096590,), (1388096591,), (1388096593,), (1388096595,), (1388096597,), (1388096599,), (1388096602,), (1388096603,), (1388096604,), (1388096606,), (1388096608,), (1388096622,), (1388096624,), (1388096627,), (1388096630,), (1388096632,), (1388096635,), (1388096643,), (1388096646,), (1388096648,), (1388096650,), (1388096651,), (1388096652,), (1388096656,), (1388096658,), (1388096661,), (1388096663,), (1388096665,), (1388096667,), (1388096668,), (1388096669,), (1388096671,), (1388096675,), (1388096678,), (1388096680,), (1388096682,), (1388096684,), (1388096687,), (1388096690,), (1388096703,), (1388096706,), (1388096709,), (1388096711,), (1388096716,), (1388096717,), (1388096718,), (1388096728,), (1388096730,), (1388096732,), (1388096734,), (1388096737,), (1388096981,), (1388097063,), (1388097146,), (1388097231,), (1388097321,), (1388097424,), (1388098012,), (1388098016,), (1388098019,), (1388098041,), (1388101067,), (1388101069,), (1388101084,), (1388101087,), (1388101089,), (1388101093,), (1388101097,), (1388101107,), (1388101108,), (1388101116,), (1388101147,), (1388101188,), (1388101231,), (1388101634,), (1388101635,), (1388101636,), (1388101638,), (1388101661,), (1388101709,), (1388101756,), (1388101758,), (1388101759,), (1388101762,), (1388101775,), (1388101777,), (1388101780,), (1388101814,), (1388101815,), (1388101824,), (1388101826,), (1388101829,), (1388101831,), (1388101845,), (1388101848,), (1388101851,), (1388101856,), (1388101862,), (1388101875,), (1388101889,), (1388101890,), (1388101893,), (1388101912,), (1388101913,), (1388101915,), (1388101919,), (1388101923,), (1388101933,), (1388101935,), (1388101936,), (1388101940,), (1388101944,), (1388101947,), (1388101961,), (1388101952,), (1388101953,), (1388101954,), (1388101957,), (1388101970,), (1388101972,), (1388101973,), (1388101976,), (1388101980,), (1388101983,), (1388102210,), (1388102252,), (1388102282,), (1388102320,), (1388102342,), (1388102369,), (1388102370,), (1388102372,), (1388102375,), (1388102378,), (1388102380,), (1388102384,), (1388102386,), (1388102389,), (1388102393,), (1388102394,), (1388102396,), (1388102399,), (1388102400,), (1388102401,), (1388102402,), (1388102435,), (1388102436,), (1388102437,), (1388102439,), (1388102441,), (1388102443,), (1388102449,), (1388102450,), (1388102452,), (1388102454,), (1388102456,), (1388102457,), (1388102458,), (1388102460,), (1388102464,), (1388102466,), (1388102469,), (1388102471,), (1388102473,), (1388102474,), (1388102476,), (1388102477,), (1388102479,), (1388102482,), (1388102485,), (1388102491,), (1388102499,), (1388102510,), (1388102513,), (1388102517,), (1388102527,), (1388102528,), (1388102529,), (1388102532,), (1388102544,), (1388102546,), (1388102550,), (1388102553,), (1388103019,), (1388103040,), (1388103042,), (1388103772,), (1388103732,), (1388103758,), (1388103760,), (1388103762,), (1388103767,), (1388103859,), (1388103925,), (1388103983,), (1388103995,), (1388104448,), (1388104449,), (1388104450,), (1388104452,), (1388104456,), (1388104681,), (1388104682,), (1388104683,), (1388104686,), (1388104689,), (1388104692,), (1388104848,), (1388104865,), (1388104868,), (1388104871,), (1388105307,), (1388105308,), (1388105422,), (1388105484,), (1388105516,), (1388105542,), (1388105622,), (1388105623,), (1388105627,), (1388105629,), (1388105673,), (1388105689,), (1388105832,), (1388105891,), (1388105895,), (1388105898,), (1388107265,), (1388107267,), (1388107380,), (1388107383,), (1388107390,), (1388108535,), (1388108536,), (1388108538,), (1388108765,), (1388108804,), (1388108881,), (1388109013,), (1388109016,), (1388109020,), (1388109037,), (1388109043,), (1388109153,), (1388109520,), (1388109570,), (1388109616,), (1388109665,), (1388110383,), (1388110447,), (1388110470,), (1388110473,), (1388110477,), (1388110711,), (1388110725,), (1388110744,), (1388110749,), (1388110751,), (1388110805,), (1388110809,), (1388110920,), (1388110933,), (1388110947,), (1388111041,), (1388111010,), (1388111011,), (1388111014,), (1388111019,), (1388111022,), (1388111686,), (1388111689,), (1388111699,), (1388112238,), (1388112244,), (1388112347,), (1388112373,), (1388112397,), (1388112410,), (1388113071,), (1388113074,), (1388113087,), (1388113090,), (1388113518,), (1388113539,), (1388113540,), (1388113543,), (1388113548,), (1388113552,), (1388113990,), (1388114044,), (1388114103,), (1388114161,), (1388114208,), (1388114639,), (1388114681,), (1388114725,), (1388114734,), (1388114738,), (1388115002,), (1388115206,), (1388115247,), (1388115298,), (1388115378,), (1388115420,), (1388115583,), (1388115585,), (1388115587,), (1388115590,), (1388115594,), (1388115643,), (1388115644,), (1388115647,), (1388115769,), (1388115770,), (1388115771,), (1388116204,), (1388116205,), (1388116339,), (1388116389,), (1388116440,), (1388116466,), (1388116499,), (1388116501,), (1388116850,), (1388116949,), (1388116953,), (1388116962,), (1388117026,), (1388117015,), (1388117017,), (1388117018,), (1388117022,), (1388117024,), (1388117082,), (1388117083,), (1388117084,), (1388117092,), (1388117463,), (1388117514,), (1388117517,), (1388117520,), (1388117524,), (1388117532,), (1388117563,), (1388117572,), (1388117583,), (1388117831,), (1388117849,), (1388117860,), (1388117871,), (1388117881,), (1388117889,), (1388117896,), (1388117897,), (1388117898,), (1388117902,), (1388117929,), (1388117944,), (1388117951,), (1388117968,), (1388118053,), (1388118090,), (1388118278,), (1388118309,), (1388118310,), (1388118314,), (1388118463,), (1388118468,), (1388118528,), (1388118531,), (1388118536,), (1388118549,), (1388118593,), (1388118597,), (1388118599,), (1388118603,), (1388118629,), (1388118675,), (1388118745,), (1388118748,), (1388118756,), (1388118891,), (1388119058,), (1388119059,), (1388119062,), (1388119064,), (1388119072,), (1388119080,), (1388119088,), (1388119091,), (1388119100,), (1388119102,), (1388119104,), (1388119106,), (1388119127,), (1388119130,), (1388119132,), (1388119135,), (1388119200,), (1388119203,), (1388119208,), (1388119211,), (1388119233,), (1388119241,), (1388119243,), (1388119245,), (1388119247,), (1388119249,), (1388119614,), (1388119618,), (1388119620,), (1388119623,), (1388119934,), (1388119924,), (1388119927,), (1388119931,), (1388120098,), (1388120100,), (1388120113,), (1388120118,), (1388120243,), (1388120261,), (1388120279,), (1388120290,), (1388120297,), (1388120477,), (1388120672,), (1388120674,), (1388120676,), (1388120679,), (1388120682,), (1388121519,), (1388121520,), (1388121522,), (1388121525,), (1388121533,), (1388122238,), (1388122240,), (1388122306,), (1388122334,), (1388122339,), (1388122346,), (1388122386,), (1388122397,), (1388122401,), (1388122405,), (1388123909,), (1388123926,), (1388123931,), (1388123935,), (1388123971,), (1388124252,), (1388124259,), (1388124305,), (1388124319,), (1388124322,), (1388124326,), (1388124527,), (1388124529,), (1388124558,), (1388124563,), (1388124576,), (1388125398,), (1388125410,), (1388125529,), (1388125533,), (1388125584,), (1388125589,), (1388125661,), (1388125694,), (1388125699,), (1388125861,), (1388125893,), (1388125924,), (1388125962,), (1388125997,), (1388126553,), (1388126704,), (1388126710,), (1388126976,), (1388126980,), (1388126985,), (1388126988,), (1388126992,), (1388127495,), (1388127666,), (1388127676,), (1388127679,), (1388127684,), (1388128914,), (1388128956,), (1388128987,), (1388129020,), (1388129066,), (1388129110,), (1388128743,), (1388128757,), (1388128833,), (1388128913,), (1388128960,), (1388128963,), (1388128966,), (1388128968,), (1388128971,), (1388128980,), (1388129306,), (1388129307,), (1388129392,), (1388129401,), (1388129486,), (1388129487,), (1388129540,), (1388129544,), (1388129669,), (1388129735,), (1388130251,), (1388130301,), (1388130446,), (1388130501,), (1388130517,), (1388130537,), (1388130575,), (1388130591,), (1388130635,), (1388130696,), (1388131327,), (1388131346,), (1388131371,), (1388131383,), (1388131387,), (1388131403,), (1388131406,), (1388131433,), (1388131552,), (1388131704,), (1388131705,), (1388131733,), (1388131737,), (1388131757,), (1388131759,), (1388131766,), (1388131768,), (1388131770,), (1388132060,), (1388132215,), (1388132391,), (1388132392,), (1388132404,), (1388132406,), (1388132409,), (1388132411,), (1388132864,), (1388132866,), (1388132868,), (1388133040,), (1388133286,), (1388133697,), (1388133719,), (1388133721,), (1388133725,), (1388133727,), (1388133729,), (1388133743,), (1388133745,), (1388133746,), (1388133749,), (1388133752,), (1388133754,), (1388134750,), (1388134791,), (1388134798,), (1388134816,), (1388134823,), (1388135200,), (1388135569,), (1388135576,), (1388135579,), (1388135641,), (1388136067,), (1388135967,), (1388135972,), (1388135974,), (1388136001,), (1388136259,), (1388136274,), (1388136277,), (1388136285,), (1388136297,), (1388136300,), (1388136301,), (1388136303,), (1388136312,), (1388136315,), (1388136317,), (1388136494,), (1388136513,), (1388136525,), (1388136529,), (1388136587,), (1388136588,), (1388136649,), (1388136653,), (1388136656,), (1388136658,), (1388138028,), (1388138100,), (1388138101,), (1388138104,), (1388138509,), (1388138510,), (1388138511,), (1388138513,), (1388138516,), (1388138518,), (1388138723,), (1388138776,), (1388138895,), (1388138995,), (1388139127,), (1388139128,), (1388139129,), (1388139132,), (1388139136,), (1388139139,), (1388139351,), (1388139392,), (1388139433,), (1388139478,), (1388140113,), (1388140158,), (1388140214,), (1388140262,), (1388140305,), (1388140730,), (1388140889,), (1388141103,), (1388141111,), (1388141115,), (1388141305,), (1388141307,), (1388141316,), (1388141361,), (1388141419,), (1388141925,), (1388141941,), (1388142248,), (1388142906,), (1388142954,), (1388144105,), (1388144123,), (1388144151,), (1388144214,), (1388146442,), (1388146087,), (1388146089,), (1388146213,), (1388146221,), (1388146406,), (1388146729,), (1388146730,), (1388146766,), (1388146818,), (1388146943,), (1388146945,), (1388146972,), (1388146974,), (1388146994,), (1388146997,), (1388147001,), (1388147003,), (1388147116,), (1388147118,), (1388147137,), (1388147167,), (1388147175,), (1388147230,), (1388147322,), (1388147331,), (1388147349,), (1388147405,), (1388147419,), (1388147421,), (1388147424,), (1388147429,), (1388147495,), (1388147499,), (1388147522,), (1388147526,), (1388148672,), (1388148854,), (1388148863,), (1388148868,), (1388148881,), (1388148885,), (1388149707,), (1388149753,), (1388149758,), (1388149762,), (1388149765,), (1388149819,), (1388149824,), (1388149826,), (1388149827,), (1388149940,), (1388149942,), (1388150239,), (1388150243,), (1388150244,), (1388150254,), (1388150272,), (1388150276,), (1388150330,), (1388150332,), (1388150480,), (1388150523,), (1388150525,), (1388150527,), (1388150531,), (1388150533,), (1388150609,), (1388150616,), (1388150625,), (1388150626,), (1388150693,), (1388150695,), (1388150696,), (1388150710,), (1388150714,), (1388150815,), (1388150871,), (1388150874,), (1388150876,), (1388150943,), (1388150949,), (1388150954,), (1388150958,), (1388150962,), (1388150965,), (1388150988,), (1388150991,), (1388150992,), (1388150996,), (1388151082,), (1388151075,), (1388151077,), (1388151079,), (1388151112,), (1388151117,), (1388151119,), (1388151122,), (1388151206,), (1388152154,), (1388152156,), (1388152157,), (1388152159,), (1388152433,), (1388152444,), (1388152483,), (1388152486,), (1388152489,), (1388152505,), (1388152638,), (1388152664,), (1388152686,), (1388154218,), (1388154229,), (1388154235,), (1388154243,), (1388154246,), (1388154532,), (1388154545,), (1388154550,), (1388154553,), (1388154558,), (1388154625,), (1388154642,), (1388154644,), (1388154646,), (1388154798,), (1388154800,), (1388154802,), (1388154806,), (1388154889,), (1388155288,), (1388155516,), (1388155653,), (1388155686,), (1388155738,), (1388155787,), (1388155823,), (1388155835,), (1388155848,), (1388155851,), (1388155855,), (1388155858,), (1388155946,), (1388155970,), (1388155991,), (1388155995,), (1388156001,), (1388156003,), (1388156014,), (1388156026,), (1388156027,), (1388156030,), (1388156963,), (1388157371,), (1388157948,), (1388158107,), (1388158111,), (1388158126,), (1388158155,), (1388158179,), (1388158883,), (1388158926,), (1388159243,), (1388159311,), (1388159426,), (1388159437,), (1388159479,), (1388159211,), (1388159213,), (1388159218,), (1388159220,), (1388159222,), (1388159255,), (1388159270,), (1388159274,), (1388159277,), (1388159280,), (1388159521,), (1388159525,), (1388159559,), (1388159568,), (1388159595,), (1388159607,), (1388159918,), (1388160141,), (1388160145,), (1388160150,), (1388160474,), (1388160477,), (1388160479,), (1388160488,), (1388160492,), (1388160520,), (1388160521,), (1388160522,), (1388160711,), (1388160713,), (1388160725,), (1388160729,), (1388160733,), (1388160736,), (1388161582,), (1388161584,), (1388161650,), (1388161958,), (1388161960,), (1388161966,), (1388161973,), (1388161981,), (1388162015,), (1388195380,), (1388196327,), (1388196329,), (1388196330,), (1388196752,), (1388196760,), (1388197553,), (1388197556,), (1388198520,), (1388199679,), (1388199684,), (1388199752,), (1388200378,), (1388200643,), (1388200650,), (1388200667,), (1388200672,), (1388200732,), (1388200740,), (1388200746,), (1388200769,), (1388200838,), (1388200821,), (1388200823,), (1388200825,), (1388200828,), (1388200833,), (1388201753,), (1388201769,), (1388201829,), (1388201833,), (1388201974,), (1388201989,), (1388201999,), (1388202014,), (1388202374,), (1388202386,), (1388202581,), (1388202584,), (1388202586,), (1388202591,), (1388202596,), (1388202600,), (1388202612,), (1388202616,), (1388202620,), (1388202624,), (1388202628,), (1388202631,), (1388202917,), (1388202920,), (1388202925,), (1388203045,), (1388203147,), (1388203151,), (1388203154,), (1388203158,), (1388203176,), (1388203180,), (1388203207,), (1388203209,), (1388203211,), (1388203213,), (1388203215,), (1388203220,), (1388203224,), (1388203228,), (1388203233,), (1388203237,), (1388203239,), (1388203242,), (1388203554,), (1388203556,), (1388203660,), (1388203663,), (1388203702,), (1388203730,), (1388203777,), (1388203783,), (1388203799,), (1388203804,), (1388203807,), (1388203811,), (1388203828,), (1388203832,), (1388203836,), (1388203842,), (1388203961,), (1388203964,), (1388203968,), (1388203973,), (1388203977,), (1388204032,), (1388204395,), (1388204639,), (1388204642,), (1388204646,), (1388204651,), (1388205518,), (1388205660,), (1388205666,), (1388205748,), (1388205755,), (1388205765,), (1388205770,), (1388205851,), (1388205834,), (1388205837,), (1388205839,), (1388205843,), (1388205847,), (1388206609,), (1388206614,), (1388206627,), (1388206756,), (1388207257,), (1388207259,), (1388207263,), (1388207268,), (1388207272,), (1388207278,), (1388207307,), (1388207310,), (1388207312,), (1388207462,), (1388207485,), (1388207553,), (1388207556,), (1388207557,), (1388207560,), (1388207565,), (1388207570,), (1388207634,), (1388207637,), (1388207640,), (1388207651,), (1388207667,), (1388207695,), (1388207699,), (1388207893,), (1388208108,), (1388208149,), (1388208155,), (1388208160,), (1388208164,), (1388208172,), (1388208245,), (1388208291,), (1388208310,), (1388208326,), (1388208338,), (1388208350,), (1388208355,), (1388208357,), (1388208360,), (1388208363,), (1388208365,), (1388208401,), (1388208405,), (1388208409,), (1388208411,), (1388208419,), (1388208438,), (1388208455,), (1388208468,), (1388208469,), (1388208470,), (1388208471,), (1388208474,), (1388208477,), (1388208482,), (1388208487,), (1388208498,), (1388208506,), (1388208513,), (1388208527,), (1388208530,), (1388208533,), (1388208540,), (1388208543,), (1388208701,), (1388209380,), (1388209595,), (1388209602,), (1388209605,), (1388209607,), (1388209610,), (1388209614,), (1388209838,), (1388209946,), (1388209943,), (1388209945,), (1388209977,), (1388209990,), (1388210002,), (1388210006,), (1388210011,), (1388210015,), (1388210050,), (1388210051,), (1388210296,), (1388211104,), (1388211897,), (1388211924,), (1388211957,), (1388211998,), (1388212003,), (1388212007,), (1388212070,), (1388212072,), (1388212075,), (1388212079,), (1388212082,), (1388212085,), (1388212089,), (1388212090,), (1388212091,), (1388212094,), (1388212095,), (1388212153,), (1388212158,), (1388212161,), (1388212164,), (1388212166,), (1388212170,), (1388212202,), (1388212203,), (1388212205,), (1388212206,), (1388212208,), (1388212209,), (1388212212,), (1388212213,), (1388212215,), (1388212216,), (1388212218,), (1388212219,), (1388212941,), (1388212942,), (1388212945,), (1388212988,), (1388213035,), (1388213080,), (1388213318,), (1388213389,), (1388213425,), (1388213820,), (1388213912,), (1388213921,), (1388214166,), (1388214168,), (1388214197,), (1388214271,), (1388214296,), (1388214303,), (1388214338,), (1388214368,), (1388214379,), (1388214380,), (1388214385,), (1388214455,), (1388214458,), (1388214461,), (1388214463,), (1388214890,), (1388214893,), (1388214895,), (1388215081,), (1388215089,), (1388215091,), (1388215138,), (1388215142,), (1388215143,), (1388215145,), (1388215150,), (1388215192,), (1388215197,), (1388215198,), (1388215201,), (1388215205,), (1388215954,), (1388215740,), (1388215946,), (1388215950,), (1388216050,), (1388216064,), (1388216078,), (1388216081,), (1388216085,), (1388216089,), (1388216098,), (1388216100,), (1388216102,), (1388216106,), (1388216110,), (1388216132,), (1388216135,), (1388216137,), (1388216140,), (1388216143,), (1388216148,), (1388216208,), (1388216210,), (1388216213,), (1388216217,), (1388216220,), (1388216245,), (1388216252,), (1388216253,), (1388216266,), (1388216271,), (1388216668,), (1388216935,), (1388216937,), (1388216939,), (1388216943,), (1388216952,), (1388217092,), (1388217095,), (1388217096,), (1388217099,), (1388217103,), (1388217486,), (1388217488,), (1388217522,), (1388217530,), (1388217533,), (1388217666,), (1388217669,), (1388217673,), (1388217676,), (1388217678,), (1388217681,), (1388217685,), (1388217686,), (1388217687,), (1388217749,), (1388217757,), (1388217768,), (1388217772,), (1388217773,), (1388217775,), (1388217781,), (1388217782,), (1388217784,), (1388217799,), (1388218009,), (1388218357,), (1388218362,), (1388218376,), (1388218378,), (1388218381,), (1388218862,), (1388218879,), (1388218882,), (1388218950,), (1388219129,), (1388219178,), (1388219267,), (1388219270,), (1388219275,), (1388219277,), (1388219322,), (1388219312,), (1388219318,), (1388219388,), (1388219389,), (1388219390,), (1388219392,), (1388219399,), (1388219416,), (1388219437,), (1388220023,), (1388220053,), (1388220093,), (1388220097,), (1388220100,), (1388220110,), (1388220293,), (1388220310,), (1388220312,), (1388220315,), (1388220364,), (1388220373,), (1388220397,), (1388220401,), (1388220449,), (1388220452,), (1388220811,), (1388221097,), (1388221104,), (1388221142,), (1388221155,), (1388221158,), (1388221161,), (1388221174,), (1388221184,), (1388221186,), (1388221214,), (1388221254,), (1388221291,), (1388221301,), (1388221323,), (1388221327,), (1388221345,), (1388221350,), (1388221358,), (1388221373,), (1388221381,), (1388221386,), (1388221388,), (1388221390,), (1388221492,), (1388221833,), (1388221949,), (1388222030,), (1388222034,), (1388222079,), (1388222117,), (1388222277,), (1388222281,), (1388222285,), (1388222290,), (1388222293,), (1388222306,), (1388222330,), (1388222332,), (1388222347,), (1388222519,), (1388222523,), (1388222526,), (1388222531,), (1388222972,), (1388222986,), (1388222989,), (1388222993,), (1388222998,), (1388223001,), (1388223009,), (1388223081,), (1388223683,), (1388224215,), (1388224300,), (1388224307,), (1388224857,), (1388224881,), (1388225042,), (1388236918,), (1388236920,), (1388236922,), (1388236923,), (1388236929,), (1388236949,), (1388236979,), (1388236982,), (1388236983,), (1388236985,), (1388236986,), (1388236987,), (1388236989,), (1388236992,), (1388236995,), (1388236998,), (1388237001,), (1388237004,), (1388237016,), (1388237018,), (1388237023,), (1388237026,), (1388237032,), (1388237036,), (1388237056,), (1388237058,), (1388237061,), (1388237064,), (1388237067,), (1388237070,), (1388237083,), (1388237087,), (1388237090,), (1388237092,), (1388237096,), (1388237099,), (1388237124,), (1388237125,), (1388237129,), (1388237131,), (1388237133,), (1388237134,), (1388237138,), (1388237139,), (1388237146,), (1388237147,), (1388237151,), (1388237152,), (1388237344,), (1388237345,), (1388237411,), (1388237416,), (1388237421,), (1388237425,), (1388237433,), (1388237435,), (1388237589,), (1388237593,), (1388237597,), (1388237615,), (1388237675,), (1388237678,), (1388237698,), (1388237751,), (1388237755,), (1388237158,), (1388237163,), (1388237167,), (1388237170,), (1388237177,), (1388237180,), (1388237184,), (1388237188,), (1388237191,), (1388237194,), (1388237206,), (1388237224,), (1388237236,), (1388237239,), (1388237241,), (1388237250,), (1388237255,), (1388237258,), (1388237280,), (1388237283,), (1388237286,), (1388237289,), (1388237292,), (1388237296,), (1388237349,), (1388237350,), (1388237353,), (1388237354,), (1388237357,), (1388237358,), (1388237369,), (1388237370,), (1388237377,), (1388237378,), (1388237486,), (1388237520,), (1388237531,), (1388237534,), (1388237537,), (1388237542,), (1388237621,), (1388237629,), (1388237761,), (1388237766,), (1388237777,), (1388237779,), (1388237784,), (1388237788,), (1388237886,), (1388237890,), (1388237899,), (1388237905,), (1388237908,), (1388237911,), (1388237914,), (1388237916,), (1388237991,), (1388237992,), (1388237996,), (1388238000,), (1388238005,), (1388238030,), (1388238103,), (1388238104,), (1388238172,), (1388238182,), (1388238186,), (1388238190,), (1388238208,), (1388238210,), (1388238226,), (1388238230,), (1388238233,), (1388238236,), (1388238237,), (1388238239,), (1388238241,), (1388238243,), (1388238245,), (1388238267,), (1388238270,), (1388238273,), (1388238309,), (1388238311,), (1388238313,), (1388238392,), (1388238419,), (1388238445,), (1388237664,), (1388237667,), (1388237671,), (1388237735,), (1388237740,), (1388237743,), (1388237747,), (1388237822,), (1388237823,), (1388237832,), (1388237833,), (1388237841,), (1388237842,), (1388237845,), (1388237848,), (1388237851,), (1388237854,), (1388237856,), (1388237858,), (1388237869,), (1388237873,), (1388237875,), (1388237881,), (1388237950,), (1388237954,), (1388237959,), (1388237967,), (1388237979,), (1388237981,), (1388238040,), (1388238041,), (1388238061,), (1388238062,), (1388238064,), (1388238065,), (1388238081,), (1388238083,), (1388238098,), (1388238100,), (1388238134,), (1388238147,), (1388238149,), (1388238157,), (1388238160,), (1388238163,), (1388238216,), (1388238219,), (1388238222,), (1388238255,), (1388238258,), (1388238305,), (1388238307,), (1388238330,), (1388238333,), (1388238341,), (1388238368,), (1388238382,), (1388238399,), (1388238402,), (1388238405,), (1388238408,), (1388238491,), (1388238494,), (1388238532,), (1388238536,), (1388238540,), (1388238550,), (1388238551,), (1388238553,), (1388238555,), (1388238558,), (1388238562,), (1388238619,), (1388238632,), (1388238644,), (1388238658,), (1388238723,), (1388238753,), (1388238759,), (1388238765,), (1388238768,), (1388238684,), (1388238686,), (1388238688,), (1388238696,), (1388238707,), (1388238736,), (1388238738,), (1388238741,), (1388238744,), (1388238750,), (1388238782,), (1388238789,), (1388238793,), (1388238801,), (1388238805,), (1388238808,), (1388238891,), (1388238892,), (1388238894,), (1388238895,), (1388238897,), (1388238900,), (1388238901,), (1388238902,), (1388238922,), (1388238924,), (1388238925,), (1388238928,), (1388238930,), (1388238933,), (1388238959,), (1388238963,), (1388238967,), (1388238970,), (1388238972,), (1388238974,), (1388239003,), (1388239011,), (1388239026,), (1388239032,), (1388239055,), (1388239110,), (1388239112,), (1388239113,), (1388239115,), (1388239117,), (1388239120,), (1388239155,), (1388239159,), (1388239162,), (1388239166,), (1388239169,), (1388239176,), (1388239177,), (1388239182,), (1388239186,), (1388239188,), (1388239228,), (1388239229,), (1388239233,), (1388239238,), (1388239241,), (1388239245,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'08102025': {'nb_upload': 63, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27604223]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1388239245, 1388239241, 1388239238, 1388239233, 1388239229, 1388239228, 1388239188, 1388239186, 1388239182, 1388239177, 1388239176] map_info['map_portfolio_photo'] : {27604223: [1388239245, 1388239241, 1388239238, 1388239233, 1388239229, 1388239228, 1388239188, 1388239186, 1388239182, 1388239177, 1388239176, 1388239169, 1388239166, 1388239162, 1388239159, 1388239155, 1388239120, 1388239117, 1388239115, 1388239113, 1388239112, 1388239110, 1388239055, 1388239032, 1388239026, 1388239011, 1388239003, 1388238974, 1388238972, 1388238970, 1388238967, 1388238963, 1388238959, 1388238933, 1388238930, 1388238928, 1388238925, 1388238924, 1388238922, 1388238902, 1388238901, 1388238900, 1388238897, 1388238895, 1388238894, 1388238892, 1388238891, 1388238808, 1388238805, 1388238801, 1388238793, 1388238789, 1388238782, 1388238750, 1388238744, 1388238741, 1388238738, 1388238736, 1388238707, 1388238696, 1388238688, 1388238686, 1388238684]} final : True mtd_id 4302 list_pids : [1388239245, 1388239241, 1388239238, 1388239233, 1388239229, 1388239228, 1388239188, 1388239186, 1388239182, 1388239177, 1388239176] Looping around the photos to save general results len do output : 1 /27604223Didn'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, '3886515') ('4302', '27604223', '1388239245', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239241', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239238', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239233', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239229', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239228', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239188', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239186', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239182', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239177', None, None, None, None, None, '3886515') ('4302', None, None, None, None, None, None, None, '3886515') ('4302', '27604223', '1388239176', None, None, None, None, None, '3886515') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 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, '27604223', 'None', None, None, None, None, '3886515'), ('4302', '27604223', '1388239245', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239241', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239238', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239233', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239229', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239228', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239188', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239186', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239182', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239177', None, None, None, None, None, '3886515'), ('4302', '27604223', '1388239176', None, None, None, None, None, '3886515')] time used for this insertion : 0.03703451156616211 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.458698987960815 time spend to save output : 0.037268877029418945 total time spend for step 5 : 8.495967864990234 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 (3886515) 2.21user 2.33system 0:19.66elapsed 23%CPU (0avgtext+0avgdata 160892maxresident)k 264inputs+11880outputs (2major+64193minor)pagefaults 0swaps