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 : 3393375 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 (3637502) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3637502) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26335814 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3637502'] with mtr_portfolio_ids : ['26335814'] and first list_photo_ids : [] new path : /proc/3393375/ Name: python3 Umask: 0002 State: R (running) Tgid: 3393375 Ngid: 0 Pid: 3393375 PPid: 3393374 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3393375 NSpid: 3393375 NSpgid: 3391335 NSsid: 3391335 VmPeak: 1107248 kB VmSize: 1107248 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99968 kB VmRSS: 99968 kB RssAnon: 60168 kB RssFile: 39800 kB RssShmem: 0 kB VmData: 866000 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 604 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 48 nonvoluntary_ctxt_switches: 75 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3393375', 'Ngid': '0', 'Pid': '3393375', 'PPid': '3393374', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3393375', 'NSpid': '3393375', 'NSpgid': '3391335', 'NSsid': '3391335', 'VmPeak': '1107248 kB', 'VmSize': '1107248 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99968 kB', 'VmRSS': '99968 kB', 'RssAnon': '60168 kB', 'RssFile': '39800 kB', 'RssShmem': '0 kB', 'VmData': '866000 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '604 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '48', 'nonvoluntary_ctxt_switches': '75'} ('datou_batch_current', '3393375', '1107248', '0', '1107248', '866000', '99968', b'', 'marlene', '3637502') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (26335814) 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 (3637502 ) ) 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 (26335814) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1380129100, 'portfolio_id': 26335814}, {'photo_id': 1380129099, 'portfolio_id': 26335814}, {'photo_id': 1380129098, 'portfolio_id': 26335814}, {'photo_id': 1380129097, 'portfolio_id': 26335814}, {'photo_id': 1380129096, 'portfolio_id': 26335814}, {'photo_id': 1380129059, 'portfolio_id': 26335814}, {'photo_id': 1380129058, 'portfolio_id': 26335814}, {'photo_id': 1380129057, 'portfolio_id': 26335814}, {'photo_id': 1380129056, 'portfolio_id': 26335814}, {'photo_id': 1380128975, 'portfolio_id': 26335814}, {'photo_id': 1380128974, 'portfolio_id': 26335814}, {'photo_id': 1380128973, 'portfolio_id': 26335814}, {'photo_id': 1380128972, 'portfolio_id': 26335814}, {'photo_id': 1380128971, 'portfolio_id': 26335814}, {'photo_id': 1380128970, 'portfolio_id': 26335814}, {'photo_id': 1380128816, 'portfolio_id': 26335814}, {'photo_id': 1380128814, 'portfolio_id': 26335814}, {'photo_id': 1380128812, 'portfolio_id': 26335814}, {'photo_id': 1380128810, 'portfolio_id': 26335814}, {'photo_id': 1380128808, 'portfolio_id': 26335814}, {'photo_id': 1380128719, 'portfolio_id': 26335814}, {'photo_id': 1380128718, 'portfolio_id': 26335814}, {'photo_id': 1380128716, 'portfolio_id': 26335814}, {'photo_id': 1380128714, 'portfolio_id': 26335814}, {'photo_id': 1380128712, 'portfolio_id': 26335814}, {'photo_id': 1380128670, 'portfolio_id': 26335814}, {'photo_id': 1380128669, 'portfolio_id': 26335814}, {'photo_id': 1380128668, 'portfolio_id': 26335814}, {'photo_id': 1380128667, 'portfolio_id': 26335814}, {'photo_id': 1380128666, 'portfolio_id': 26335814}, {'photo_id': 1380128665, 'portfolio_id': 26335814}, {'photo_id': 1380128520, 'portfolio_id': 26335814}, {'photo_id': 1380128519, 'portfolio_id': 26335814}, {'photo_id': 1380128518, 'portfolio_id': 26335814}, {'photo_id': 1380128516, 'portfolio_id': 26335814}, {'photo_id': 1380128514, 'portfolio_id': 26335814}, {'photo_id': 1380128512, 'portfolio_id': 26335814}, {'photo_id': 1380128452, 'portfolio_id': 26335814}, {'photo_id': 1380128451, 'portfolio_id': 26335814}, {'photo_id': 1380128449, 'portfolio_id': 26335814}, {'photo_id': 1380128448, 'portfolio_id': 26335814}, {'photo_id': 1380128447, 'portfolio_id': 26335814}, {'photo_id': 1380128427, 'portfolio_id': 26335814}, {'photo_id': 1380128426, 'portfolio_id': 26335814}, {'photo_id': 1380128425, 'portfolio_id': 26335814}, {'photo_id': 1380128424, 'portfolio_id': 26335814}, {'photo_id': 1380128423, 'portfolio_id': 26335814}, {'photo_id': 1380128422, 'portfolio_id': 26335814}, {'photo_id': 1380128397, 'portfolio_id': 26335814}, {'photo_id': 1380128396, 'portfolio_id': 26335814}, {'photo_id': 1380128395, 'portfolio_id': 26335814}, {'photo_id': 1380128394, 'portfolio_id': 26335814}, {'photo_id': 1380128367, 'portfolio_id': 26335814}, {'photo_id': 1380128366, 'portfolio_id': 26335814}, {'photo_id': 1380128365, 'portfolio_id': 26335814}, {'photo_id': 1380128364, 'portfolio_id': 26335814}, {'photo_id': 1380128363, 'portfolio_id': 26335814}, {'photo_id': 1380128362, 'portfolio_id': 26335814}, {'photo_id': 1380128267, 'portfolio_id': 26335814}, {'photo_id': 1380128265, 'portfolio_id': 26335814}, {'photo_id': 1380128262, 'portfolio_id': 26335814}, {'photo_id': 1380128012, 'portfolio_id': 26335814}, {'photo_id': 1380128010, 'portfolio_id': 26335814}, {'photo_id': 1380128008, 'portfolio_id': 26335814}, {'photo_id': 1380128006, 'portfolio_id': 26335814}, {'photo_id': 1380128004, 'portfolio_id': 26335814}, {'photo_id': 1380127770, 'portfolio_id': 26335814}, {'photo_id': 1380127769, 'portfolio_id': 26335814}, {'photo_id': 1380127768, 'portfolio_id': 26335814}, {'photo_id': 1380127767, 'portfolio_id': 26335814}] map_portfolio_id_photo_id: {26335814: [1380129100, 1380129099, 1380129098, 1380129097, 1380129096, 1380129059, 1380129058, 1380129057, 1380129056, 1380128975, 1380128974, 1380128973, 1380128972, 1380128971, 1380128970, 1380128816, 1380128814, 1380128812, 1380128810, 1380128808, 1380128719, 1380128718, 1380128716, 1380128714, 1380128712, 1380128670, 1380128669, 1380128668, 1380128667, 1380128666, 1380128665, 1380128520, 1380128519, 1380128518, 1380128516, 1380128514, 1380128512, 1380128452, 1380128451, 1380128449, 1380128448, 1380128447, 1380128427, 1380128426, 1380128425, 1380128424, 1380128423, 1380128422, 1380128397, 1380128396, 1380128395, 1380128394, 1380128367, 1380128366, 1380128365, 1380128364, 1380128363, 1380128362, 1380128267, 1380128265, 1380128262, 1380128012, 1380128010, 1380128008, 1380128006, 1380128004, 1380127770, 1380127769, 1380127768, 1380127767]} ##### 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.016047954559326172 #### 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 Fri Aug 29 16:44: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 After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26335814) 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 : 26335814 get user id for portfolio 26335814 get sub ptf for main ptf 26335814, type 3726 and hashtags ['Carton_brun', 'metal', 'Carton_gris', 'cartonnette', 'autre_refus', 'environnement', 'Teint_Dans_La_Masse', 'kraft', 'plastique', 'mal_croppe', 'papier', 'flou'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26335814 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','metal','Carton_gris','cartonnette','autre_refus','environnement','Teint_Dans_La_Masse','kraft','plastique','mal_croppe','papier','flou')) 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`=26335814 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','metal','Carton_gris','cartonnette','autre_refus','environnement','Teint_Dans_La_Masse','kraft','plastique','mal_croppe','papier','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 26335814, 'sub_port_id': 26335847, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715740, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 27)}, 'environnement': {'main_port_id': 26335814, 'sub_port_id': 26335848, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715741, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 27)}, 'Carton_gris': {'main_port_id': 26335814, 'sub_port_id': 26335849, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715742, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 27)}, 'metal': {'main_port_id': 26335814, 'sub_port_id': 26335850, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715743, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 27)}, 'cartonnette': {'main_port_id': 26335814, 'sub_port_id': 26335851, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715744, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 27)}, 'papier': {'main_port_id': 26335814, 'sub_port_id': 26335852, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715745, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 27)}, 'mal_croppe': {'main_port_id': 26335814, 'sub_port_id': 26335853, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715746, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 27)}, 'autre_refus': {'main_port_id': 26335814, 'sub_port_id': 26335854, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715747, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 27)}, 'Teint_Dans_La_Masse': {'main_port_id': 26335814, 'sub_port_id': 26335855, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715748, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 27)}, 'kraft': {'main_port_id': 26335814, 'sub_port_id': 26335856, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715749, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 27)}, 'plastique': {'main_port_id': 26335814, 'sub_port_id': 26335857, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715750, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 27)}, 'flou': {'main_port_id': 26335814, 'sub_port_id': 26335858, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715751, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 27)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26335847 , 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=26335814 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 (26335847) result : ((1380128389,), (1380128410,), (1380128659,), (1380128660,), (1380128684,), (1380128966,), (1380128967,), (1380129088,), (1380129089,), (1380129090,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26335814) result : ((1380127767,), (1380127768,), (1380127769,), (1380127770,), (1380128004,), (1380128006,), (1380128008,), (1380128010,), (1380128012,), (1380128262,), (1380128265,), (1380128267,), (1380128362,), (1380128363,), (1380128364,), (1380128365,), (1380128366,), (1380128367,), (1380128394,), (1380128395,), (1380128396,), (1380128397,), (1380128422,), (1380128423,), (1380128424,), (1380128425,), (1380128426,), (1380128427,), (1380128447,), (1380128448,), (1380128449,), (1380128451,), (1380128452,), (1380128512,), (1380128514,), (1380128516,), (1380128518,), (1380128519,), (1380128520,), (1380128665,), (1380128666,), (1380128667,), (1380128668,), (1380128669,), (1380128670,), (1380128712,), (1380128714,), (1380128716,), (1380128718,), (1380128719,), (1380128808,), (1380128810,), (1380128812,), (1380128814,), (1380128816,), (1380128970,), (1380128971,), (1380128972,), (1380128973,), (1380128974,), (1380128975,), (1380129056,), (1380129057,), (1380129058,), (1380129059,), (1380129096,), (1380129097,), (1380129098,), (1380129099,), (1380129100,)) 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 (1380129100) 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 26335848 , 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=26335814 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 (26335848) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26335814) result : ((1380127767,), (1380127768,), (1380127769,), (1380127770,), (1380128004,), (1380128006,), (1380128008,), (1380128010,), (1380128012,), (1380128262,), (1380128265,), (1380128267,), (1380128362,), (1380128363,), (1380128364,), (1380128365,), (1380128366,), (1380128367,), (1380128394,), (1380128395,), (1380128396,), (1380128397,), (1380128422,), (1380128423,), (1380128424,), (1380128425,), (1380128426,), (1380128427,), (1380128447,), (1380128448,), (1380128449,), (1380128451,), (1380128452,), (1380128512,), (1380128514,), (1380128516,), (1380128518,), (1380128519,), (1380128520,), (1380128665,), (1380128666,), (1380128667,), (1380128668,), (1380128669,), (1380128670,), (1380128712,), (1380128714,), (1380128716,), (1380128718,), (1380128719,), (1380128808,), (1380128810,), (1380128812,), (1380128814,), (1380128816,), (1380128970,), (1380128971,), (1380128972,), (1380128973,), (1380128974,), (1380128975,), (1380129056,), (1380129057,), (1380129058,), (1380129059,), (1380129096,), (1380129097,), (1380129098,), (1380129099,), (1380129100,)) 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 (1380129100) 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 26335849 , 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=26335814 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 (26335849) result : ((1380128384,), (1380128385,), (1380128699,), (1380128700,), (1380128701,), (1380128962,), (1380128963,), (1380129080,), (1380129081,), (1380129082,), (1380129083,), (1380129084,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26335814) result : ((1380127767,), (1380127768,), (1380127769,), (1380127770,), (1380128004,), (1380128006,), (1380128008,), (1380128010,), (1380128012,), (1380128262,), (1380128265,), (1380128267,), (1380128362,), (1380128363,), (1380128364,), (1380128365,), (1380128366,), (1380128367,), (1380128394,), (1380128395,), (1380128396,), (1380128397,), (1380128422,), (1380128423,), (1380128424,), (1380128425,), (1380128426,), (1380128427,), (1380128447,), (1380128448,), (1380128449,), (1380128451,), (1380128452,), (1380128512,), (1380128514,), (1380128516,), (1380128518,), (1380128519,), (1380128520,), (1380128665,), (1380128666,), (1380128667,), (1380128668,), (1380128669,), (1380128670,), (1380128712,), (1380128714,), (1380128716,), (1380128718,), (1380128719,), (1380128808,), (1380128810,), (1380128812,), (1380128814,), (1380128816,), (1380128970,), (1380128971,), (1380128972,), (1380128973,), (1380128974,), (1380128975,), (1380129056,), (1380129057,), (1380129058,), (1380129059,), (1380129096,), (1380129097,), (1380129098,), (1380129099,), (1380129100,)) 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 (1380129100) 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 26335850 , 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=26335814 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 (26335850) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26335814) result : ((1380127767,), (1380127768,), (1380127769,), (1380127770,), (1380128004,), (1380128006,), (1380128008,), (1380128010,), (1380128012,), (1380128262,), (1380128265,), (1380128267,), (1380128362,), (1380128363,), (1380128364,), (1380128365,), (1380128366,), (1380128367,), (1380128394,), (1380128395,), (1380128396,), (1380128397,), (1380128422,), (1380128423,), (1380128424,), (1380128425,), (1380128426,), (1380128427,), (1380128447,), (1380128448,), (1380128449,), (1380128451,), (1380128452,), (1380128512,), (1380128514,), (1380128516,), (1380128518,), (1380128519,), (1380128520,), (1380128665,), (1380128666,), (1380128667,), (1380128668,), (1380128669,), (1380128670,), (1380128712,), (1380128714,), (1380128716,), (1380128718,), (1380128719,), (1380128808,), (1380128810,), (1380128812,), (1380128814,), (1380128816,), (1380128970,), (1380128971,), (1380128972,), (1380128973,), (1380128974,), (1380128975,), (1380129056,), (1380129057,), (1380129058,), (1380129059,), (1380129096,), (1380129097,), (1380129098,), (1380129099,), (1380129100,)) 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 (1380129100) 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 26335851 , 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=26335814 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 (26335851) result : ((1380128387,), (1380128388,), (1380128656,), (1380128657,), (1380128658,), (1380128702,), (1380128703,), (1380128704,), (1380128705,), (1380128964,), (1380128965,), (1380129085,), (1380129086,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26335814) result : ((1380127767,), (1380127768,), (1380127769,), (1380127770,), (1380128004,), (1380128006,), (1380128008,), (1380128010,), (1380128012,), (1380128262,), (1380128265,), (1380128267,), (1380128362,), (1380128363,), (1380128364,), (1380128365,), (1380128366,), (1380128367,), (1380128394,), (1380128395,), (1380128396,), (1380128397,), (1380128422,), (1380128423,), (1380128424,), (1380128425,), (1380128426,), (1380128427,), (1380128447,), (1380128448,), (1380128449,), (1380128451,), (1380128452,), (1380128512,), (1380128514,), (1380128516,), (1380128518,), (1380128519,), (1380128520,), (1380128665,), (1380128666,), (1380128667,), (1380128668,), (1380128669,), (1380128670,), (1380128712,), (1380128714,), (1380128716,), (1380128718,), (1380128719,), (1380128808,), (1380128810,), (1380128812,), (1380128814,), (1380128816,), (1380128970,), (1380128971,), (1380128972,), (1380128973,), (1380128974,), (1380128975,), (1380129056,), (1380129057,), (1380129058,), (1380129059,), (1380129096,), (1380129097,), (1380129098,), (1380129099,), (1380129100,)) 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 (1380129100) 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 26335852 , 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=26335814 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 (26335852) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26335814) result : ((1380127767,), (1380127768,), (1380127769,), (1380127770,), (1380128004,), (1380128006,), (1380128008,), (1380128010,), (1380128012,), (1380128262,), (1380128265,), (1380128267,), (1380128362,), (1380128363,), (1380128364,), (1380128365,), (1380128366,), (1380128367,), (1380128394,), (1380128395,), (1380128396,), (1380128397,), (1380128422,), (1380128423,), (1380128424,), (1380128425,), (1380128426,), (1380128427,), (1380128447,), (1380128448,), (1380128449,), (1380128451,), (1380128452,), (1380128512,), (1380128514,), (1380128516,), (1380128518,), (1380128519,), (1380128520,), (1380128665,), (1380128666,), (1380128667,), (1380128668,), (1380128669,), (1380128670,), (1380128712,), (1380128714,), (1380128716,), (1380128718,), (1380128719,), (1380128808,), (1380128810,), (1380128812,), (1380128814,), (1380128816,), (1380128970,), (1380128971,), (1380128972,), (1380128973,), (1380128974,), (1380128975,), (1380129056,), (1380129057,), (1380129058,), (1380129059,), (1380129096,), (1380129097,), (1380129098,), (1380129099,), (1380129100,)) 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 (1380129100) 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 26335853 , 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=26335814 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 (26335853) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26335814) result : ((1380127767,), (1380127768,), (1380127769,), (1380127770,), (1380128004,), (1380128006,), (1380128008,), (1380128010,), (1380128012,), (1380128262,), (1380128265,), (1380128267,), (1380128362,), (1380128363,), (1380128364,), (1380128365,), (1380128366,), (1380128367,), (1380128394,), (1380128395,), (1380128396,), (1380128397,), (1380128422,), (1380128423,), (1380128424,), (1380128425,), (1380128426,), (1380128427,), (1380128447,), (1380128448,), (1380128449,), (1380128451,), (1380128452,), (1380128512,), (1380128514,), (1380128516,), (1380128518,), (1380128519,), (1380128520,), (1380128665,), (1380128666,), (1380128667,), (1380128668,), (1380128669,), (1380128670,), (1380128712,), (1380128714,), (1380128716,), (1380128718,), (1380128719,), (1380128808,), (1380128810,), (1380128812,), (1380128814,), (1380128816,), (1380128970,), (1380128971,), (1380128972,), (1380128973,), (1380128974,), (1380128975,), (1380129056,), (1380129057,), (1380129058,), (1380129059,), (1380129096,), (1380129097,), (1380129098,), (1380129099,), (1380129100,)) 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 (1380129100) 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 26335854 , 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=26335814 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 (26335854) result : ((1380128383,), (1380128654,), (1380128697,), (1380128961,), (1380129074,), (1380129075,), (1380129076,), (1380129077,), (1380129079,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26335814) result : ((1380127767,), (1380127768,), (1380127769,), (1380127770,), (1380128004,), (1380128006,), (1380128008,), (1380128010,), (1380128012,), (1380128262,), (1380128265,), (1380128267,), (1380128362,), (1380128363,), (1380128364,), (1380128365,), (1380128366,), (1380128367,), (1380128394,), (1380128395,), (1380128396,), (1380128397,), (1380128422,), (1380128423,), (1380128424,), (1380128425,), (1380128426,), (1380128427,), (1380128447,), (1380128448,), (1380128449,), (1380128451,), (1380128452,), (1380128512,), (1380128514,), (1380128516,), (1380128518,), (1380128519,), (1380128520,), (1380128665,), (1380128666,), (1380128667,), (1380128668,), (1380128669,), (1380128670,), (1380128712,), (1380128714,), (1380128716,), (1380128718,), (1380128719,), (1380128808,), (1380128810,), (1380128812,), (1380128814,), (1380128816,), (1380128970,), (1380128971,), (1380128972,), (1380128973,), (1380128974,), (1380128975,), (1380129056,), (1380129057,), (1380129058,), (1380129059,), (1380129096,), (1380129097,), (1380129098,), (1380129099,), (1380129100,)) 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 (1380129100) 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 26335855 , 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=26335814 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 (26335855) result : ((1380128408,), (1380128651,), (1380128652,), (1380128653,), (1380128693,), (1380128694,), (1380128695,), (1380128696,), (1380128960,), (1380129073,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26335814) result : ((1380127767,), (1380127768,), (1380127769,), (1380127770,), (1380128004,), (1380128006,), (1380128008,), (1380128010,), (1380128012,), (1380128262,), (1380128265,), (1380128267,), (1380128362,), (1380128363,), (1380128364,), (1380128365,), (1380128366,), (1380128367,), (1380128394,), (1380128395,), (1380128396,), (1380128397,), (1380128422,), (1380128423,), (1380128424,), (1380128425,), (1380128426,), (1380128427,), (1380128447,), (1380128448,), (1380128449,), (1380128451,), (1380128452,), (1380128512,), (1380128514,), (1380128516,), (1380128518,), (1380128519,), (1380128520,), (1380128665,), (1380128666,), (1380128667,), (1380128668,), (1380128669,), (1380128670,), (1380128712,), (1380128714,), (1380128716,), (1380128718,), (1380128719,), (1380128808,), (1380128810,), (1380128812,), (1380128814,), (1380128816,), (1380128970,), (1380128971,), (1380128972,), (1380128973,), (1380128974,), (1380128975,), (1380129056,), (1380129057,), (1380129058,), (1380129059,), (1380129096,), (1380129097,), (1380129098,), (1380129099,), (1380129100,)) 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 (1380129100) 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 26335856 , 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=26335814 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 (26335856) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26335814) result : ((1380127767,), (1380127768,), (1380127769,), (1380127770,), (1380128004,), (1380128006,), (1380128008,), (1380128010,), (1380128012,), (1380128262,), (1380128265,), (1380128267,), (1380128362,), (1380128363,), (1380128364,), (1380128365,), (1380128366,), (1380128367,), (1380128394,), (1380128395,), (1380128396,), (1380128397,), (1380128422,), (1380128423,), (1380128424,), (1380128425,), (1380128426,), (1380128427,), (1380128447,), (1380128448,), (1380128449,), (1380128451,), (1380128452,), (1380128512,), (1380128514,), (1380128516,), (1380128518,), (1380128519,), (1380128520,), (1380128665,), (1380128666,), (1380128667,), (1380128668,), (1380128669,), (1380128670,), (1380128712,), (1380128714,), (1380128716,), (1380128718,), (1380128719,), (1380128808,), (1380128810,), (1380128812,), (1380128814,), (1380128816,), (1380128970,), (1380128971,), (1380128972,), (1380128973,), (1380128974,), (1380128975,), (1380129056,), (1380129057,), (1380129058,), (1380129059,), (1380129096,), (1380129097,), (1380129098,), (1380129099,), (1380129100,)) 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 (1380129100) 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 26335857 , 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=26335814 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 (26335857) result : ((1380128390,), (1380128411,), (1380128661,), (1380128709,), (1380128710,), (1380128711,), (1380129091,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26335814) result : ((1380127767,), (1380127768,), (1380127769,), (1380127770,), (1380128004,), (1380128006,), (1380128008,), (1380128010,), (1380128012,), (1380128262,), (1380128265,), (1380128267,), (1380128362,), (1380128363,), (1380128364,), (1380128365,), (1380128366,), (1380128367,), (1380128394,), (1380128395,), (1380128396,), (1380128397,), (1380128422,), (1380128423,), (1380128424,), (1380128425,), (1380128426,), (1380128427,), (1380128447,), (1380128448,), (1380128449,), (1380128451,), (1380128452,), (1380128512,), (1380128514,), (1380128516,), (1380128518,), (1380128519,), (1380128520,), (1380128665,), (1380128666,), (1380128667,), (1380128668,), (1380128669,), (1380128670,), (1380128712,), (1380128714,), (1380128716,), (1380128718,), (1380128719,), (1380128808,), (1380128810,), (1380128812,), (1380128814,), (1380128816,), (1380128970,), (1380128971,), (1380128972,), (1380128973,), (1380128974,), (1380128975,), (1380129056,), (1380129057,), (1380129058,), (1380129059,), (1380129096,), (1380129097,), (1380129098,), (1380129099,), (1380129100,)) 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 (1380129100) 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 26335858 , 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=26335814 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 (26335858) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26335814) result : ((1380127767,), (1380127768,), (1380127769,), (1380127770,), (1380128004,), (1380128006,), (1380128008,), (1380128010,), (1380128012,), (1380128262,), (1380128265,), (1380128267,), (1380128362,), (1380128363,), (1380128364,), (1380128365,), (1380128366,), (1380128367,), (1380128394,), (1380128395,), (1380128396,), (1380128397,), (1380128422,), (1380128423,), (1380128424,), (1380128425,), (1380128426,), (1380128427,), (1380128447,), (1380128448,), (1380128449,), (1380128451,), (1380128452,), (1380128512,), (1380128514,), (1380128516,), (1380128518,), (1380128519,), (1380128520,), (1380128665,), (1380128666,), (1380128667,), (1380128668,), (1380128669,), (1380128670,), (1380128712,), (1380128714,), (1380128716,), (1380128718,), (1380128719,), (1380128808,), (1380128810,), (1380128812,), (1380128814,), (1380128816,), (1380128970,), (1380128971,), (1380128972,), (1380128973,), (1380128974,), (1380128975,), (1380129056,), (1380129057,), (1380129058,), (1380129059,), (1380129096,), (1380129097,), (1380129098,), (1380129099,), (1380129100,)) 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 (1380129100) 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`=26335814 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','metal','Carton_gris','cartonnette','autre_refus','environnement','Teint_Dans_La_Masse','kraft','plastique','mal_croppe','papier','flou')) 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`=26335814 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','metal','Carton_gris','cartonnette','autre_refus','environnement','Teint_Dans_La_Masse','kraft','plastique','mal_croppe','papier','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 26335814, 'sub_port_id': 26335862, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715752, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 33)}, 'environnement': {'main_port_id': 26335814, 'sub_port_id': 26335863, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715753, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 33)}, 'Carton_gris': {'main_port_id': 26335814, 'sub_port_id': 26335864, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715754, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 33)}, 'metal': {'main_port_id': 26335814, 'sub_port_id': 26335865, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715755, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 33)}, 'cartonnette': {'main_port_id': 26335814, 'sub_port_id': 26335866, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715756, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 33)}, 'papier': {'main_port_id': 26335814, 'sub_port_id': 26335867, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715757, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 33)}, 'mal_croppe': {'main_port_id': 26335814, 'sub_port_id': 26335868, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715758, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 33)}, 'autre_refus': {'main_port_id': 26335814, 'sub_port_id': 26335869, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715759, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 33)}, 'Teint_Dans_La_Masse': {'main_port_id': 26335814, 'sub_port_id': 26335870, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715760, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 33)}, 'kraft': {'main_port_id': 26335814, 'sub_port_id': 26335871, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715761, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 33)}, 'plastique': {'main_port_id': 26335814, 'sub_port_id': 26335872, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715762, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 33, 33), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 33)}, 'flou': {'main_port_id': 26335814, 'sub_port_id': 26335873, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17715763, 'last_updated_at': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 16, 42, 57), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 16, 33, 33)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26335862,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26335847 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26335863,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26335848 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26335864,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26335849 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26335865,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26335850 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26335866,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26335851 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26335867,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26335852 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26335868,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26335853 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26335869,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26335854 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26335870,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26335855 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26335871,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26335856 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26335872,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26335857 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26335873,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26335858 lien utilise dans velours : https://marlene.fotonower.com/velours/26335862,26335863,26335864,26335865,26335866,26335867,26335868,26335869,26335870,26335871,26335872,26335873?tags=Carton_brun,environnement,Carton_gris,metal,cartonnette,papier,mal_croppe,autre_refus,Teint_Dans_La_Masse,kraft,plastique,flou After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26335814]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1380129100, 1380129099, 1380129098, 1380129097, 1380129096, 1380129059, 1380129058, 1380129057, 1380129056] map_info['map_portfolio_photo'] : {26335814: [1380129100, 1380129099, 1380129098, 1380129097, 1380129096, 1380129059, 1380129058, 1380129057, 1380129056, 1380128975, 1380128974, 1380128973, 1380128972, 1380128971, 1380128970, 1380128816, 1380128814, 1380128812, 1380128810, 1380128808, 1380128719, 1380128718, 1380128716, 1380128714, 1380128712, 1380128670, 1380128669, 1380128668, 1380128667, 1380128666, 1380128665, 1380128520, 1380128519, 1380128518, 1380128516, 1380128514, 1380128512, 1380128452, 1380128451, 1380128449, 1380128448, 1380128447, 1380128427, 1380128426, 1380128425, 1380128424, 1380128423, 1380128422, 1380128397, 1380128396, 1380128395, 1380128394, 1380128367, 1380128366, 1380128365, 1380128364, 1380128363, 1380128362, 1380128267, 1380128265, 1380128262, 1380128012, 1380128010, 1380128008, 1380128006, 1380128004, 1380127770, 1380127769, 1380127768, 1380127767]} final : False mtd_id 4302 list_pids : [1380129100, 1380129099, 1380129098, 1380129097, 1380129096, 1380129059, 1380129058, 1380129057, 1380129056] Looping around the photos to save general results len do output : 1 /26335814. 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, '3637502') ('4302', '26335814', '1380129100', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129099', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129098', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129097', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129096', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129059', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129058', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129057', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129056', None, None, None, None, None, '3637502') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 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, '26335814', "{'Carton_brun': 26335847, 'environnement': 26335848, 'Carton_gris': 26335849, 'metal': 26335850, 'cartonnette': 26335851, 'papier': 26335852, 'mal_croppe': 26335853, 'autre_refus': 26335854, 'Teint_Dans_La_Masse': 26335855, 'kraft': 26335856, 'plastique': 26335857, 'flou': 26335858}", None, None, None, None, '3637502'), ('4302', '26335814', '1380129100', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129099', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129098', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129097', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129096', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129059', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129058', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129057', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129056', None, None, None, None, None, '3637502')] time used for this insertion : 0.013307809829711914 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.46235132217407227 time spend to save output : 0.013457059860229492 total time spend for step 1 : 0.47580838203430176 step2:final Fri Aug 29 16:44: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 (26335814) 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 26335814 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1380127770,1380127769,1380127768,1380127767,1380128012,1380128010,1380128008,1380128006,1380128004,1380128267,1380128265,1380128262,1380128367,1380128366,1380128365,1380128364,1380128363,1380128362,1380128397,1380128396,1380128395,1380128394,1380128427,1380128426,1380128425,1380128424,1380128423,1380128422,1380128452,1380128451,1380128449,1380128448,1380128447,1380128520,1380128519,1380128518,1380128516,1380128514,1380128512,1380128670,1380128669,1380128668,1380128667,1380128666,1380128665,1380128719,1380128718,1380128716,1380128714,1380128712,1380128816,1380128814,1380128812,1380128810,1380128808,1380128975,1380128974,1380128973,1380128972,1380128971,1380128970,1380129059,1380129058,1380129057,1380129056,1380129100,1380129099,1380129098,1380129097,1380129096); 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([26335814]) Inside saveOutput : final : False verbose : True original output for save of step final : {1380129100: ('0.055548905180351736',), 1380129099: ('0.055548905180351736',), 1380129098: ('0.055548905180351736',), 1380129097: ('0.055548905180351736',), 1380129096: ('0.055548905180351736',), 1380129059: ('0.055548905180351736',), 1380129058: ('0.055548905180351736',), 1380129057: ('0.055548905180351736',), 1380129056: ('0.055548905180351736',)} new output for save of step final : {1380129100: ('0.055548905180351736',), 1380129099: ('0.055548905180351736',), 1380129098: ('0.055548905180351736',), 1380129097: ('0.055548905180351736',), 1380129096: ('0.055548905180351736',), 1380129059: ('0.055548905180351736',), 1380129058: ('0.055548905180351736',), 1380129057: ('0.055548905180351736',), 1380129056: ('0.055548905180351736',)} [1380129100, 1380129099, 1380129098, 1380129097, 1380129096, 1380129059, 1380129058, 1380129057, 1380129056] map_info['map_portfolio_photo'] : {26335814: [1380129100, 1380129099, 1380129098, 1380129097, 1380129096, 1380129059, 1380129058, 1380129057, 1380129056, 1380128975, 1380128974, 1380128973, 1380128972, 1380128971, 1380128970, 1380128816, 1380128814, 1380128812, 1380128810, 1380128808, 1380128719, 1380128718, 1380128716, 1380128714, 1380128712, 1380128670, 1380128669, 1380128668, 1380128667, 1380128666, 1380128665, 1380128520, 1380128519, 1380128518, 1380128516, 1380128514, 1380128512, 1380128452, 1380128451, 1380128449, 1380128448, 1380128447, 1380128427, 1380128426, 1380128425, 1380128424, 1380128423, 1380128422, 1380128397, 1380128396, 1380128395, 1380128394, 1380128367, 1380128366, 1380128365, 1380128364, 1380128363, 1380128362, 1380128267, 1380128265, 1380128262, 1380128012, 1380128010, 1380128008, 1380128006, 1380128004, 1380127770, 1380127769, 1380127768, 1380127767]} final : False mtd_id 4302 list_pids : [1380129100, 1380129099, 1380129098, 1380129097, 1380129096, 1380129059, 1380129058, 1380129057, 1380129056] Looping around the photos to save general results len do output : 9 /1380129100.Didn't retrieve data . /1380129099.Didn't retrieve data . /1380129098.Didn't retrieve data . /1380129097.Didn't retrieve data . /1380129096.Didn't retrieve data . /1380129059.Didn't retrieve data . /1380129058.Didn't retrieve data . /1380129057.Didn't retrieve data . /1380129056.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, '3637502') ('4302', '26335814', '1380129100', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129099', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129098', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129097', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129096', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129059', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129058', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129057', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129056', None, None, None, None, None, '3637502') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 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', '26335814', '1380129100', '0.055548905180351736', None, None, None, None, '3637502'), ('4302', '26335814', '1380129099', '0.055548905180351736', None, None, None, None, '3637502'), ('4302', '26335814', '1380129098', '0.055548905180351736', None, None, None, None, '3637502'), ('4302', '26335814', '1380129097', '0.055548905180351736', None, None, None, None, '3637502'), ('4302', '26335814', '1380129096', '0.055548905180351736', None, None, None, None, '3637502'), ('4302', '26335814', '1380129059', '0.055548905180351736', None, None, None, None, '3637502'), ('4302', '26335814', '1380129058', '0.055548905180351736', None, None, None, None, '3637502'), ('4302', '26335814', '1380129057', '0.055548905180351736', None, None, None, None, '3637502'), ('4302', '26335814', '1380129056', '0.055548905180351736', None, None, None, None, '3637502')] time used for this insertion : 0.012856483459472656 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06754946708679199 time spend to save output : 0.01309823989868164 total time spend for step 2 : 0.08064770698547363 step3:velours_tree Fri Aug 29 16:44: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 complete output_args for input 0 : {26335814: [{'Carton_brun': 26335847, 'environnement': 26335848, 'Carton_gris': 26335849, 'metal': 26335850, 'cartonnette': 26335851, 'papier': 26335852, 'mal_croppe': 26335853, 'autre_refus': 26335854, 'Teint_Dans_La_Masse': 26335855, 'kraft': 26335856, 'plastique': 26335857, 'flou': 26335858}]} input_args_next_step : {26335814: ()} output_args : {26335814: [{'Carton_brun': 26335847, 'environnement': 26335848, 'Carton_gris': 26335849, 'metal': 26335850, 'cartonnette': 26335851, 'papier': 26335852, 'mal_croppe': 26335853, 'autre_refus': 26335854, 'Teint_Dans_La_Masse': 26335855, 'kraft': 26335856, 'plastique': 26335857, 'flou': 26335858}]} args : 26335814 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_brun': 26335847, 'environnement': 26335848, 'Carton_gris': 26335849, 'metal': 26335850, 'cartonnette': 26335851, 'papier': 26335852, 'mal_croppe': 26335853, 'autre_refus': 26335854, 'Teint_Dans_La_Masse': 26335855, 'kraft': 26335856, 'plastique': 26335857, 'flou': 26335858},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26335814) 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([26335814]) 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.309673547744751 time spend to save output : 6.0558319091796875e-05 total time spend for step 3 : 0.3097341060638428 step4:send_mail_cod Fri Aug 29 16:45: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 : {1380129100: ('0.055548905180351736',), 1380129099: ('0.055548905180351736',), 1380129098: ('0.055548905180351736',), 1380129097: ('0.055548905180351736',), 1380129096: ('0.055548905180351736',), 1380129059: ('0.055548905180351736',), 1380129058: ('0.055548905180351736',), 1380129057: ('0.055548905180351736',), 1380129056: ('0.055548905180351736',)} input_args_next_step : {1380129100: ()} output_args : {1380129100: ('0.055548905180351736',), 1380129099: ('0.055548905180351736',), 1380129098: ('0.055548905180351736',), 1380129097: ('0.055548905180351736',), 1380129096: ('0.055548905180351736',), 1380129059: ('0.055548905180351736',), 1380129058: ('0.055548905180351736',), 1380129057: ('0.055548905180351736',), 1380129056: ('0.055548905180351736',)} args : 1380129100 depend.output_id : 0 input_args_next_step : {1380129100: ('0.055548905180351736',), 1380129099: ()} output_args : {1380129100: ('0.055548905180351736',), 1380129099: ('0.055548905180351736',), 1380129098: ('0.055548905180351736',), 1380129097: ('0.055548905180351736',), 1380129096: ('0.055548905180351736',), 1380129059: ('0.055548905180351736',), 1380129058: ('0.055548905180351736',), 1380129057: ('0.055548905180351736',), 1380129056: ('0.055548905180351736',)} args : 1380129099 depend.output_id : 0 input_args_next_step : {1380129100: ('0.055548905180351736',), 1380129099: ('0.055548905180351736',), 1380129098: ()} output_args : {1380129100: ('0.055548905180351736',), 1380129099: ('0.055548905180351736',), 1380129098: ('0.055548905180351736',), 1380129097: ('0.055548905180351736',), 1380129096: ('0.055548905180351736',), 1380129059: ('0.055548905180351736',), 1380129058: ('0.055548905180351736',), 1380129057: ('0.055548905180351736',), 1380129056: ('0.055548905180351736',)} args : 1380129098 depend.output_id : 0 input_args_next_step : {1380129100: ('0.055548905180351736',), 1380129099: ('0.055548905180351736',), 1380129098: ('0.055548905180351736',), 1380129097: ()} output_args : {1380129100: ('0.055548905180351736',), 1380129099: ('0.055548905180351736',), 1380129098: ('0.055548905180351736',), 1380129097: ('0.055548905180351736',), 1380129096: ('0.055548905180351736',), 1380129059: ('0.055548905180351736',), 1380129058: ('0.055548905180351736',), 1380129057: ('0.055548905180351736',), 1380129056: ('0.055548905180351736',)} args : 1380129097 depend.output_id : 0 input_args_next_step : {1380129100: ('0.055548905180351736',), 1380129099: ('0.055548905180351736',), 1380129098: ('0.055548905180351736',), 1380129097: ('0.055548905180351736',), 1380129096: ()} output_args : {1380129100: ('0.055548905180351736',), 1380129099: ('0.055548905180351736',), 1380129098: ('0.055548905180351736',), 1380129097: ('0.055548905180351736',), 1380129096: ('0.055548905180351736',), 1380129059: ('0.055548905180351736',), 1380129058: ('0.055548905180351736',), 1380129057: ('0.055548905180351736',), 1380129056: ('0.055548905180351736',)} args : 1380129096 depend.output_id : 0 input_args_next_step : {1380129100: ('0.055548905180351736',), 1380129099: ('0.055548905180351736',), 1380129098: ('0.055548905180351736',), 1380129097: ('0.055548905180351736',), 1380129096: ('0.055548905180351736',), 1380129059: ()} output_args : {1380129100: ('0.055548905180351736',), 1380129099: ('0.055548905180351736',), 1380129098: ('0.055548905180351736',), 1380129097: ('0.055548905180351736',), 1380129096: ('0.055548905180351736',), 1380129059: ('0.055548905180351736',), 1380129058: ('0.055548905180351736',), 1380129057: ('0.055548905180351736',), 1380129056: ('0.055548905180351736',)} args : 1380129059 depend.output_id : 0 input_args_next_step : {1380129100: ('0.055548905180351736',), 1380129099: ('0.055548905180351736',), 1380129098: ('0.055548905180351736',), 1380129097: ('0.055548905180351736',), 1380129096: ('0.055548905180351736',), 1380129059: ('0.055548905180351736',), 1380129058: ()} output_args : {1380129100: ('0.055548905180351736',), 1380129099: ('0.055548905180351736',), 1380129098: ('0.055548905180351736',), 1380129097: ('0.055548905180351736',), 1380129096: ('0.055548905180351736',), 1380129059: ('0.055548905180351736',), 1380129058: ('0.055548905180351736',), 1380129057: ('0.055548905180351736',), 1380129056: ('0.055548905180351736',)} args : 1380129058 depend.output_id : 0 input_args_next_step : {1380129100: ('0.055548905180351736',), 1380129099: ('0.055548905180351736',), 1380129098: ('0.055548905180351736',), 1380129097: ('0.055548905180351736',), 1380129096: ('0.055548905180351736',), 1380129059: ('0.055548905180351736',), 1380129058: ('0.055548905180351736',), 1380129057: ()} output_args : {1380129100: ('0.055548905180351736',), 1380129099: ('0.055548905180351736',), 1380129098: ('0.055548905180351736',), 1380129097: ('0.055548905180351736',), 1380129096: ('0.055548905180351736',), 1380129059: ('0.055548905180351736',), 1380129058: ('0.055548905180351736',), 1380129057: ('0.055548905180351736',), 1380129056: ('0.055548905180351736',)} args : 1380129057 depend.output_id : 0 input_args_next_step : {1380129100: ('0.055548905180351736',), 1380129099: ('0.055548905180351736',), 1380129098: ('0.055548905180351736',), 1380129097: ('0.055548905180351736',), 1380129096: ('0.055548905180351736',), 1380129059: ('0.055548905180351736',), 1380129058: ('0.055548905180351736',), 1380129057: ('0.055548905180351736',), 1380129056: ()} output_args : {1380129100: ('0.055548905180351736',), 1380129099: ('0.055548905180351736',), 1380129098: ('0.055548905180351736',), 1380129097: ('0.055548905180351736',), 1380129096: ('0.055548905180351736',), 1380129059: ('0.055548905180351736',), 1380129058: ('0.055548905180351736',), 1380129057: ('0.055548905180351736',), 1380129056: ('0.055548905180351736',)} args : 1380129056 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 : {26335814: [{'Carton_brun': 26335847, 'environnement': 26335848, 'Carton_gris': 26335849, 'metal': 26335850, 'cartonnette': 26335851, 'papier': 26335852, 'mal_croppe': 26335853, 'autre_refus': 26335854, 'Teint_Dans_La_Masse': 26335855, 'kraft': 26335856, 'plastique': 26335857, 'flou': 26335858}]} input_args_next_step : {1380129100: ('0.055548905180351736',), 1380129099: ('0.055548905180351736',), 1380129098: ('0.055548905180351736',), 1380129097: ('0.055548905180351736',), 1380129096: ('0.055548905180351736',), 1380129059: ('0.055548905180351736',), 1380129058: ('0.055548905180351736',), 1380129057: ('0.055548905180351736',), 1380129056: ('0.055548905180351736',), 26335814: ()} output_args : {26335814: [{'Carton_brun': 26335847, 'environnement': 26335848, 'Carton_gris': 26335849, 'metal': 26335850, 'cartonnette': 26335851, 'papier': 26335852, 'mal_croppe': 26335853, 'autre_refus': 26335854, 'Teint_Dans_La_Masse': 26335855, 'kraft': 26335856, 'plastique': 26335857, 'flou': 26335858}]} args : 26335814 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 :10, first value : ('0.055548905180351736',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26335814) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1380129100,1380129099,1380129098,1380129097,1380129096,1380129059,1380129058,1380129057,1380129056) Found this number of photos: 9 ##### Call download_photos : nb_thread : 5 begin to download photo : 1380129056 begin to download photo : 1380129058 begin to download photo : 1380129096 begin to download photo : 1380129098 begin to download photo : 1380129100 download finish for photo 1380129096 begin to download photo : 1380129097 download finish for photo 1380129100 download finish for photo 1380129098 begin to download photo : 1380129099 download finish for photo 1380129056 begin to download photo : 1380129057 download finish for photo 1380129058 begin to download photo : 1380129059 download finish for photo 1380129099 download finish for photo 1380129097 download finish for photo 1380129057 download finish for photo 1380129059 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette263358501756478700/ length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 results_Auto_P26335814_29-08-2025_16_45_00.pdf 26335850 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26335850 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette263358501756478700 26335851 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26335851 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380128387: '1756478067_3537928_1380128010_e440a8eb8ba04956040d3d537690057f_71223341_rle_crop_3935570552_0.png', 1380128388: '1756478067_3537928_1380128008_fdf73f8b6a48a9c0cbbd17ba4ed2bdb7_54183547_rle_crop_3935570567_0.png', 1380128656: '1756478305_3548812_1380128423_0533c377e1283eb62b68934362344f1c_51279619_rle_crop_3935573737_0.png', 1380128657: '1756478305_3548812_1380128422_dce8c078ad785699bd94d252459a01ce_66985282_rle_crop_3935573754_0.png', 1380128658: '1756478305_3548812_1380128422_dce8c078ad785699bd94d252459a01ce_66985282_rle_crop_3935573748_0.png', 1380128702: '1756478365_3550579_1380128366_fd0bafa02a7dcb38ebe5a08eeb539642_22723185_rle_crop_3935575683_0.png', 1380128703: '1756478365_3550579_1380128365_5151a9babc8b23d60bf2929c80c86395_17368125_rle_crop_3935575698_0.png', 1380128704: '1756478365_3550579_1380128365_5151a9babc8b23d60bf2929c80c86395_17368125_rle_crop_3935575706_0.png', 1380128705: '1756478365_3550579_1380128362_f337caf4834158d61f2db8677238f1c7_44535726_rle_crop_3935575795_0.png', 1380128964: '1756478487_3558008_1380128367_9dd2ebae44b0074a2c1c43ca4628d691_18616899_rle_crop_3935578269_0.png', 1380128965: '1756478487_3558008_1380128367_9dd2ebae44b0074a2c1c43ca4628d691_18616899_rle_crop_3935578259_0.png', 1380129085: '1756478587_3563686_1380128718_94223802c4b6ee47f5134a5156fa68bd_54136113_rle_crop_3935578810_0.png', 1380129086: '1756478587_3563686_1380128718_94223802c4b6ee47f5134a5156fa68bd_54136113_rle_crop_3935578802_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/7bc44ec5889220cd9dfdf6b49a99da64_20944861.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/b4951de8525b57253a61398fea8665f4_94384857.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/ff6127334b310c4315020a0f90829916_18731534.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/b1a7eb092476213543f1a3d2e2dbe9c7_56907199.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/89a5dd356fd75daadc60ef15b10a5d7a_18967746.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/1cf8fe4fe0aa33ee53260f525ea18db7_12864673.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/760251e6b8ec5082c510e1f0ba24af92_59592341.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/937e627b471e97658907aa8a54858c4a_45511356.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/46ceae7a8de75df87a6e60f45bcf3c63_50028990.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/216bb277387459f8b50555e69012cff5_38155102.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/b96daeaf36a3a6b57e6230632dcea9ed_39475607.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/fe7f76bddad0180dfe4fefbecdf0fb8c_51115622.png change filename to text .imagette263358511756478700/ imagette263358511756478700/1756478587_3563686_1380128718_94223802c4b6ee47f5134a5156fa68bd_54136113_rle_crop_3935578810_0.png.png imagette263358511756478700/1756478365_3550579_1380128366_fd0bafa02a7dcb38ebe5a08eeb539642_22723185_rle_crop_3935575683_0.png.png imagette263358511756478700/1756478067_3537928_1380128010_e440a8eb8ba04956040d3d537690057f_71223341_rle_crop_3935570552_0.png.png imagette263358511756478700/1756478365_3550579_1380128365_5151a9babc8b23d60bf2929c80c86395_17368125_rle_crop_3935575698_0.png.png imagette263358511756478700/1756478487_3558008_1380128367_9dd2ebae44b0074a2c1c43ca4628d691_18616899_rle_crop_3935578269_0.png.png imagette263358511756478700/1756478305_3548812_1380128422_dce8c078ad785699bd94d252459a01ce_66985282_rle_crop_3935573754_0.png.png imagette263358511756478700/1756478587_3563686_1380128718_94223802c4b6ee47f5134a5156fa68bd_54136113_rle_crop_3935578802_0.png.png imagette263358511756478700/1756478365_3550579_1380128362_f337caf4834158d61f2db8677238f1c7_44535726_rle_crop_3935575795_0.png.png imagette263358511756478700/1756478305_3548812_1380128423_0533c377e1283eb62b68934362344f1c_51279619_rle_crop_3935573737_0.png.png imagette263358511756478700/1756478365_3550579_1380128365_5151a9babc8b23d60bf2929c80c86395_17368125_rle_crop_3935575706_0.png.png imagette263358511756478700/1756478487_3558008_1380128367_9dd2ebae44b0074a2c1c43ca4628d691_18616899_rle_crop_3935578259_0.png.png imagette263358511756478700/1756478305_3548812_1380128422_dce8c078ad785699bd94d252459a01ce_66985282_rle_crop_3935573748_0.png.png imagette263358511756478700/1756478067_3537928_1380128008_fdf73f8b6a48a9c0cbbd17ba4ed2bdb7_54183547_rle_crop_3935570567_0.png.png imagette263358531756478701/ wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/3a4ae629a533882744d3e25f11ee3dab_28160497.png imagette263358511756478700 26335853 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26335853 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette263358531756478701 26335854 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26335854 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380128383: '1756478067_3537928_1380128006_d90fcbfcf5c7c8daae536881c5808782_33187236_rle_crop_3935570584_0.png', 1380128654: '1756478305_3548812_1380128425_77c19c8b3b08c19952a6a7704cb1f9c5_51579879_rle_crop_3935573674_0.png', 1380128697: '1756478365_3550579_1380128362_f337caf4834158d61f2db8677238f1c7_44535726_rle_crop_3935575797_0.png', 1380128961: '1756478487_3558008_1380128367_9dd2ebae44b0074a2c1c43ca4628d691_18616899_rle_crop_3935578265_0.png', 1380129074: '1756478587_3563686_1380128718_94223802c4b6ee47f5134a5156fa68bd_54136113_rle_crop_3935578809_0.png', 1380129075: '1756478587_3563686_1380128718_94223802c4b6ee47f5134a5156fa68bd_54136113_rle_crop_3935578804_0.png', 1380129076: '1756478587_3563686_1380128716_f83f621b9c07659b5966c2f7b58326b5_99781140_rle_crop_3935578822_0.png', 1380129077: '1756478587_3563686_1380128716_f83f621b9c07659b5966c2f7b58326b5_99781140_rle_crop_3935578829_0.png', 1380129079: '1756478587_3563686_1380128714_0fc1289d19d01be3f344b93de4792c3d_7539119_rle_crop_3935578845_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/07912e28b8a75423b3996ea63b188cd5_2872497.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/071096767245c5309f48c209139d298f_41968756.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/fd362b0a8e1ed0adfe3771baa759274e_80507954.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/77c6bada7d0eba04828bdf962782ff9a_49956284.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/ca32b5b1a6514d82d80252ec47793551_96716312.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/20bca0907103cf3ca4769c878b551aa6_99010496.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/cc6386de4bcaf1935b47e08c383f10f2_75535487.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/7770887c3f2ad97d1b853071009383fe_12764941.png change filename to text .imagette263358541756478701/ imagette263358541756478701/1756478487_3558008_1380128367_9dd2ebae44b0074a2c1c43ca4628d691_18616899_rle_crop_3935578265_0.png.png imagette263358541756478701/1756478587_3563686_1380128716_f83f621b9c07659b5966c2f7b58326b5_99781140_rle_crop_3935578822_0.png.png imagette263358541756478701/1756478587_3563686_1380128716_f83f621b9c07659b5966c2f7b58326b5_99781140_rle_crop_3935578829_0.png.png imagette263358541756478701/1756478587_3563686_1380128714_0fc1289d19d01be3f344b93de4792c3d_7539119_rle_crop_3935578845_0.png.png imagette263358541756478701/1756478365_3550579_1380128362_f337caf4834158d61f2db8677238f1c7_44535726_rle_crop_3935575797_0.png.png imagette263358541756478701/1756478305_3548812_1380128425_77c19c8b3b08c19952a6a7704cb1f9c5_51579879_rle_crop_3935573674_0.png.png imagette263358541756478701/1756478587_3563686_1380128718_94223802c4b6ee47f5134a5156fa68bd_54136113_rle_crop_3935578809_0.png.png imagette263358541756478701/1756478067_3537928_1380128006_d90fcbfcf5c7c8daae536881c5808782_33187236_rle_crop_3935570584_0.png.png imagette263358541756478701/1756478587_3563686_1380128718_94223802c4b6ee47f5134a5156fa68bd_54136113_rle_crop_3935578804_0.png.png imagette263358561756478701/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/c86666129d28b88f342483b028f6c3b2_7680596.png imagette263358541756478701 26335856 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26335856 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette263358561756478701 26335857 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26335857 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380128390: '1756478067_3537928_1380128008_fdf73f8b6a48a9c0cbbd17ba4ed2bdb7_54183547_rle_crop_3935570576_0.png', 1380128411: '1756478105_3539084_1380127770_a77aa0475248e72f62bc85bb40a835c1_9288988_rle_crop_3935570794_0.png', 1380128661: '1756478305_3548812_1380128422_dce8c078ad785699bd94d252459a01ce_66985282_rle_crop_3935573752_0.png', 1380128709: '1756478365_3550579_1380128365_5151a9babc8b23d60bf2929c80c86395_17368125_rle_crop_3935575705_0.png', 1380128710: '1756478365_3550579_1380128365_5151a9babc8b23d60bf2929c80c86395_17368125_rle_crop_3935575710_0.png', 1380128711: '1756478365_3550579_1380128365_5151a9babc8b23d60bf2929c80c86395_17368125_rle_crop_3935575707_0.png', 1380129091: '1756478587_3563686_1380128712_35f617a4a29418612939fc3cd197671c_33352747_rle_crop_3935578857_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/9eb31d332cb869725a5fa2e1a7babad2_80970375.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/28e75ec99ce173e2894929295af71239_48465154.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/8d4f2d117b5ee1a580c145f6d020a5f3_27791664.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/c5125be8c7d81158bfa543f9958ca07a_65354520.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/c6e998a0cc08afbfcd2a34d5d68fce5c_94990917.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/ec9dacf7aa88c4d2704a770446289edc_25644338.png change filename to text .imagette263358571756478701/ imagette263358571756478701/1756478365_3550579_1380128365_5151a9babc8b23d60bf2929c80c86395_17368125_rle_crop_3935575707_0.png.png imagette263358571756478701/1756478365_3550579_1380128365_5151a9babc8b23d60bf2929c80c86395_17368125_rle_crop_3935575710_0.png.png imagette263358571756478701/1756478305_3548812_1380128422_dce8c078ad785699bd94d252459a01ce_66985282_rle_crop_3935573752_0.png.png imagette263358571756478701/1756478067_3537928_1380128008_fdf73f8b6a48a9c0cbbd17ba4ed2bdb7_54183547_rle_crop_3935570576_0.png.png imagette263358571756478701/1756478365_3550579_1380128365_5151a9babc8b23d60bf2929c80c86395_17368125_rle_crop_3935575705_0.png.png imagette263358571756478701/1756478587_3563686_1380128712_35f617a4a29418612939fc3cd197671c_33352747_rle_crop_3935578857_0.png.png imagette263358571756478701/1756478105_3539084_1380127770_a77aa0475248e72f62bc85bb40a835c1_9288988_rle_crop_3935570794_0.png.png imagette263358581756478702/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/5b54dddb3a9b713d95b9709527b22781_43924964.png imagette263358571756478701 26335858 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26335858 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette263358581756478702 26335847 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26335847 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380128389: '1756478067_3537928_1380128010_e440a8eb8ba04956040d3d537690057f_71223341_rle_crop_3935570557_0.png', 1380128410: '1756478105_3539084_1380127768_904042aa90effeb1935640a563c47500_40717700_rle_crop_3935570826_0.png', 1380128659: '1756478305_3548812_1380128425_77c19c8b3b08c19952a6a7704cb1f9c5_51579879_rle_crop_3935573680_0.png', 1380128660: '1756478305_3548812_1380128424_6d94f5b784dc318c29b1ded1bc295418_72749923_rle_crop_3935573723_0.png', 1380128684: '1756478346_3549505_1380128395_4f935fe3c616735dd78113e63d427e64_98806899_rle_crop_3935575321_0.png', 1380128966: '1756478487_3558008_1380128367_9dd2ebae44b0074a2c1c43ca4628d691_18616899_rle_crop_3935578266_0.png', 1380128967: '1756478487_3558008_1380128265_a57b28e93a2c57ed94ee15f2d46fc2a9_47249765_rle_crop_3935578284_0.png', 1380129088: '1756478587_3563686_1380128718_94223802c4b6ee47f5134a5156fa68bd_54136113_rle_crop_3935578805_0.png', 1380129089: '1756478587_3563686_1380128716_f83f621b9c07659b5966c2f7b58326b5_99781140_rle_crop_3935578824_0.png', 1380129090: '1756478587_3563686_1380128712_35f617a4a29418612939fc3cd197671c_33352747_rle_crop_3935578859_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/e11b8717665d905d3476796014e92a87_8619224.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/431e973e1839f819b7deab474c72c98c_86896758.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/118d9ee45a586896f5af8c4aa287c8e4_42298573.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/8b02181281b12ed9107b5447119b5268_92345398.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/5a5730a8049b8f3559970bfd84e3fec2_44999119.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/160d3939bb1af845f4016160cc3bf369_39969675.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/2a86ae88701e0da6bfeb723959ab21d2_50805814.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/9c3275c366c245afcd80a660e02142b3_27023824.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/d75802feec76b843a7336e8519fe921f_87895382.png change filename to text .imagette263358471756478702/ imagette263358471756478702/1756478587_3563686_1380128718_94223802c4b6ee47f5134a5156fa68bd_54136113_rle_crop_3935578805_0.png.png imagette263358471756478702/1756478587_3563686_1380128712_35f617a4a29418612939fc3cd197671c_33352747_rle_crop_3935578859_0.png.png imagette263358471756478702/1756478487_3558008_1380128265_a57b28e93a2c57ed94ee15f2d46fc2a9_47249765_rle_crop_3935578284_0.png.png imagette263358471756478702/1756478487_3558008_1380128367_9dd2ebae44b0074a2c1c43ca4628d691_18616899_rle_crop_3935578266_0.png.png imagette263358471756478702/1756478587_3563686_1380128716_f83f621b9c07659b5966c2f7b58326b5_99781140_rle_crop_3935578824_0.png.png imagette263358471756478702/1756478105_3539084_1380127768_904042aa90effeb1935640a563c47500_40717700_rle_crop_3935570826_0.png.png imagette263358471756478702/1756478305_3548812_1380128424_6d94f5b784dc318c29b1ded1bc295418_72749923_rle_crop_3935573723_0.png.png imagette263358471756478702/1756478305_3548812_1380128425_77c19c8b3b08c19952a6a7704cb1f9c5_51579879_rle_crop_3935573680_0.png.png imagette263358471756478702/1756478067_3537928_1380128010_e440a8eb8ba04956040d3d537690057f_71223341_rle_crop_3935570557_0.png.png imagette263358471756478702/1756478346_3549505_1380128395_4f935fe3c616735dd78113e63d427e64_98806899_rle_crop_3935575321_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/ecc2cd368f365fa4f425f20737731a2b_110081.png imagette263358471756478702 26335849 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26335849 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380128384: '1756478067_3537928_1380128010_e440a8eb8ba04956040d3d537690057f_71223341_rle_crop_3935570553_0.png', 1380128385: '1756478067_3537928_1380128008_fdf73f8b6a48a9c0cbbd17ba4ed2bdb7_54183547_rle_crop_3935570568_0.png', 1380128699: '1756478365_3550579_1380128363_3693e9f46df6b49e2b4a04c439e69eff_20727625_rle_crop_3935575750_0.png', 1380128700: '1756478365_3550579_1380128363_3693e9f46df6b49e2b4a04c439e69eff_20727625_rle_crop_3935575748_0.png', 1380128701: '1756478365_3550579_1380128362_f337caf4834158d61f2db8677238f1c7_44535726_rle_crop_3935575794_0.png', 1380128962: '1756478487_3558008_1380128265_a57b28e93a2c57ed94ee15f2d46fc2a9_47249765_rle_crop_3935578277_0.png', 1380128963: '1756478487_3558008_1380128262_6f4eef8b70e59ed347e6ef452ddea255_86782358_rle_crop_3935578289_0.png', 1380129080: '1756478587_3563686_1380128718_94223802c4b6ee47f5134a5156fa68bd_54136113_rle_crop_3935578807_0.png', 1380129081: '1756478587_3563686_1380128716_f83f621b9c07659b5966c2f7b58326b5_99781140_rle_crop_3935578820_0.png', 1380129082: '1756478587_3563686_1380128714_0fc1289d19d01be3f344b93de4792c3d_7539119_rle_crop_3935578848_0.png', 1380129083: '1756478587_3563686_1380128714_0fc1289d19d01be3f344b93de4792c3d_7539119_rle_crop_3935578840_0.png', 1380129084: '1756478587_3563686_1380128712_35f617a4a29418612939fc3cd197671c_33352747_rle_crop_3935578858_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/ee5193e2fee301c34b0f86f1abfefaf7_98690729.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/27e4c9035721f0468006eb660823fe6f_53691143.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/e72ad40f03ede1577c6558b18b58b20b_94417675.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/c0c33727dc0503893a282f7c13433de4_65625049.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/74268e7d6d02f6d65d088ca72739818a_94288883.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/f0ae574eb6e2745aa41f559b50a76d51_84003153.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/b6f8ee96fdb3c623e8c55207e5d2bff6_93138208.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/1bd8829cec41d4ab1f64162f45a0945c_39703.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/efc624d6789925902c20dc41f51e6868_82099417.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/c404746db627ba7eea33b71d4f2728d0_40590754.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/60103c0481ca8ea59beb231c66883bf5_27492606.png change filename to text .imagette263358491756478703/ imagette263358491756478703/1756478067_3537928_1380128010_e440a8eb8ba04956040d3d537690057f_71223341_rle_crop_3935570553_0.png.png imagette263358491756478703/1756478365_3550579_1380128362_f337caf4834158d61f2db8677238f1c7_44535726_rle_crop_3935575794_0.png.png imagette263358491756478703/1756478587_3563686_1380128712_35f617a4a29418612939fc3cd197671c_33352747_rle_crop_3935578858_0.png.png imagette263358491756478703/1756478587_3563686_1380128714_0fc1289d19d01be3f344b93de4792c3d_7539119_rle_crop_3935578840_0.png.png imagette263358491756478703/1756478365_3550579_1380128363_3693e9f46df6b49e2b4a04c439e69eff_20727625_rle_crop_3935575750_0.png.png imagette263358491756478703/1756478587_3563686_1380128714_0fc1289d19d01be3f344b93de4792c3d_7539119_rle_crop_3935578848_0.png.png imagette263358491756478703/1756478587_3563686_1380128718_94223802c4b6ee47f5134a5156fa68bd_54136113_rle_crop_3935578807_0.png.png imagette263358491756478703/1756478487_3558008_1380128262_6f4eef8b70e59ed347e6ef452ddea255_86782358_rle_crop_3935578289_0.png.png imagette263358491756478703/1756478587_3563686_1380128716_f83f621b9c07659b5966c2f7b58326b5_99781140_rle_crop_3935578820_0.png.png imagette263358491756478703/1756478067_3537928_1380128008_fdf73f8b6a48a9c0cbbd17ba4ed2bdb7_54183547_rle_crop_3935570568_0.png.png imagette263358491756478703/1756478487_3558008_1380128265_a57b28e93a2c57ed94ee15f2d46fc2a9_47249765_rle_crop_3935578277_0.png.png imagette263358491756478703/1756478365_3550579_1380128363_3693e9f46df6b49e2b4a04c439e69eff_20727625_rle_crop_3935575748_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/72a36063563db40dd14e522a3f011ff5_79562125.png imagette263358491756478703 26335855 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26335855 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380128408: '1756478105_3539084_1380128012_3521c8b1e718e20e4c10432bb78a66a8_45398017_rle_crop_3935570775_0.png', 1380128651: '1756478305_3548812_1380128426_9225ec73f96cd1de0f91aebad894cc8f_99443830_rle_crop_3935573666_0.png', 1380128652: '1756478305_3548812_1380128425_77c19c8b3b08c19952a6a7704cb1f9c5_51579879_rle_crop_3935573688_0.png', 1380128653: '1756478305_3548812_1380128425_77c19c8b3b08c19952a6a7704cb1f9c5_51579879_rle_crop_3935573679_0.png', 1380128693: '1756478365_3550579_1380128397_7e2cba3850b3f733907e5f3634acb0ef_19126854_rle_crop_3935575666_0.png', 1380128694: '1756478365_3550579_1380128366_fd0bafa02a7dcb38ebe5a08eeb539642_22723185_rle_crop_3935575690_0.png', 1380128695: '1756478365_3550579_1380128364_1a14579a19de668d5bafc6f31f2027f7_38400233_rle_crop_3935575717_0.png', 1380128696: '1756478365_3550579_1380128363_3693e9f46df6b49e2b4a04c439e69eff_20727625_rle_crop_3935575749_0.png', 1380128960: '1756478487_3558008_1380128265_a57b28e93a2c57ed94ee15f2d46fc2a9_47249765_rle_crop_3935578282_0.png', 1380129073: '1756478587_3563686_1380128714_0fc1289d19d01be3f344b93de4792c3d_7539119_rle_crop_3935578846_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/53ffd10ff6ae28199f788a0d768c9fe3_27127541.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/46b607a4a33e008b8a024f695a944e4b_12544019.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/c978d54e040639c8c8cba47bb97d85cb_7510213.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/a7e3322bf6980353d5204dbd89818d64_92938771.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/e7e018f217e8855e91f85050bb959905_76258146.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/eed65627ead6efee931ca48a0af0d5a0_4706801.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/d39af8d67a4fb36cee5e6af3f13f9f0d_93762141.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/39698fedbe9ad84b4f038f828fd6820e_5117748.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/28bc1d301f4bd9c08e8e6e5e7657b33c_31169852.png change filename to text .imagette263358551756478703/ imagette263358551756478703/1756478587_3563686_1380128714_0fc1289d19d01be3f344b93de4792c3d_7539119_rle_crop_3935578846_0.png.png imagette263358551756478703/1756478365_3550579_1380128364_1a14579a19de668d5bafc6f31f2027f7_38400233_rle_crop_3935575717_0.png.png imagette263358551756478703/1756478365_3550579_1380128363_3693e9f46df6b49e2b4a04c439e69eff_20727625_rle_crop_3935575749_0.png.png imagette263358551756478703/1756478305_3548812_1380128426_9225ec73f96cd1de0f91aebad894cc8f_99443830_rle_crop_3935573666_0.png.png imagette263358551756478703/1756478305_3548812_1380128425_77c19c8b3b08c19952a6a7704cb1f9c5_51579879_rle_crop_3935573679_0.png.png imagette263358551756478703/1756478305_3548812_1380128425_77c19c8b3b08c19952a6a7704cb1f9c5_51579879_rle_crop_3935573688_0.png.png imagette263358551756478703/1756478105_3539084_1380128012_3521c8b1e718e20e4c10432bb78a66a8_45398017_rle_crop_3935570775_0.png.png imagette263358551756478703/1756478365_3550579_1380128366_fd0bafa02a7dcb38ebe5a08eeb539642_22723185_rle_crop_3935575690_0.png.png imagette263358551756478703/1756478365_3550579_1380128397_7e2cba3850b3f733907e5f3634acb0ef_19126854_rle_crop_3935575666_0.png.png imagette263358551756478703/1756478487_3558008_1380128265_a57b28e93a2c57ed94ee15f2d46fc2a9_47249765_rle_crop_3935578282_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/433c569f987febc60caeea62a680d4fd_83822226.png imagette263358551756478703 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26335814 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26335862,26335863,26335864,26335865,26335866,26335867,26335868,26335869,26335870,26335871,26335872,26335873?tags=Carton_brun,environnement,Carton_gris,metal,cartonnette,papier,mal_croppe,autre_refus,Teint_Dans_La_Masse,kraft,plastique,flou your option no_mail is active, we will not send the real mail to your client args[1380129100] : ('0.055548905180351736',) no score found for photo 1380129100 We are sending mail with results at report@fotonower.com args[1380129099] : ('0.055548905180351736',) no score found for photo 1380129099 We are sending mail with results at report@fotonower.com args[1380129098] : ('0.055548905180351736',) no score found for photo 1380129098 We are sending mail with results at report@fotonower.com args[1380129097] : ('0.055548905180351736',) no score found for photo 1380129097 We are sending mail with results at report@fotonower.com args[1380129096] : ('0.055548905180351736',) no score found for photo 1380129096 We are sending mail with results at report@fotonower.com args[1380129059] : ('0.055548905180351736',) no score found for photo 1380129059 We are sending mail with results at report@fotonower.com args[1380129058] : ('0.055548905180351736',) no score found for photo 1380129058 We are sending mail with results at report@fotonower.com args[1380129057] : ('0.055548905180351736',) no score found for photo 1380129057 We are sending mail with results at report@fotonower.com args[1380129056] : ('0.055548905180351736',) no score found for photo 1380129056 We are sending mail with results at report@fotonower.com refus_total : 0.055548905180351736 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26335814 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_P26335814_29-08-2025_16_45_00.pdf results_Auto_P26335814_29-08-2025_16_45_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335814_29-08-2025_16_45_00.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','26335814','results_Auto_P26335814_29-08-2025_16_45_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335814_29-08-2025_16_45_00.pdf','pdf','','0.25','0.055548905180351736') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26335814]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1380129100, 1380129099, 1380129098, 1380129097, 1380129096, 1380129059, 1380129058, 1380129057, 1380129056] map_info['map_portfolio_photo'] : {26335814: [1380129100, 1380129099, 1380129098, 1380129097, 1380129096, 1380129059, 1380129058, 1380129057, 1380129056, 1380128975, 1380128974, 1380128973, 1380128972, 1380128971, 1380128970, 1380128816, 1380128814, 1380128812, 1380128810, 1380128808, 1380128719, 1380128718, 1380128716, 1380128714, 1380128712, 1380128670, 1380128669, 1380128668, 1380128667, 1380128666, 1380128665, 1380128520, 1380128519, 1380128518, 1380128516, 1380128514, 1380128512, 1380128452, 1380128451, 1380128449, 1380128448, 1380128447, 1380128427, 1380128426, 1380128425, 1380128424, 1380128423, 1380128422, 1380128397, 1380128396, 1380128395, 1380128394, 1380128367, 1380128366, 1380128365, 1380128364, 1380128363, 1380128362, 1380128267, 1380128265, 1380128262, 1380128012, 1380128010, 1380128008, 1380128006, 1380128004, 1380127770, 1380127769, 1380127768, 1380127767]} final : False mtd_id 4302 list_pids : [1380129100, 1380129099, 1380129098, 1380129097, 1380129096, 1380129059, 1380129058, 1380129057, 1380129056] 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, '3637502') ('4302', '26335814', '1380129100', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129099', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129098', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129097', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129096', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129059', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129058', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129057', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129056', None, None, None, None, None, '3637502') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 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', '26335814', '1380129100', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129099', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129098', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129097', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129096', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129059', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129058', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129057', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129056', None, None, None, None, None, '3637502')] time used for this insertion : 0.012803077697753906 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.270160913467407 time spend to save output : 0.013013839721679688 total time spend for step 4 : 5.283174753189087 step5:split_time_score Fri Aug 29 16:45: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 : ['26335814'] 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 : [('26335814',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26335814) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1380129100: {'path': 'temp/1756478700_3393375_1380129100_3525f7324f21d2b599014f24873b38b3_25393476.jpg', 'extension': 'jpg'}, 1380129098: {'path': 'temp/1756478700_3393375_1380129098_b902c4fcf96c7be2bb8cb79d0d119da8_60487182.jpg', 'extension': 'jpg'}, 1380129099: {'path': 'temp/1756478700_3393375_1380129099_9dfc29335e40917dd8755a5464543707_49040867.jpg', 'extension': 'jpg'}, 1380129096: {'path': 'temp/1756478700_3393375_1380129096_d46d50d48c401dfa89f03aa6624395b3_42730767.jpg', 'extension': 'jpg'}, 1380129097: {'path': 'temp/1756478700_3393375_1380129097_9c4779655407160aa2fe85419a46f63f_71979630.jpg', 'extension': 'jpg'}, 1380129056: {'path': 'temp/1756478700_3393375_1380129056_ab013323aad90aa716f03bc4aa871a23_68802314.jpg', 'extension': 'jpg'}, 1380129057: {'path': 'temp/1756478700_3393375_1380129057_116baa7c4f41632903c5e832853977fe_9890012.jpg', 'extension': 'jpg'}, 1380129058: {'path': 'temp/1756478700_3393375_1380129058_c3e5eebe8067a54d6b50bb0e86f1c15a_31464473.jpg', 'extension': 'jpg'}, 1380129059: {'path': 'temp/1756478700_3393375_1380129059_498540ceb8154ba1e32336b731e772f3_4179206.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 = 26335814; (('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 ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26335814 group by h (('16', 70),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26335814 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 (26335814) 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 (26335814) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 29082025 26335814 Nombre de photos uploadées : 70 / 23040 (0%) 29082025 26335814 Nombre de photos taguées (types de déchets): 0 / 70 (0%) 29082025 26335814 Nombre de photos taguées (volume) : 0 / 70 (0%) [{'photo_id': 1380127770, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/a77aa0475248e72f62bc85bb40a835c1_9288988.jpg', 'username': None, 'uploaded_at': 1756477873, 'text': 'image_29082025_16_30_05_010161m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1380127769, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/b7dab9fd43c050048d08ad3966c5ed60_80216969.jpg', 'username': None, 'uploaded_at': 1756477873, 'text': 'image_29082025_16_30_15_010136m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1380127768, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/904042aa90effeb1935640a563c47500_40717700.jpg', 'username': None, 'uploaded_at': 1756477873, 'text': 'image_29082025_16_30_25_010140m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1380127767, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/62b80dacf6237ff417d1a52dc1c526be_39034619.jpg', 'username': None, 'uploaded_at': 1756477873, 'text': 'image_29082025_16_30_45_010136m0.jpg 4e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 1.52587890625e-05 ?????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002294778823852539 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26335814, '2025-08-29' ) 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-08-29' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2197579,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20969104766845703 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= 2197579 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26310324, 'dashboard_result_id': 14449839, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310324_29-08-2025_00_17_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26310326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26310327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26310328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26310329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26310330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26310331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26310332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26310333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26310334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26310335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26310336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26310337, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26310717, 'dashboard_result_id': 14449840, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310717_29-08-2025_00_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26310746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26310747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26310748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26310749, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26310750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26310751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26310752, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26310753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26310754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26310755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26310756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26310757, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26311223, 'dashboard_result_id': 14449841, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311223_29-08-2025_00_47_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26311266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26311267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26311268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26311269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26311270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26311271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26311272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26311274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26311275, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26311276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26311277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26311278, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26311576, 'dashboard_result_id': 14449842, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311576_29-08-2025_01_35_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26311581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26311582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26311583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26311584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26311585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26311586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26311587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26311588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26311589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26311590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26311591, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26311593, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26312508, 'dashboard_result_id': 14449843, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312508_29-08-2025_01_47_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26312520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26312521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26312522, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26312523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26312524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26312525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26312526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26312527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26312528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26312529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26312530, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26312531, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26312666, 'dashboard_result_id': 14449844, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312666_29-08-2025_02_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26312701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26312702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26312703, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26312704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26312705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26312706, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26312707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26312709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26312710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26312711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26312712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26312713, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26312840, 'dashboard_result_id': 14449845, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312840_29-08-2025_02_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26312860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26312861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26312862, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26312863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26312864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26312865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26312866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26312867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26312868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26312869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26312870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26312871, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26313214, 'dashboard_result_id': 14449846, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313214_29-08-2025_02_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313226, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313228, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313236, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26313513, 'dashboard_result_id': 14449847, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313513_29-08-2025_02_47_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313525, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313529, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313536, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26313684, 'dashboard_result_id': 14449848, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313684_29-08-2025_03_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313689, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313697, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26313867, 'dashboard_result_id': 14449849, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313867_29-08-2025_03_18_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313906, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26314237, 'dashboard_result_id': 14449850, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314237_29-08-2025_03_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26314249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314260, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26314515, 'dashboard_result_id': 14449851, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314515_29-08-2025_03_46_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314526, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314527, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314528, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26314536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314537, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26314695, 'dashboard_result_id': 14449852, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314695_29-08-2025_04_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26314716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314717, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314718, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26314920, 'dashboard_result_id': 14449853, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314920_29-08-2025_14_31_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26314945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314949, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26315956, 'dashboard_result_id': 14449854, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26315956_29-08-2025_05_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26315969, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26315970, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26315971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26315972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26315973, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26315974, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26315975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26315976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26315977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26315978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26315979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26315980, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26316121, 'dashboard_result_id': 14449855, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316121_29-08-2025_05_36_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316133, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316143, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26316295, 'dashboard_result_id': 14449856, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316295_29-08-2025_05_47_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316303, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316308, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316312, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26316368, 'dashboard_result_id': 14449857, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316368_29-08-2025_06_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316380, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316381, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316382, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316384, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26316645, 'dashboard_result_id': 14449858, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316645_29-08-2025_06_16_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316667, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316668, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316672, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26316956, 'dashboard_result_id': 14449859, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316956_29-08-2025_06_33_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316971, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316973, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26317122, 'dashboard_result_id': 14449860, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26317122_29-08-2025_06_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26317124, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26317125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26317126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26317127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26317128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26317129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26317130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26317131, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26317132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26317133, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26317134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26317135, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26317313, 'dashboard_result_id': 14449861, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26317313_29-08-2025_14_31_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26317353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26317354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26317355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26317356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26317357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26317358, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26317359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26317360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26317361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26317362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26317363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26317364, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26319275, 'dashboard_result_id': 14449862, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319275_29-08-2025_08_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26319276, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26319277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26319278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26319279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26319280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26319281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26319282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26319283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26319284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26319285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26319286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26319287, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26319649, 'dashboard_result_id': 14449863, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319649_29-08-2025_08_46_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26319660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26319661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26319662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26319663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26319664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26319665, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26319666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26319667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26319668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26319669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26319670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26319671, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26319992, 'dashboard_result_id': 14449864, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319992_29-08-2025_09_38_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26320001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26320002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26320003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26320004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26320005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26320006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26320007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26320008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26320009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26320010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26320011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26320012, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26321271, 'dashboard_result_id': 14449865, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321271_29-08-2025_09_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321303, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26321306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321313, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26321494, 'dashboard_result_id': 14449866, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321494_29-08-2025_10_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26321510, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321514, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26321798, 'dashboard_result_id': 14449867, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321798_29-08-2025_10_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26321806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321816, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321817, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26322168, 'dashboard_result_id': 14449868, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26322168_29-08-2025_10_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26322203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26322204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26322205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26322206, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26322207, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26322208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26322209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26322210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26322211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26322213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26322214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26322215, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26322587, 'dashboard_result_id': 14449869, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26322587_29-08-2025_10_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26322636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26322637, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26322638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26322639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26322640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26322641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26322642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26322643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26322644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26322645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26322646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26322647, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26323180, 'dashboard_result_id': 14449870, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26323180_29-08-2025_11_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26323189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26323190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26323191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26323192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26323193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26323194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26323195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26323196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26323197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26323198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26323199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26323200, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26323592, 'dashboard_result_id': 14449871, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26323592_29-08-2025_11_18_56.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26323602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26323604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26323605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26323606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26323607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26323608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26323609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26323610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26323611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26323612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26323613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26323614, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26324001, 'dashboard_result_id': 14449872, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324001_29-08-2025_11_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26324015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324026, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324027, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26324407, 'dashboard_result_id': 14449873, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324407_29-08-2025_11_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324432, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26324437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324440, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26324712, 'dashboard_result_id': 14449874, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324712_29-08-2025_12_10_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26324750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324759, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26327763, 'dashboard_result_id': 14449875, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26327763_29-08-2025_13_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26327770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26327771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26327772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26327773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26327774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26327775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26327776, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26327777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26327778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26327779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26327780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26327781, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26328375, 'dashboard_result_id': 14449876, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328375_29-08-2025_14_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26328382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26328383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26328384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26328385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26328386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26328387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26328388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26328389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26328390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26328391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26328392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26328393, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26328696, 'dashboard_result_id': 14449877, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328696_29-08-2025_14_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26328713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26328714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26328715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26328716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26328717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26328718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26328719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26328720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26328721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26328722, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26328723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26328724, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26329431, 'dashboard_result_id': 14449878, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26329431_29-08-2025_14_32_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26329471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26329472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26329473, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26329474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26329475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26329476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26329477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26329478, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26329479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26329480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26329481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26329482, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26330273, 'dashboard_result_id': 14449879, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330273_29-08-2025_14_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26330321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26330322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26330323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26330324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26330325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26330326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26330327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26330328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26330329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26330330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26330331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26330332, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26330727, 'dashboard_result_id': 14449880, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330727_29-08-2025_15_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26330761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26330762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26330763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26330764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26330765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26330766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26330767, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26330768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26330769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26330770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26330771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26330772, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26331432, 'dashboard_result_id': 14449881, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26331432_29-08-2025_15_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26331468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26331469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26331470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26331471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26331472, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26331473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26331474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26331475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26331476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26331477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26331478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26331479, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26332241, 'dashboard_result_id': 14449882, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332241_29-08-2025_15_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26332275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26332276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26332277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26332278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26332279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26332280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26332281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26332282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26332283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26332284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26332286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26332287, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26332945, 'dashboard_result_id': 14449883, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332945_29-08-2025_15_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26332978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26332979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26332981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26332982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26332983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26332984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26332985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26332986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26332987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26332988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26332989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26332990, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26333697, 'dashboard_result_id': 14449884, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26333697_29-08-2025_16_02_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26333722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26333723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26333725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26333730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26333737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26333743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26333745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26333746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26333747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26333748, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26333749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26333750, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26334301, 'dashboard_result_id': 14449885, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26334301_29-08-2025_16_16_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26334350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26334351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26334352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26334353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26334354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26334355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26334356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26334357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26334358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26334359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26334360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26334361, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26335136, 'dashboard_result_id': 14449886, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335136_29-08-2025_16_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26335185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26335186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26335187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26335188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26335189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26335190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26335191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26335192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26335193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26335194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26335195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26335196, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2205834, 'mtr_portfolio_id': 26335814, 'dashboard_result_id': 14449887, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335814_29-08-2025_16_42_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26335847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26335848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26335849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26335850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26335851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26335852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26335853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26335854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26335855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26335856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26335857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26335858, '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 = 26310324 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 = 26310324 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 = 26310324 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26310324 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 = 26310324 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 = 26310324 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310324_29-08-2025_00_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310324 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310324_29-08-2025_00_17_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26310326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26310327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26310328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26310329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26310330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26310331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26310332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26310333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26310334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26310335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26310336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26310337, 'pht': 3726}}" where mtr_portfolio_id = 26310324 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26310717 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 = 26310717 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 = 26310717 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26310717 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 = 26310717 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 = 26310717 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310717_29-08-2025_00_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310717 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310717_29-08-2025_00_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26310746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26310747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26310748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26310749, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26310750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26310751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26310752, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26310753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26310754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26310755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26310756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26310757, 'pht': 3726}}" where mtr_portfolio_id = 26310717 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26311223 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 = 26311223 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 = 26311223 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26311223 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 = 26311223 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 = 26311223 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311223_29-08-2025_00_47_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26311223 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311223_29-08-2025_00_47_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26311266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26311267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26311268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26311269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26311270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26311271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26311272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26311274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26311275, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26311276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26311277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26311278, 'pht': 3726}}" where mtr_portfolio_id = 26311223 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26311576 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 = 26311576 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 = 26311576 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26311576 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 = 26311576 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 = 26311576 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311576_29-08-2025_01_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26311576 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311576_29-08-2025_01_35_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26311581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26311582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26311583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26311584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26311585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26311586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26311587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26311588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26311589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26311590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26311591, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26311593, 'pht': 3726}}" where mtr_portfolio_id = 26311576 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26312508 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 = 26312508 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 = 26312508 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26312508 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 = 26312508 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 = 26312508 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312508_29-08-2025_01_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26312508 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312508_29-08-2025_01_47_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26312520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26312521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26312522, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26312523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26312524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26312525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26312526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26312527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26312528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26312529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26312530, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26312531, 'pht': 3726}}" where mtr_portfolio_id = 26312508 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26312666 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 = 26312666 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 = 26312666 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26312666 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 = 26312666 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 = 26312666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312666_29-08-2025_02_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26312666 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312666_29-08-2025_02_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26312701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26312702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26312703, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26312704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26312705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26312706, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26312707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26312709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26312710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26312711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26312712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26312713, 'pht': 3726}}" where mtr_portfolio_id = 26312666 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26312840 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 = 26312840 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 = 26312840 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26312840 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 = 26312840 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 = 26312840 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312840_29-08-2025_02_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26312840 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312840_29-08-2025_02_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26312860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26312861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26312862, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26312863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26312864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26312865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26312866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26312867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26312868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26312869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26312870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26312871, 'pht': 3726}}" where mtr_portfolio_id = 26312840 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313214 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 = 26313214 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 = 26313214 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313214 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 = 26313214 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 = 26313214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313214_29-08-2025_02_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26313214 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313214_29-08-2025_02_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313226, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313228, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313236, 'pht': 3726}}" where mtr_portfolio_id = 26313214 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313513 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 = 26313513 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 = 26313513 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313513 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 = 26313513 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 = 26313513 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313513_29-08-2025_02_47_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26313513 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313513_29-08-2025_02_47_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313525, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313529, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313536, 'pht': 3726}}" where mtr_portfolio_id = 26313513 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313684 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 = 26313684 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 = 26313684 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313684 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 = 26313684 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 = 26313684 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313684_29-08-2025_03_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26313684 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313684_29-08-2025_03_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313689, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313697, 'pht': 3726}}" where mtr_portfolio_id = 26313684 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313867 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 = 26313867 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 = 26313867 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313867 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 = 26313867 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 = 26313867 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313867_29-08-2025_03_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26313867 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313867_29-08-2025_03_18_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313906, 'pht': 3726}}" where mtr_portfolio_id = 26313867 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314237 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 = 26314237 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 = 26314237 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314237 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 = 26314237 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 = 26314237 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314237_29-08-2025_03_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26314237 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314237_29-08-2025_03_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26314249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314260, 'pht': 3726}}" where mtr_portfolio_id = 26314237 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314515 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 = 26314515 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 = 26314515 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314515 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 = 26314515 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 = 26314515 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314515_29-08-2025_03_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26314515 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314515_29-08-2025_03_46_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314526, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314527, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314528, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26314536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314537, 'pht': 3726}}" where mtr_portfolio_id = 26314515 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314695 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 = 26314695 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 = 26314695 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314695 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 = 26314695 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 = 26314695 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314695_29-08-2025_04_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26314695 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314695_29-08-2025_04_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26314716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314717, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314718, 'pht': 3726}}" where mtr_portfolio_id = 26314695 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314920 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 = 26314920 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 = 26314920 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314920 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 = 26314920 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 = 26314920 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314920_29-08-2025_14_31_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26314920 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314920_29-08-2025_14_31_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26314945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314949, 'pht': 3726}}" where mtr_portfolio_id = 26314920 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26315956 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 = 26315956 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 = 26315956 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26315956 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 = 26315956 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 = 26315956 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26315956_29-08-2025_05_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26315956 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26315956_29-08-2025_05_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26315969, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26315970, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26315971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26315972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26315973, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26315974, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26315975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26315976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26315977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26315978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26315979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26315980, 'pht': 3726}}" where mtr_portfolio_id = 26315956 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316121 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 = 26316121 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 = 26316121 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316121 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 = 26316121 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 = 26316121 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316121_29-08-2025_05_36_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26316121 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316121_29-08-2025_05_36_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316133, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316143, 'pht': 3726}}" where mtr_portfolio_id = 26316121 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316295 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 = 26316295 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 = 26316295 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316295 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 = 26316295 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 = 26316295 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316295_29-08-2025_05_47_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26316295 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316295_29-08-2025_05_47_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316303, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316308, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316312, 'pht': 3726}}" where mtr_portfolio_id = 26316295 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316368 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 = 26316368 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 = 26316368 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316368 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 = 26316368 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 = 26316368 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316368_29-08-2025_06_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26316368 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316368_29-08-2025_06_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316380, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316381, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316382, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316384, 'pht': 3726}}" where mtr_portfolio_id = 26316368 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316645 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 = 26316645 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 = 26316645 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316645 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 = 26316645 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 = 26316645 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316645_29-08-2025_06_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26316645 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316645_29-08-2025_06_16_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316667, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316668, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316672, 'pht': 3726}}" where mtr_portfolio_id = 26316645 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316956 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 = 26316956 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 = 26316956 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316956 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 = 26316956 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 = 26316956 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316956_29-08-2025_06_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26316956 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316956_29-08-2025_06_33_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316971, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316973, 'pht': 3726}}" where mtr_portfolio_id = 26316956 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26317122 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 = 26317122 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 = 26317122 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26317122 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 = 26317122 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 = 26317122 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26317122_29-08-2025_06_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26317122 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26317122_29-08-2025_06_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26317124, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26317125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26317126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26317127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26317128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26317129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26317130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26317131, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26317132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26317133, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26317134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26317135, 'pht': 3726}}" where mtr_portfolio_id = 26317122 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26317313 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 = 26317313 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 = 26317313 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26317313 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 = 26317313 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 = 26317313 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26317313_29-08-2025_14_31_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26317313 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26317313_29-08-2025_14_31_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26317353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26317354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26317355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26317356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26317357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26317358, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26317359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26317360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26317361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26317362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26317363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26317364, 'pht': 3726}}" where mtr_portfolio_id = 26317313 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26319275 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 = 26319275 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 = 26319275 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26319275 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 = 26319275 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 = 26319275 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319275_29-08-2025_08_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26319275 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319275_29-08-2025_08_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26319276, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26319277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26319278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26319279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26319280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26319281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26319282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26319283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26319284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26319285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26319286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26319287, 'pht': 3726}}" where mtr_portfolio_id = 26319275 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26319649 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 = 26319649 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 = 26319649 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26319649 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 = 26319649 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 = 26319649 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319649_29-08-2025_08_46_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26319649 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319649_29-08-2025_08_46_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26319660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26319661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26319662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26319663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26319664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26319665, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26319666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26319667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26319668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26319669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26319670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26319671, 'pht': 3726}}" where mtr_portfolio_id = 26319649 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26319992 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 = 26319992 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 = 26319992 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26319992 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 = 26319992 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 = 26319992 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319992_29-08-2025_09_38_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26319992 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319992_29-08-2025_09_38_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26320001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26320002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26320003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26320004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26320005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26320006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26320007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26320008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26320009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26320010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26320011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26320012, 'pht': 3726}}" where mtr_portfolio_id = 26319992 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26321271 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 = 26321271 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 = 26321271 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26321271 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 = 26321271 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 = 26321271 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321271_29-08-2025_09_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26321271 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321271_29-08-2025_09_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321303, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26321306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321313, 'pht': 3726}}" where mtr_portfolio_id = 26321271 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26321494 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 = 26321494 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 = 26321494 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26321494 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 = 26321494 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 = 26321494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321494_29-08-2025_10_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26321494 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321494_29-08-2025_10_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26321510, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321514, 'pht': 3726}}" where mtr_portfolio_id = 26321494 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26321798 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 = 26321798 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 = 26321798 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26321798 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 = 26321798 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 = 26321798 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321798_29-08-2025_10_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26321798 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321798_29-08-2025_10_16_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26321806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321816, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321817, 'pht': 3726}}" where mtr_portfolio_id = 26321798 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26322168 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 = 26322168 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 = 26322168 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26322168 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 = 26322168 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 = 26322168 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26322168_29-08-2025_10_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26322168 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26322168_29-08-2025_10_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26322203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26322204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26322205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26322206, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26322207, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26322208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26322209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26322210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26322211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26322213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26322214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26322215, 'pht': 3726}}" where mtr_portfolio_id = 26322168 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26322587 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 = 26322587 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 = 26322587 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26322587 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 = 26322587 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 = 26322587 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26322587_29-08-2025_10_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26322587 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26322587_29-08-2025_10_47_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26322636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26322637, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26322638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26322639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26322640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26322641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26322642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26322643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26322644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26322645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26322646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26322647, 'pht': 3726}}" where mtr_portfolio_id = 26322587 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26323180 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 = 26323180 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 = 26323180 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26323180 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 = 26323180 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 = 26323180 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26323180_29-08-2025_11_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26323180 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26323180_29-08-2025_11_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26323189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26323190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26323191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26323192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26323193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26323194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26323195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26323196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26323197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26323198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26323199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26323200, 'pht': 3726}}" where mtr_portfolio_id = 26323180 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26323592 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 = 26323592 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 = 26323592 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26323592 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 = 26323592 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 = 26323592 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26323592_29-08-2025_11_18_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26323592 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26323592_29-08-2025_11_18_56.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26323602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26323604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26323605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26323606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26323607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26323608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26323609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26323610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26323611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26323612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26323613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26323614, 'pht': 3726}}" where mtr_portfolio_id = 26323592 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26324001 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 = 26324001 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 = 26324001 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26324001 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 = 26324001 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 = 26324001 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324001_29-08-2025_11_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26324001 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324001_29-08-2025_11_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26324015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324026, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324027, 'pht': 3726}}" where mtr_portfolio_id = 26324001 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26324407 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 = 26324407 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 = 26324407 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26324407 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 = 26324407 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 = 26324407 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324407_29-08-2025_11_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26324407 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324407_29-08-2025_11_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324432, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26324437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324440, 'pht': 3726}}" where mtr_portfolio_id = 26324407 and dashboard_run_id = 2205834 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26324712 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3635870, 'mtr_portfolio_id': 26324712, 'created_at': datetime.datetime(2025, 8, 29, 12, 10, 59), 'result': '0.09289079623071032', 'result_long': None, 'result_double': None}] Qualite : 0.09289079623071032 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26324712 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324712_29-08-2025_12_10_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26324712 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324712_29-08-2025_12_10_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26324750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324759, 'pht': 3726}}" where mtr_portfolio_id = 26324712 and dashboard_run_id = 2205834 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26324712 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14449874, 0.09289079623071032, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324712_29-08-2025_12_10_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26324750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324759, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26327763 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3636377, 'mtr_portfolio_id': 26327763, 'created_at': datetime.datetime(2025, 8, 29, 13, 46, 58), 'result': '0.02877178983066864', 'result_long': None, 'result_double': None}] Qualite : 0.02877178983066864 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26327763 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26327763_29-08-2025_13_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26327763 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26327763_29-08-2025_13_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26327770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26327771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26327772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26327773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26327774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26327775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26327776, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26327777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26327778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26327779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26327780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26327781, 'pht': 3726}}" where mtr_portfolio_id = 26327763 and dashboard_run_id = 2205834 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26327763 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14449875, 0.02877178983066864, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26327763_29-08-2025_13_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26327770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26327771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26327772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26327773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26327774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26327775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26327776, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26327777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26327778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26327779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26327780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26327781, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26328375 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3636429, 'mtr_portfolio_id': 26328375, 'created_at': datetime.datetime(2025, 8, 29, 14, 2, 58), 'result': '0.04566607426287306', 'result_long': None, 'result_double': None}] Qualite : 0.04566607426287306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26328375 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328375_29-08-2025_14_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26328375 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328375_29-08-2025_14_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26328382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26328383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26328384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26328385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26328386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26328387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26328388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26328389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26328390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26328391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26328392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26328393, 'pht': 3726}}" where mtr_portfolio_id = 26328375 and dashboard_run_id = 2205834 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26328375 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14449876, 0.04566607426287306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328375_29-08-2025_14_02_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26328382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26328383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26328384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26328385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26328386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26328387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26328388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26328389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26328390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26328391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26328392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26328393, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26328696 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3636470, 'mtr_portfolio_id': 26328696, 'created_at': datetime.datetime(2025, 8, 29, 14, 16, 59), 'result': '0.052459700770017416', 'result_long': None, 'result_double': None}] Qualite : 0.052459700770017416 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26328696 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328696_29-08-2025_14_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26328696 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328696_29-08-2025_14_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26328713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26328714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26328715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26328716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26328717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26328718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26328719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26328720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26328721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26328722, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26328723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26328724, 'pht': 3726}}" where mtr_portfolio_id = 26328696 and dashboard_run_id = 2205834 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26328696 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14449877, 0.052459700770017416, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328696_29-08-2025_14_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26328713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26328714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26328715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26328716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26328717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26328718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26328719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26328720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26328721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26328722, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26328723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26328724, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26329431 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3636540, 'mtr_portfolio_id': 26329431, 'created_at': datetime.datetime(2025, 8, 29, 14, 32, 57), 'result': '0.04422196652997871', 'result_long': None, 'result_double': None}] Qualite : 0.04422196652997871 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26329431 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26329431_29-08-2025_14_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26329431 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26329431_29-08-2025_14_32_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26329471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26329472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26329473, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26329474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26329475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26329476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26329477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26329478, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26329479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26329480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26329481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26329482, 'pht': 3726}}" where mtr_portfolio_id = 26329431 and dashboard_run_id = 2205834 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26329431 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14449878, 0.04422196652997871, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26329431_29-08-2025_14_32_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26329471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26329472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26329473, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26329474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26329475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26329476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26329477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26329478, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26329479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26329480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26329481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26329482, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26330273 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3636648, 'mtr_portfolio_id': 26330273, 'created_at': datetime.datetime(2025, 8, 29, 14, 36, 58), 'result': '0.06415580297979981', 'result_long': None, 'result_double': None}] Qualite : 0.06415580297979981 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26330273 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330273_29-08-2025_14_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26330273 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330273_29-08-2025_14_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26330321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26330322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26330323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26330324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26330325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26330326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26330327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26330328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26330329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26330330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26330331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26330332, 'pht': 3726}}" where mtr_portfolio_id = 26330273 and dashboard_run_id = 2205834 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26330273 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14449879, 0.06415580297979981, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330273_29-08-2025_14_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26330321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26330322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26330323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26330324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26330325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26330326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26330327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26330328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26330329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26330330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26330331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26330332, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26330727 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3636858, 'mtr_portfolio_id': 26330727, 'created_at': datetime.datetime(2025, 8, 29, 15, 2, 58), 'result': '0.0593357957796049', 'result_long': None, 'result_double': None}] Qualite : 0.0593357957796049 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26330727 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330727_29-08-2025_15_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26330727 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330727_29-08-2025_15_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26330761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26330762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26330763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26330764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26330765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26330766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26330767, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26330768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26330769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26330770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26330771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26330772, 'pht': 3726}}" where mtr_portfolio_id = 26330727 and dashboard_run_id = 2205834 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26330727 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14449880, 0.0593357957796049, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330727_29-08-2025_15_02_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26330761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26330762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26330763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26330764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26330765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26330766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26330767, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26330768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26330769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26330770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26330771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26330772, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26331432 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3636963, 'mtr_portfolio_id': 26331432, 'created_at': datetime.datetime(2025, 8, 29, 15, 16, 58), 'result': '0.06345349149933788', 'result_long': None, 'result_double': None}] Qualite : 0.06345349149933788 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26331432 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26331432_29-08-2025_15_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26331432 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26331432_29-08-2025_15_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26331468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26331469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26331470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26331471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26331472, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26331473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26331474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26331475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26331476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26331477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26331478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26331479, 'pht': 3726}}" where mtr_portfolio_id = 26331432 and dashboard_run_id = 2205834 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26331432 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14449881, 0.06345349149933788, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26331432_29-08-2025_15_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26331468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26331469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26331470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26331471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26331472, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26331473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26331474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26331475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26331476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26331477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26331478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26331479, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26332241 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3637053, 'mtr_portfolio_id': 26332241, 'created_at': datetime.datetime(2025, 8, 29, 15, 32, 58), 'result': '0.040776554992635605', 'result_long': None, 'result_double': None}] Qualite : 0.040776554992635605 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26332241 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332241_29-08-2025_15_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26332241 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332241_29-08-2025_15_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26332275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26332276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26332277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26332278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26332279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26332280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26332281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26332282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26332283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26332284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26332286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26332287, 'pht': 3726}}" where mtr_portfolio_id = 26332241 and dashboard_run_id = 2205834 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26332241 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14449882, 0.040776554992635605, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332241_29-08-2025_15_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26332275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26332276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26332277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26332278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26332279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26332280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26332281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26332282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26332283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26332284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26332286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26332287, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26332945 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3637157, 'mtr_portfolio_id': 26332945, 'created_at': datetime.datetime(2025, 8, 29, 15, 46, 59), 'result': '0.05336637655479399', 'result_long': None, 'result_double': None}] Qualite : 0.05336637655479399 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26332945 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332945_29-08-2025_15_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26332945 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332945_29-08-2025_15_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26332978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26332979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26332981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26332982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26332983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26332984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26332985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26332986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26332987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26332988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26332989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26332990, 'pht': 3726}}" where mtr_portfolio_id = 26332945 and dashboard_run_id = 2205834 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26332945 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14449883, 0.05336637655479399, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332945_29-08-2025_15_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26332978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26332979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26332981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26332982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26332983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26332984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26332985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26332986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26332987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26332988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26332989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26332990, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26333697 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3637241, 'mtr_portfolio_id': 26333697, 'created_at': datetime.datetime(2025, 8, 29, 16, 2, 58), 'result': '0.044877817461725755', 'result_long': None, 'result_double': None}] Qualite : 0.044877817461725755 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26333697 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26333697_29-08-2025_16_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26333697 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26333697_29-08-2025_16_02_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26333722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26333723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26333725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26333730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26333737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26333743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26333745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26333746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26333747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26333748, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26333749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26333750, 'pht': 3726}}" where mtr_portfolio_id = 26333697 and dashboard_run_id = 2205835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26333697 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14449884, 0.044877817461725755, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26333697_29-08-2025_16_02_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26333722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26333723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26333725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26333730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26333737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26333743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26333745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26333746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26333747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26333748, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26333749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26333750, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26334301 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3637338, 'mtr_portfolio_id': 26334301, 'created_at': datetime.datetime(2025, 8, 29, 16, 16, 58), 'result': '0.06947797794814142', 'result_long': None, 'result_double': None}] Qualite : 0.06947797794814142 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26334301 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26334301_29-08-2025_16_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26334301 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26334301_29-08-2025_16_16_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26334350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26334351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26334352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26334353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26334354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26334355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26334356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26334357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26334358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26334359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26334360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26334361, 'pht': 3726}}" where mtr_portfolio_id = 26334301 and dashboard_run_id = 2205835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26334301 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14449885, 0.06947797794814142, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26334301_29-08-2025_16_16_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26334350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26334351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26334352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26334353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26334354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26334355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26334356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26334357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26334358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26334359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26334360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26334361, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26335136 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3637420, 'mtr_portfolio_id': 26335136, 'created_at': datetime.datetime(2025, 8, 29, 16, 32, 58), 'result': '0.04752373724025686', 'result_long': None, 'result_double': None}] Qualite : 0.04752373724025686 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26335136 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335136_29-08-2025_16_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26335136 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335136_29-08-2025_16_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26335185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26335186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26335187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26335188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26335189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26335190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26335191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26335192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26335193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26335194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26335195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26335196, 'pht': 3726}}" where mtr_portfolio_id = 26335136 and dashboard_run_id = 2205835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26335136 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14449886, 0.04752373724025686, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335136_29-08-2025_16_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26335185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26335186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26335187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26335188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26335189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26335190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26335191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26335192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26335193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26335194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26335195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26335196, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26335814 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3637502, 'mtr_portfolio_id': 26335814, 'created_at': datetime.datetime(2025, 8, 29, 16, 44, 59), 'result': '0.055548905180351736', 'result_long': None, 'result_double': None}] Qualite : 0.055548905180351736 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26335814 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335814_29-08-2025_16_45_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26335814 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335814_29-08-2025_16_45_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26335847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26335848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26335849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26335850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26335851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26335852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26335853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26335854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26335855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26335856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26335857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26335858, 'pht': 3726}}" where mtr_portfolio_id = 26335814 and dashboard_run_id = 2205835 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26335814 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14449887, 0.055548905180351736, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335814_29-08-2025_16_45_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26335847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26335848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26335849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26335850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26335851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26335852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26335853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26335854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26335855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26335856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26335857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26335858, '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 (26310324,26310717,26311223,26311576,26312508,26312666,26312840,26313214,26313513,26313684,26313867,26314237,26314515,26314695,26314920,26315956,26316121,26316295,26316368,26316645,26316956,26317122,26317313,26319275,26319649,26319992,26321271,26321494,26321798,26322168,26322587,26323180,26323592,26324001,26324407,26324712,26327763,26328375,26328696,26329431,26330273,26330727,26331432,26332241,26332945,26333697,26334301,26335136,26335814) result : ((1379996207,), (1379996208,), (1379996209,), (1379996377,), (1379996379,), (1379996381,), (1379996382,), (1379996803,), (1379996806,), (1379996809,), (1379996812,), (1379996815,), (1379997472,), (1379997475,), (1379997478,), (1379997481,), (1379997484,), (1379997636,), (1379997638,), (1379997640,), (1379997642,), (1379997901,), (1379997902,), (1379997903,), (1379997904,), (1379998197,), (1379998199,), (1379998201,), (1379998203,), (1379998411,), (1379998412,), (1379998413,), (1379998670,), (1379998671,), (1379998828,), (1379998829,), (1379998830,), (1379998831,), (1379998832,), (1379998888,), (1379998889,), (1379998890,), (1379998891,), (1379998892,), (1379998893,), (1379998913,), (1379998914,), (1379998915,), (1379998916,), (1379998917,), (1379998957,), (1379998959,), (1379998961,), (1379999400,), (1379999403,), (1379999406,), (1379999409,), (1379999717,), (1379999718,), (1379999720,), (1379999722,), (1379999724,), (1380000105,), (1380000098,), (1380000100,), (1380000102,), (1380001323,), (1380001326,), (1380001329,), (1380001332,), (1380001688,), (1380001689,), (1380001690,), (1380001691,), (1380002057,), (1380002059,), (1380004099,), (1380004100,), (1380004101,), (1380004102,), (1380004398,), (1380004401,), (1380004403,), (1380004871,), (1380004867,), (1380004869,), (1380005176,), (1380005177,), (1380005178,), (1380005179,), (1380005181,), (1380005182,), (1380005574,), (1380005576,), (1380005578,), (1380005580,), (1380005929,), (1380006448,), (1380006450,), (1380006452,), (1380006476,), (1380006477,), (1380006478,), (1380006479,), (1380006529,), (1380006530,), (1380006531,), (1380006582,), (1380006583,), (1380006584,), (1380006586,), (1380006611,), (1380006612,), (1380006613,), (1380006614,), (1380006615,), (1380006667,), (1380006668,), (1380006669,), (1380006670,), (1380006712,), (1380006713,), (1380006714,), (1380006715,), (1380006785,), (1380006786,), (1380006787,), (1380006788,), (1380006789,), (1380006790,), (1380006814,), (1380006815,), (1380006816,), (1380006817,), (1380006818,), (1380006839,), (1380006840,), (1380006842,), (1380006843,), (1380006957,), (1380006952,), (1380006953,), (1380006954,), (1380006955,), (1380006956,), (1380006978,), (1380006979,), (1380006980,), (1380006981,), (1380006982,), (1380007047,), (1380007048,), (1380007067,), (1380007068,), (1380007069,), (1380007070,), (1380007071,), (1380007091,), (1380007093,), (1380007095,), (1380007096,), (1380007097,), (1380007159,), (1380007162,), (1380007163,), (1380007165,), (1380007166,), (1380007167,), (1380007290,), (1380007291,), (1380007402,), (1380007403,), (1380007404,), (1380007405,), (1380007453,), (1380007454,), (1380007455,), (1380007456,), (1380007457,), (1380007458,), (1380007471,), (1380007472,), (1380007473,), (1380007474,), (1380007475,), (1380007476,), (1380007498,), (1380007499,), (1380007501,), (1380007503,), (1380007504,), (1380007560,), (1380007582,), (1380007583,), (1380007584,), (1380007585,), (1380007586,), (1380007824,), (1380013142,), (1380013141,), (1380013224,), (1380013225,), (1380013226,), (1380013227,), (1380013228,), (1380013246,), (1380013247,), (1380013266,), (1380013267,), (1380013268,), (1380013269,), (1380013301,), (1380013302,), (1380013303,), (1380013344,), (1380013345,), (1380013346,), (1380013347,), (1380013368,), (1380013369,), (1380013370,), (1380013371,), (1380013391,), (1380013392,), (1380013393,), (1380013436,), (1380013438,), (1380013440,), (1380013441,), (1380013442,), (1380013487,), (1380013488,), (1380013489,), (1380013512,), (1380013513,), (1380013514,), (1380013531,), (1380013558,), (1380013559,), (1380013589,), (1380013584,), (1380013585,), (1380013586,), (1380013587,), (1380013623,), (1380013624,), (1380013647,), (1380013648,), (1380013649,), (1380013650,), (1380013651,), (1380013664,), (1380013665,), (1380013666,), (1380013693,), (1380013694,), (1380013695,), (1380013713,), (1380013714,), (1380013715,), (1380013716,), (1380013717,), (1380013734,), (1380013735,), (1380013736,), (1380013737,), (1380013738,), (1380013821,), (1380013822,), (1380013823,), (1380013824,), (1380013877,), (1380013878,), (1380013879,), (1380013880,), (1380013905,), (1380013906,), (1380013907,), (1380013908,), (1380013924,), (1380013925,), (1380013926,), (1380013927,), (1380013946,), (1380013947,), (1380013948,), (1380013949,), (1380013950,), (1380013969,), (1380013970,), (1380013971,), (1380013972,), (1380013973,), (1380014007,), (1380014009,), (1380014011,), (1380014013,), (1380014014,), (1380014015,), (1380014019,), (1380014020,), (1380014021,), (1380014022,), (1380014112,), (1380014106,), (1380014110,), (1380014649,), (1380014785,), (1380014786,), (1380014787,), (1380014788,), (1380014807,), (1380014808,), (1380014874,), (1380014875,), (1380014876,), (1380014877,), (1380014878,), (1380014879,), (1380014966,), (1380014971,), (1380014978,), (1380014984,), (1380015154,), (1380015155,), (1380015156,), (1380015157,), (1380015158,), (1380015159,), (1380015221,), (1380015224,), (1380015225,), (1380015226,), (1380015227,), (1380015249,), (1380015251,), (1380015253,), (1380015255,), (1380015616,), (1380015618,), (1380015620,), (1380015622,), (1380016003,), (1380016162,), (1380015996,), (1380015999,), (1380016001,), (1380016083,), (1380016085,), (1380016087,), (1380016089,), (1380016091,), (1380016093,), (1380016154,), (1380016156,), (1380016159,), (1380016599,), (1380016601,), (1380016603,), (1380017051,), (1380017053,), (1380017055,), (1380017057,), (1380017059,), (1380017061,), (1380017424,), (1380017425,), (1380017426,), (1380017427,), (1380017624,), (1380017625,), (1380017626,), (1380017627,), (1380017673,), (1380017677,), (1380017678,), (1380017679,), (1380017708,), (1380017709,), (1380017710,), (1380017711,), (1380017712,), (1380017713,), (1380017732,), (1380017733,), (1380017734,), (1380017735,), (1380017736,), (1380017737,), (1380017757,), (1380017758,), (1380017759,), (1380017760,), (1380017761,), (1380017762,), (1380017782,), (1380017783,), (1380017784,), (1380017831,), (1380017834,), (1380017836,), (1380017839,), (1380017841,), (1380017844,), (1380017847,), (1380017850,), (1380017851,), (1380017854,), (1380017856,), (1380017860,), (1380017899,), (1380017900,), (1380017901,), (1380017948,), (1380017949,), (1380017950,), (1380017951,), (1380017952,), (1380017969,), (1380017970,), (1380017971,), (1380017972,), (1380017974,), (1380017975,), (1380018005,), (1380018007,), (1380018008,), (1380018009,), (1380018038,), (1380018034,), (1380018035,), (1380018036,), (1380018037,), (1380018161,), (1380018162,), (1380018163,), (1380018164,), (1380018165,), (1380018215,), (1380018216,), (1380018217,), (1380018218,), (1380018219,), (1380018245,), (1380018246,), (1380018247,), (1380018248,), (1380018262,), (1380018263,), (1380018264,), (1380018265,), (1380018266,), (1380018267,), (1380018287,), (1380018288,), (1380018289,), (1380018290,), (1380018291,), (1380018310,), (1380018311,), (1380018312,), (1380018313,), (1380018327,), (1380018328,), (1380018329,), (1380018330,), (1380018331,), (1380018345,), (1380018346,), (1380018347,), (1380018374,), (1380018508,), (1380018509,), (1380018560,), (1380018561,), (1380018562,), (1380018563,), (1380018583,), (1380018584,), (1380018585,), (1380018586,), (1380018587,), (1380018602,), (1380018603,), (1380018604,), (1380018629,), (1380018624,), (1380018625,), (1380018626,), (1380018627,), (1380018628,), (1380018651,), (1380018652,), (1380018653,), (1380018654,), (1380018655,), (1380018679,), (1380018680,), (1380018681,), (1380018682,), (1380018742,), (1380018744,), (1380018745,), (1380018746,), (1380018747,), (1380018748,), (1380018766,), (1380018767,), (1380018768,), (1380018769,), (1380018770,), (1380018771,), (1380018831,), (1380018832,), (1380018884,), (1380018885,), (1380018886,), (1380018887,), (1380018888,), (1380018902,), (1380018903,), (1380018904,), (1380018905,), (1380018906,), (1380018923,), (1380018924,), (1380018925,), (1380018926,), (1380018948,), (1380018949,), (1380018950,), (1380018951,), (1380018971,), (1380018972,), (1380018973,), (1380018974,), (1380018996,), (1380018997,), (1380018998,), (1380018999,), (1380019000,), (1380019018,), (1380019019,), (1380019020,), (1380019021,), (1380019022,), (1380019023,), (1380019046,), (1380019047,), (1380019049,), (1380019051,), (1380019053,), (1380019060,), (1380019062,), (1380019064,), (1380019065,), (1380019066,), (1380019107,), (1380019103,), (1380019104,), (1380019105,), (1380019106,), (1380019185,), (1380019189,), (1380019193,), (1380019587,), (1380019589,), (1380019591,), (1380019593,), (1380019595,), (1380019597,), (1380019955,), (1380019957,), (1380019959,), (1380019961,), (1380020317,), (1380020320,), (1380020323,), (1380020326,), (1380020808,), (1380020810,), (1380020812,), (1380020814,), (1380020816,), (1380021367,), (1380021369,), (1380021371,), (1380021373,), (1380021375,), (1380021787,), (1380021789,), (1380021791,), (1380021793,), (1380021979,), (1380021980,), (1380021981,), (1380021982,), (1380021983,), (1380022001,), (1380022002,), (1380022003,), (1380022005,), (1380022077,), (1380022078,), (1380022079,), (1380022080,), (1380022160,), (1380022161,), (1380022162,), (1380022163,), (1380022164,), (1380022182,), (1380022183,), (1380022184,), (1380022197,), (1380022198,), (1380022199,), (1380022200,), (1380022201,), (1380022222,), (1380022223,), (1380022224,), (1380022225,), (1380022242,), (1380022275,), (1380022239,), (1380022240,), (1380022241,), (1380022264,), (1380022265,), (1380022266,), (1380022267,), (1380022269,), (1380022270,), (1380022294,), (1380022295,), (1380022297,), (1380022298,), (1380022299,), (1380022318,), (1380022319,), (1380022320,), (1380022321,), (1380022322,), (1380022323,), (1380022344,), (1380022345,), (1380022346,), (1380022347,), (1380022447,), (1380022448,), (1380022449,), (1380022450,), (1380022451,), (1380022452,), (1380022580,), (1380022581,), (1380022582,), (1380022583,), (1380022584,), (1380022650,), (1380022651,), (1380022652,), (1380022653,), (1380022654,), (1380022802,), (1380022803,), (1380022804,), (1380022879,), (1380022880,), (1380022881,), (1380022882,), (1380022883,), (1380022905,), (1380022906,), (1380022907,), (1380022908,), (1380022909,), (1380022926,), (1380022927,), (1380022928,), (1380022958,), (1380022959,), (1380022960,), (1380022961,), (1380022962,), (1380023037,), (1380023038,), (1380023039,), (1380023040,), (1380023041,), (1380023042,), (1380023071,), (1380023072,), (1380023073,), (1380023074,), (1380023158,), (1380023153,), (1380023154,), (1380023155,), (1380023156,), (1380023157,), (1380023195,), (1380023196,), (1380023197,), (1380023198,), (1380023211,), (1380023212,), (1380023213,), (1380023214,), (1380023215,), (1380023216,), (1380023241,), (1380023242,), (1380023243,), (1380023244,), (1380023245,), (1380023246,), (1380023267,), (1380023268,), (1380023269,), (1380023270,), (1380023288,), (1380023289,), (1380023290,), (1380023291,), (1380023292,), (1380023326,), (1380023327,), (1380023328,), (1380023329,), (1380023330,), (1380023431,), (1380023432,), (1380023433,), (1380023434,), (1380023435,), (1380023449,), (1380023450,), (1380023451,), (1380023452,), (1380023474,), (1380023475,), (1380023476,), (1380023477,), (1380023517,), (1380023518,), (1380023519,), (1380023520,), (1380023521,), (1380023539,), (1380023540,), (1380023541,), (1380023561,), (1380023562,), (1380023563,), (1380023564,), (1380023565,), (1380023566,), (1380023588,), (1380023596,), (1380023597,), (1380023598,), (1380023599,), (1380023625,), (1380023627,), (1380023628,), (1380023655,), (1380023649,), (1380023651,), (1380023652,), (1380023653,), (1380023654,), (1380023717,), (1380023718,), (1380023719,), (1380023720,), (1380023721,), (1380023868,), (1380023869,), (1380023870,), (1380023949,), (1380023950,), (1380023952,), (1380023953,), (1380023954,), (1380023955,), (1380024025,), (1380024026,), (1380024027,), (1380024028,), (1380024029,), (1380024030,), (1380024053,), (1380024056,), (1380024061,), (1380024130,), (1380024131,), (1380024132,), (1380024133,), (1380024134,), (1380024135,), (1380024155,), (1380024159,), (1380024160,), (1380024161,), (1380024163,), (1380024164,), (1380024187,), (1380024188,), (1380024206,), (1380024207,), (1380024208,), (1380024209,), (1380024210,), (1380024242,), (1380024243,), (1380024244,), (1380024302,), (1380024303,), (1380024304,), (1380024305,), (1380024306,), (1380024369,), (1380024370,), (1380024371,), (1380024749,), (1380024751,), (1380024753,), (1380024802,), (1380024805,), (1380024807,), (1380024809,), (1380025112,), (1380025104,), (1380025106,), (1380025108,), (1380025110,), (1380025454,), (1380025457,), (1380025460,), (1380025891,), (1380025894,), (1380025898,), (1380026319,), (1380026321,), (1380026323,), (1380026325,), (1380026327,), (1380026329,), (1380026503,), (1380026504,), (1380026505,), (1380026506,), (1380026760,), (1380026761,), (1380026763,), (1380026911,), (1380026912,), (1380026913,), (1380026914,), (1380026915,), (1380026968,), (1380026972,), (1380026976,), (1380026980,), (1380027031,), (1380027032,), (1380027033,), (1380031226,), (1380031224,), (1380031278,), (1380031279,), (1380031294,), (1380031295,), (1380031586,), (1380031588,), (1380031990,), (1380031993,), (1380031995,), (1380031997,), (1380031999,), (1380032118,), (1380032119,), (1380032120,), (1380032121,), (1380032122,), (1380032123,), (1380032367,), (1380032368,), (1380032369,), (1380032475,), (1380032502,), (1380032503,), (1380032504,), (1380032505,), (1380032531,), (1380032532,), (1380032533,), (1380032534,), (1380032535,), (1380032558,), (1380032559,), (1380032560,), (1380032576,), (1380032580,), (1380032581,), (1380032582,), (1380032612,), (1380032608,), (1380032609,), (1380032610,), (1380032611,), (1380032627,), (1380032628,), (1380032629,), (1380032630,), (1380032631,), (1380032632,), (1380032654,), (1380032655,), (1380032656,), (1380032657,), (1380032658,), (1380032659,), (1380032741,), (1380032742,), (1380032877,), (1380032878,), (1380032879,), (1380032880,), (1380032881,), (1380032882,), (1380032899,), (1380032900,), (1380032901,), (1380032925,), (1380032926,), (1380032927,), (1380032943,), (1380032944,), (1380032945,), (1380032969,), (1380033626,), (1380033652,), (1380033653,), (1380033678,), (1380033679,), (1380033680,), (1380033681,), (1380033715,), (1380033718,), (1380033722,), (1380033725,), (1380033727,), (1380033728,), (1380033787,), (1380033788,), (1380033789,), (1380033863,), (1380033864,), (1380033865,), (1380033866,), (1380033926,), (1380033927,), (1380033928,), (1380033929,), (1380033930,), (1380033931,), (1380033950,), (1380033951,), (1380033952,), (1380033953,), (1380033954,), (1380033955,), (1380033977,), (1380033978,), (1380033979,), (1380034000,), (1380034001,), (1380034002,), (1380034003,), (1380034004,), (1380034005,), (1380034034,), (1380034030,), (1380034031,), (1380034032,), (1380034033,), (1380034055,), (1380034056,), (1380034057,), (1380034058,), (1380034059,), (1380034060,), (1380034086,), (1380034087,), (1380034131,), (1380034132,), (1380034178,), (1380034179,), (1380034180,), (1380034226,), (1380034227,), (1380034228,), (1380034229,), (1380034273,), (1380034274,), (1380034275,), (1380034276,), (1380034277,), (1380034278,), (1380034306,), (1380034307,), (1380034308,), (1380034309,), (1380034351,), (1380034352,), (1380034353,), (1380034354,), (1380034355,), (1380034356,), (1380034370,), (1380034371,), (1380034372,), (1380034373,), (1380034375,), (1380034402,), (1380034403,), (1380034404,), (1380034405,), (1380034406,), (1380034429,), (1380034752,), (1380034753,), (1380034754,), (1380034755,), (1380034756,), (1380034757,), (1380034887,), (1380034888,), (1380034889,), (1380034890,), (1380034891,), (1380034893,), (1380034928,), (1380034927,), (1380035029,), (1380035031,), (1380035418,), (1380035420,), (1380035422,), (1380035424,), (1380035426,), (1380035841,), (1380035842,), (1380035843,), (1380035844,), (1380035845,), (1380035846,), (1380036039,), (1380036041,), (1380036043,), (1380036045,), (1380036372,), (1380036374,), (1380036376,), (1380036378,), (1380036380,), (1380036382,), (1380036694,), (1380036696,), (1380036698,), (1380036700,), (1380037127,), (1380037130,), (1380037132,), (1380037134,), (1380037136,), (1380037138,), (1380037303,), (1380037304,), (1380037305,), (1380037307,), (1380037308,), (1380037334,), (1380037335,), (1380037336,), (1380037378,), (1380037379,), (1380037380,), (1380037382,), (1380037383,), (1380037405,), (1380037406,), (1380037407,), (1380037408,), (1380037409,), (1380037472,), (1380037476,), (1380037480,), (1380037484,), (1380037525,), (1380037526,), (1380037527,), (1380037528,), (1380037548,), (1380037549,), (1380037571,), (1380037593,), (1380037594,), (1380037619,), (1380037620,), (1380037621,), (1380037622,), (1380037623,), (1380037663,), (1380037664,), (1380037665,), (1380037692,), (1380037693,), (1380037694,), (1380037695,), (1380037717,), (1380037718,), (1380037719,), (1380037871,), (1380037874,), (1380037878,), (1380037879,), (1380037880,), (1380037901,), (1380037902,), (1380037903,), (1380037904,), (1380037905,), (1380037930,), (1380037931,), (1380037959,), (1380037960,), (1380037961,), (1380037962,), (1380037985,), (1380037986,), (1380037987,), (1380037988,), (1380037989,), (1380037990,), (1380038037,), (1380038038,), (1380038039,), (1380038040,), (1380038062,), (1380038063,), (1380038064,), (1380038065,), (1380038091,), (1380038092,), (1380038093,), (1380038094,), (1380038095,), (1380038122,), (1380038119,), (1380038120,), (1380038121,), (1380038144,), (1380038145,), (1380038146,), (1380038147,), (1380038184,), (1380038185,), (1380038186,), (1380038187,), (1380038188,), (1380038218,), (1380038219,), (1380038220,), (1380038245,), (1380038246,), (1380038247,), (1380038248,), (1380038277,), (1380038278,), (1380038279,), (1380038280,), (1380038356,), (1380038357,), (1380038359,), (1380038360,), (1380038361,), (1380038362,), (1380038376,), (1380038377,), (1380038379,), (1380038440,), (1380038441,), (1380038442,), (1380038443,), (1380038468,), (1380038469,), (1380038513,), (1380038514,), (1380038515,), (1380038516,), (1380038539,), (1380038540,), (1380038541,), (1380038542,), (1380038543,), (1380038569,), (1380038570,), (1380038571,), (1380038572,), (1380038596,), (1380038597,), (1380038598,), (1380038623,), (1380038624,), (1380038625,), (1380038626,), (1380038695,), (1380038802,), (1380038795,), (1380038796,), (1380038797,), (1380038798,), (1380038800,), (1380039013,), (1380039014,), (1380039063,), (1380039110,), (1380039190,), (1380052150,), (1380052565,), (1380052563,), (1380052564,), (1380052692,), (1380052693,), (1380052823,), (1380052825,), (1380052827,), (1380052829,), (1380052831,), (1380052834,), (1380052954,), (1380052956,), (1380052958,), (1380052960,), (1380052999,), (1380053000,), (1380053022,), (1380053023,), (1380053024,), (1380053025,), (1380053104,), (1380053105,), (1380053106,), (1380053615,), (1380053705,), (1380053706,), (1380053707,), (1380053708,), (1380053709,), (1380053710,), (1380053829,), (1380053830,), (1380053831,), (1380053832,), (1380053833,), (1380053863,), (1380053864,), (1380053865,), (1380053866,), (1380053901,), (1380053902,), (1380053903,), (1380053904,), (1380053905,), (1380053906,), (1380054291,), (1380054295,), (1380054299,), (1380054303,), (1380054880,), (1380054878,), (1380054879,), (1380055059,), (1380055060,), (1380055061,), (1380055062,), (1380055082,), (1380055083,), (1380055147,), (1380055172,), (1380055173,), (1380055199,), (1380055200,), (1380055201,), (1380055234,), (1380055235,), (1380055236,), (1380055264,), (1380055265,), (1380055284,), (1380055336,), (1380055337,), (1380055338,), (1380055339,), (1380055340,), (1380055362,), (1380055363,), (1380055364,), (1380055365,), (1380055397,), (1380055398,), (1380055399,), (1380055641,), (1380055643,), (1380055645,), (1380055809,), (1380055811,), (1380055813,), (1380055815,), (1380055880,), (1380055879,), (1380055904,), (1380055905,), (1380055906,), (1380055940,), (1380055996,), (1380056139,), (1380056140,), (1380056168,), (1380056169,), (1380056170,), (1380056172,), (1380056173,), (1380056203,), (1380056204,), (1380056205,), (1380056206,), (1380056266,), (1380056267,), (1380056269,), (1380056271,), (1380056320,), (1380056321,), (1380056322,), (1380056323,), (1380056324,), (1380056325,), (1380056351,), (1380056352,), (1380056353,), (1380056354,), (1380056355,), (1380056377,), (1380056378,), (1380056379,), (1380056411,), (1380061424,), (1380061156,), (1380061418,), (1380061420,), (1380061422,), (1380061581,), (1380061583,), (1380061585,), (1380061587,), (1380061589,), (1380061656,), (1380061657,), (1380061658,), (1380061659,), (1380061695,), (1380061696,), (1380061769,), (1380061770,), (1380061772,), (1380061773,), (1380061774,), (1380061812,), (1380061813,), (1380061814,), (1380061942,), (1380061943,), (1380062005,), (1380062041,), (1380062042,), (1380062043,), (1380062044,), (1380062045,), (1380062078,), (1380062077,), (1380062114,), (1380062115,), (1380062116,), (1380062117,), (1380062118,), (1380062119,), (1380062152,), (1380062153,), (1380062154,), (1380062155,), (1380062156,), (1380062157,), (1380062206,), (1380062207,), (1380062208,), (1380062209,), (1380062241,), (1380062242,), (1380062243,), (1380062330,), (1380062331,), (1380062332,), (1380062333,), (1380062334,), (1380062500,), (1380062501,), (1380062502,), (1380062503,), (1380062504,), (1380062505,), (1380062672,), (1380062673,), (1380062674,), (1380062675,), (1380062726,), (1380062727,), (1380062728,), (1380062729,), (1380062730,), (1380062772,), (1380062773,), (1380062774,), (1380062775,), (1380062776,), (1380062819,), (1380062820,), (1380062926,), (1380062927,), (1380062928,), (1380062929,), (1380062930,), (1380063094,), (1380063095,), (1380063096,), (1380063097,), (1380063329,), (1380063712,), (1380063706,), (1380063708,), (1380063710,), (1380065046,), (1380065390,), (1380065392,), (1380065394,), (1380065396,), (1380065398,), (1380065400,), (1380065795,), (1380065798,), (1380065800,), (1380065802,), (1380066059,), (1380066060,), (1380066061,), (1380066062,), (1380066063,), (1380066064,), (1380066310,), (1380066311,), (1380066312,), (1380066313,), (1380066314,), (1380066315,), (1380066587,), (1380066589,), (1380066591,), (1380066907,), (1380066908,), (1380066909,), (1380066910,), (1380066911,), (1380067006,), (1380067007,), (1380067008,), (1380067009,), (1380067010,), (1380067036,), (1380067037,), (1380067038,), (1380067039,), (1380067093,), (1380067094,), (1380067096,), (1380067167,), (1380067169,), (1380067171,), (1380067173,), (1380067377,), (1380067374,), (1380067375,), (1380067376,), (1380067570,), (1380067572,), (1380067573,), (1380067611,), (1380067612,), (1380067613,), (1380067614,), (1380067780,), (1380067781,), (1380067782,), (1380067783,), (1380067784,), (1380067785,), (1380067932,), (1380067933,), (1380067934,), (1380067935,), (1380068042,), (1380068043,), (1380068044,), (1380068090,), (1380068091,), (1380068092,), (1380068211,), (1380068373,), (1380068374,), (1380068375,), (1380068411,), (1380068412,), (1380068450,), (1380068451,), (1380068452,), (1380068453,), (1380068454,), (1380068499,), (1380068502,), (1380068503,), (1380068504,), (1380068544,), (1380068545,), (1380068546,), (1380068547,), (1380068603,), (1380068637,), (1380068638,), (1380068640,), (1380068736,), (1380068732,), (1380068733,), (1380068734,), (1380068735,), (1380068803,), (1380068804,), (1380068805,), (1380068806,), (1380068807,), (1380068959,), (1380068961,), (1380068963,), (1380068965,), (1380068967,), (1380068971,), (1380068996,), (1380068997,), (1380069029,), (1380069031,), (1380069033,), (1380069035,), (1380069063,), (1380069064,), (1380069414,), (1380069416,), (1380069418,), (1380069420,), (1380069422,), (1380069927,), (1380069929,), (1380069931,), (1380069933,), (1380070318,), (1380070319,), (1380070320,), (1380070321,), (1380070322,), (1380070323,), (1380070379,), (1380070381,), (1380070382,), (1380070384,), (1380070386,), (1380070388,), (1380070836,), (1380070839,), (1380070842,), (1380070845,), (1380072143,), (1380072145,), (1380072419,), (1380072423,), (1380072585,), (1380072586,), (1380072587,), (1380072641,), (1380072773,), (1380072823,), (1380072906,), (1380072910,), (1380072915,), (1380072919,), (1380072996,), (1380072997,), (1380073105,), (1380073256,), (1380073257,), (1380073258,), (1380073259,), (1380073314,), (1380073315,), (1380073316,), (1380073317,), (1380073318,), (1380073319,), (1380073425,), (1380073426,), (1380073427,), (1380073462,), (1380073581,), (1380073583,), (1380073585,), (1380073890,), (1380073891,), (1380073892,), (1380073893,), (1380073894,), (1380073948,), (1380073949,), (1380073950,), (1380073951,), (1380074188,), (1380074191,), (1380074251,), (1380074253,), (1380074919,), (1380075220,), (1380075492,), (1380075493,), (1380075494,), (1380075495,), (1380075497,), (1380075612,), (1380075613,), (1380075614,), (1380075818,), (1380075820,), (1380075822,), (1380075824,), (1380076202,), (1380076204,), (1380076206,), (1380076332,), (1380076334,), (1380076336,), (1380076338,), (1380076586,), (1380076588,), (1380076590,), (1380076693,), (1380076694,), (1380076800,), (1380076801,), (1380076873,), (1380076874,), (1380076875,), (1380077044,), (1380077045,), (1380077046,), (1380077047,), (1380077048,), (1380077049,), (1380077154,), (1380077155,), (1380077456,), (1380077458,), (1380077831,), (1380077825,), (1380077827,), (1380077829,), (1380077830,), (1380077860,), (1380077861,), (1380078127,), (1380078129,), (1380078131,), (1380078133,), (1380078135,), (1380078371,), (1380078372,), (1380078373,), (1380078374,), (1380078518,), (1380078520,), (1380078522,), (1380078524,), (1380078526,), (1380078620,), (1380078741,), (1380078744,), (1380079118,), (1380079119,), (1380079120,), (1380079121,), (1380079122,), (1380079123,), (1380079207,), (1380079208,), (1380079209,), (1380079210,), (1380079252,), (1380079253,), (1380079254,), (1380079294,), (1380079295,), (1380079296,), (1380079297,), (1380079298,), (1380079299,), (1380079416,), (1380079417,), (1380079418,), (1380079419,), (1380079420,), (1380079835,), (1380079836,), (1380079964,), (1380079966,), (1380080078,), (1380080138,), (1380080135,), (1380080136,), (1380080137,), (1380080217,), (1380080487,), (1380080488,), (1380080542,), (1380080543,), (1380080544,), (1380080580,), (1380080581,), (1380080582,), (1380080628,), (1380080629,), (1380080630,), (1380080631,), (1380080632,), (1380080685,), (1380080735,), (1380080765,), (1380080804,), (1380080815,), (1380080816,), (1380080864,), (1380080865,), (1380080866,), (1380080867,), (1380080909,), (1380080910,), (1380080911,), (1380080912,), (1380080913,), (1380081259,), (1380081262,), (1380081382,), (1380081383,), (1380081422,), (1380081424,), (1380081478,), (1380081470,), (1380081472,), (1380081474,), (1380081476,), (1380081531,), (1380081532,), (1380081533,), (1380081534,), (1380081535,), (1380081536,), (1380081573,), (1380081574,), (1380081575,), (1380081614,), (1380081615,), (1380081616,), (1380081617,), (1380081618,), (1380081666,), (1380081667,), (1380081668,), (1380081669,), (1380081670,), (1380081671,), (1380081708,), (1380081709,), (1380081710,), (1380081712,), (1380081714,), (1380081773,), (1380081774,), (1380081775,), (1380081834,), (1380081836,), (1380081838,), (1380081840,), (1380082354,), (1380084040,), (1380098212,), (1380098214,), (1380098321,), (1380098322,), (1380098323,), (1380098324,), (1380098325,), (1380098326,), (1380098355,), (1380098356,), (1380098357,), (1380098358,), (1380098359,), (1380098420,), (1380098421,), (1380098422,), (1380098514,), (1380098515,), (1380098547,), (1380098548,), (1380098888,), (1380098889,), (1380098890,), (1380098916,), (1380098917,), (1380098918,), (1380098919,), (1380099310,), (1380099308,), (1380099423,), (1380099424,), (1380099425,), (1380099426,), (1380099427,), (1380099428,), (1380099564,), (1380099565,), (1380099566,), (1380099567,), (1380099603,), (1380099604,), (1380099605,), (1380099606,), (1380099668,), (1380099670,), (1380100106,), (1380100107,), (1380100108,), (1380100109,), (1380100134,), (1380100135,), (1380100170,), (1380100171,), (1380100172,), (1380100173,), (1380100174,), (1380100310,), (1380100375,), (1380100377,), (1380100861,), (1380100862,), (1380100863,), (1380100864,), (1380100865,), (1380101300,), (1380101302,), (1380101304,), (1380101308,), (1380101312,), (1380101316,), (1380101360,), (1380101362,), (1380101721,), (1380101719,), (1380101840,), (1380101842,), (1380101844,), (1380101846,), (1380102324,), (1380102328,), (1380102332,), (1380102336,), (1380102340,), (1380103072,), (1380103074,), (1380103076,), (1380103078,), (1380103080,), (1380103532,), (1380103535,), (1380103538,), (1380103892,), (1380103894,), (1380104073,), (1380104075,), (1380104077,), (1380104148,), (1380104149,), (1380104397,), (1380104399,), (1380104401,), (1380104403,), (1380104602,), (1380104603,), (1380104604,), (1380104605,), (1380104634,), (1380104635,), (1380104636,), (1380104637,), (1380104638,), (1380104712,), (1380104713,), (1380104714,), (1380104715,), (1380104716,), (1380104752,), (1380104753,), (1380104754,), (1380104755,), (1380104756,), (1380104791,), (1380104792,), (1380104794,), (1380104796,), (1380104848,), (1380104849,), (1380104850,), (1380104851,), (1380105039,), (1380105033,), (1380105036,), (1380105595,), (1380105597,), (1380105599,), (1380105991,), (1380105992,), (1380105993,), (1380105994,), (1380106146,), (1380106147,), (1380106148,), (1380106149,), (1380106150,), (1380106151,), (1380106250,), (1380106252,), (1380106254,), (1380106256,), (1380106694,), (1380106695,), (1380106696,), (1380106697,), (1380106698,), (1380106874,), (1380106875,), (1380106876,), (1380106877,), (1380107016,), (1380107017,), (1380107018,), (1380107019,), (1380107298,), (1380107299,), (1380107300,), (1380107301,), (1380107302,), (1380107598,), (1380107600,), (1380107601,), (1380107602,), (1380107750,), (1380107751,), (1380107752,), (1380107753,), (1380107754,), (1380107874,), (1380107877,), (1380107879,), (1380108278,), (1380108281,), (1380108284,), (1380108287,), (1380108289,), (1380108292,), (1380108847,), (1380108849,), (1380108851,), (1380108853,), (1380108855,), (1380108857,), (1380109140,), (1380109142,), (1380109143,), (1380109410,), (1380109400,), (1380109402,), (1380109404,), (1380109406,), (1380109408,), (1380109816,), (1380109818,), (1380109821,), (1380109824,), (1380109827,), (1380109830,), (1380110184,), (1380110185,), (1380110187,), (1380110188,), (1380110395,), (1380110396,), (1380110397,), (1380110398,), (1380110614,), (1380110615,), (1380110616,), (1380110617,), (1380110803,), (1380110805,), (1380110807,), (1380110809,), (1380110811,), (1380110976,), (1380110977,), (1380110978,), (1380110979,), (1380110980,), (1380110981,), (1380111117,), (1380111118,), (1380111119,), (1380111120,), (1380111121,), (1380111122,), (1380111211,), (1380111212,), (1380111213,), (1380111214,), (1380111255,), (1380111256,), (1380111257,), (1380111258,), (1380111259,), (1380111260,), (1380111297,), (1380111298,), (1380111299,), (1380111300,), (1380111301,), (1380111302,), (1380111372,), (1380111373,), (1380111374,), (1380111531,), (1380111534,), (1380111535,), (1380111536,), (1380111537,), (1380111562,), (1380111563,), (1380111564,), (1380111565,), (1380111566,), (1380111593,), (1380111594,), (1380111595,), (1380111596,), (1380111597,), (1380111651,), (1380111646,), (1380111647,), (1380111648,), (1380111649,), (1380111650,), (1380111685,), (1380111686,), (1380111687,), (1380111688,), (1380111689,), (1380111806,), (1380111807,), (1380111808,), (1380111809,), (1380111810,), (1380111836,), (1380111837,), (1380111838,), (1380111839,), (1380111840,), (1380112240,), (1380112243,), (1380112463,), (1380112464,), (1380112465,), (1380112467,), (1380112535,), (1380112546,), (1380112549,), (1380112550,), (1380112620,), (1380112621,), (1380112622,), (1380112623,), (1380112624,), (1380112625,), (1380112671,), (1380112672,), (1380112673,), (1380112674,), (1380112675,), (1380112706,), (1380112708,), (1380112853,), (1380112855,), (1380112857,), (1380112859,), (1380113022,), (1380113025,), (1380113028,), (1380113031,), (1380113034,), (1380113037,), (1380113161,), (1380113165,), (1380113491,), (1380113492,), (1380113493,), (1380113494,), (1380114213,), (1380114215,), (1380114218,), (1380114220,), (1380114228,), (1380114229,), (1380114625,), (1380114542,), (1380114619,), (1380114621,), (1380114623,), (1380115148,), (1380115150,), (1380115152,), (1380115154,), (1380115156,), (1380115591,), (1380115593,), (1380115595,), (1380115597,), (1380115820,), (1380115821,), (1380115822,), (1380115945,), (1380115946,), (1380115947,), (1380115948,), (1380115949,), (1380115985,), (1380115986,), (1380115987,), (1380115988,), (1380115989,), (1380115990,), (1380116022,), (1380116023,), (1380116024,), (1380116025,), (1380116053,), (1380116054,), (1380116055,), (1380116131,), (1380116132,), (1380116133,), (1380116134,), (1380116135,), (1380116136,), (1380116175,), (1380116176,), (1380116177,), (1380116178,), (1380116179,), (1380116180,), (1380116330,), (1380116335,), (1380116340,), (1380116344,), (1380116347,), (1380116348,), (1380116542,), (1380116543,), (1380116749,), (1380116750,), (1380116751,), (1380116752,), (1380116753,), (1380116754,), (1380116780,), (1380116781,), (1380116782,), (1380116783,), (1380116784,), (1380116785,), (1380116823,), (1380116824,), (1380116873,), (1380116868,), (1380116869,), (1380116870,), (1380116871,), (1380116872,), (1380116900,), (1380116901,), (1380116902,), (1380116903,), (1380117030,), (1380117031,), (1380117032,), (1380117033,), (1380117034,), (1380117221,), (1380117222,), (1380117223,), (1380117224,), (1380117400,), (1380117402,), (1380117404,), (1380117406,), (1380117408,), (1380117451,), (1380117452,), (1380117453,), (1380117454,), (1380117455,), (1380117456,), (1380117526,), (1380117527,), (1380117528,), (1380117529,), (1380117530,), (1380117590,), (1380117591,), (1380117592,), (1380117593,), (1380117594,), (1380117619,), (1380117620,), (1380117621,), (1380117622,), (1380117623,), (1380117647,), (1380117649,), (1380117650,), (1380117651,), (1380117652,), (1380117735,), (1380117736,), (1380117737,), (1380117738,), (1380117739,), (1380117906,), (1380117907,), (1380117908,), (1380118034,), (1380118035,), (1380118036,), (1380118037,), (1380118214,), (1380118215,), (1380118216,), (1380118217,), (1380118284,), (1380118285,), (1380118286,), (1380118287,), (1380118288,), (1380118289,), (1380118346,), (1380118343,), (1380118344,), (1380118345,), (1380118388,), (1380118389,), (1380118390,), (1380118778,), (1380118780,), (1380118782,), (1380118784,), (1380118786,), (1380119087,), (1380119089,), (1380119091,), (1380119093,), (1380119095,), (1380119097,), (1380119249,), (1380119250,), (1380119251,), (1380119252,), (1380119414,), (1380119415,), (1380119416,), (1380119417,), (1380119418,), (1380119419,), (1380119467,), (1380119468,), (1380119469,), (1380119470,), (1380119471,), (1380119472,), (1380119605,), (1380119608,), (1380119610,), (1380119612,), (1380119614,), (1380119774,), (1380119775,), (1380119776,), (1380119777,), (1380119806,), (1380119807,), (1380119808,), (1380119809,), (1380119810,), (1380119811,), (1380119901,), (1380119902,), (1380119903,), (1380119904,), (1380119905,), (1380119964,), (1380119965,), (1380119966,), (1380119967,), (1380120084,), (1380120085,), (1380120086,), (1380120087,), (1380120144,), (1380120145,), (1380120146,), (1380120148,), (1380120150,), (1380120152,), (1380120378,), (1380120379,), (1380120380,), (1380120381,), (1380120382,), (1380120706,), (1380120697,), (1380120700,), (1380120702,), (1380120704,), (1380120761,), (1380120762,), (1380120763,), (1380120764,), (1380120765,), (1380120766,), (1380120854,), (1380120855,), (1380120856,), (1380120857,), (1380120858,), (1380120884,), (1380120885,), (1380120886,), (1380120887,), (1380120935,), (1380120936,), (1380120937,), (1380120938,), (1380120981,), (1380120982,), (1380120983,), (1380121043,), (1380121044,), (1380121045,), (1380121046,), (1380121047,), (1380121048,), (1380121261,), (1380121263,), (1380121265,), (1380121267,), (1380121269,), (1380121458,), (1380121459,), (1380121460,), (1380121461,), (1380121495,), (1380121496,), (1380121497,), (1380121498,), (1380121499,), (1380121500,), (1380121575,), (1380121576,), (1380121577,), (1380121578,), (1380121579,), (1380121737,), (1380121739,), (1380121741,), (1380121743,), (1380121745,), (1380121747,), (1380121903,), (1380121905,), (1380121907,), (1380121909,), (1380121911,), (1380121914,), (1380123304,), (1380123308,), (1380123311,), (1380123315,), (1380123689,), (1380123685,), (1380123687,), (1380123904,), (1380123905,), (1380123906,), (1380123907,), (1380123908,), (1380123909,), (1380124113,), (1380124115,), (1380124117,), (1380124119,), (1380124563,), (1380124564,), (1380124565,), (1380124566,), (1380124567,), (1380124568,), (1380124917,), (1380124918,), (1380124919,), (1380124920,), (1380125136,), (1380125137,), (1380125138,), (1380125139,), (1380125140,), (1380125141,), (1380125339,), (1380125340,), (1380125341,), (1380125342,), (1380125343,), (1380125344,), (1380125503,), (1380125504,), (1380125505,), (1380125585,), (1380125586,), (1380125587,), (1380125588,), (1380125589,), (1380125590,), (1380125798,), (1380125799,), (1380125800,), (1380125963,), (1380125964,), (1380125965,), (1380125966,), (1380125967,), (1380126050,), (1380126051,), (1380126052,), (1380126053,), (1380126054,), (1380126055,), (1380126174,), (1380126175,), (1380126176,), (1380126177,), (1380126178,), (1380126208,), (1380126209,), (1380126210,), (1380126211,), (1380126243,), (1380126244,), (1380126245,), (1380126246,), (1380126247,), (1380126248,), (1380126312,), (1380126306,), (1380126308,), (1380126310,), (1380126435,), (1380126436,), (1380126437,), (1380126438,), (1380126501,), (1380126502,), (1380126503,), (1380126504,), (1380126505,), (1380126506,), (1380126607,), (1380126608,), (1380126609,), (1380126610,), (1380126611,), (1380126733,), (1380126734,), (1380126735,), (1380126766,), (1380126767,), (1380126768,), (1380126769,), (1380126771,), (1380126772,), (1380126853,), (1380126854,), (1380126855,), (1380126856,), (1380126936,), (1380126937,), (1380126938,), (1380126939,), (1380126940,), (1380127194,), (1380127196,), (1380127198,), (1380127200,), (1380127358,), (1380127360,), (1380127362,), (1380127364,), (1380127366,), (1380127368,), (1380127405,), (1380127406,), (1380127407,), (1380127408,), (1380127409,), (1380127411,), (1380127505,), (1380127506,), (1380127612,), (1380127613,), (1380127614,), (1380127615,), (1380127616,), (1380127617,), (1380127691,), (1380127692,), (1380127693,), (1380127694,), (1380127732,), (1380127733,), (1380127734,), (1380127771,), (1380127767,), (1380127768,), (1380127769,), (1380127770,), (1380128004,), (1380128006,), (1380128008,), (1380128010,), (1380128012,), (1380128262,), (1380128265,), (1380128267,), (1380128362,), (1380128363,), (1380128364,), (1380128365,), (1380128366,), (1380128367,), (1380128394,), (1380128395,), (1380128396,), (1380128397,), (1380128422,), (1380128423,), (1380128424,), (1380128425,), (1380128426,), (1380128427,), (1380128447,), (1380128448,), (1380128449,), (1380128451,), (1380128452,), (1380128512,), (1380128514,), (1380128516,), (1380128518,), (1380128519,), (1380128520,), (1380128665,), (1380128666,), (1380128667,), (1380128668,), (1380128669,), (1380128670,), (1380128712,), (1380128714,), (1380128716,), (1380128718,), (1380128719,), (1380128808,), (1380128810,), (1380128812,), (1380128814,), (1380128816,), (1380128970,), (1380128971,), (1380128972,), (1380128973,), (1380128974,), (1380128975,), (1380129056,), (1380129057,), (1380129058,), (1380129059,), (1380129096,), (1380129097,), (1380129098,), (1380129099,), (1380129100,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'29082025': {'nb_upload': 70, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26335814]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1380129100, 1380129099, 1380129098, 1380129097, 1380129096, 1380129059, 1380129058, 1380129057, 1380129056] map_info['map_portfolio_photo'] : {26335814: [1380129100, 1380129099, 1380129098, 1380129097, 1380129096, 1380129059, 1380129058, 1380129057, 1380129056, 1380128975, 1380128974, 1380128973, 1380128972, 1380128971, 1380128970, 1380128816, 1380128814, 1380128812, 1380128810, 1380128808, 1380128719, 1380128718, 1380128716, 1380128714, 1380128712, 1380128670, 1380128669, 1380128668, 1380128667, 1380128666, 1380128665, 1380128520, 1380128519, 1380128518, 1380128516, 1380128514, 1380128512, 1380128452, 1380128451, 1380128449, 1380128448, 1380128447, 1380128427, 1380128426, 1380128425, 1380128424, 1380128423, 1380128422, 1380128397, 1380128396, 1380128395, 1380128394, 1380128367, 1380128366, 1380128365, 1380128364, 1380128363, 1380128362, 1380128267, 1380128265, 1380128262, 1380128012, 1380128010, 1380128008, 1380128006, 1380128004, 1380127770, 1380127769, 1380127768, 1380127767]} final : True mtd_id 4302 list_pids : [1380129100, 1380129099, 1380129098, 1380129097, 1380129096, 1380129059, 1380129058, 1380129057, 1380129056] Looping around the photos to save general results len do output : 1 /26335814Didn'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, '3637502') ('4302', '26335814', '1380129100', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129099', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129098', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129097', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129096', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129059', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129058', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129057', None, None, None, None, None, '3637502') ('4302', None, None, None, None, None, None, None, '3637502') ('4302', '26335814', '1380129056', None, None, None, None, None, '3637502') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 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, '26335814', 'None', None, None, None, None, '3637502'), ('4302', '26335814', '1380129100', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129099', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129098', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129097', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129096', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129059', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129058', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129057', None, None, None, None, None, '3637502'), ('4302', '26335814', '1380129056', None, None, None, None, None, '3637502')] time used for this insertion : 0.013339996337890625 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.24242901802063 time spend to save output : 0.013576507568359375 total time spend for step 5 : 2.2560055255889893 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 (3637502) 2.19user 2.37system 0:12.29elapsed 37%CPU (0avgtext+0avgdata 161124maxresident)k 1416inputs+13208outputs (12major+64537minor)pagefaults 0swaps