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 : 3258801 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 (3637241) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3637241) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26333697 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3637241'] with mtr_portfolio_ids : ['26333697'] and first list_photo_ids : [] new path : /proc/3258801/ Name: python3 Umask: 0002 State: R (running) Tgid: 3258801 Ngid: 0 Pid: 3258801 PPid: 3258800 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3258801 NSpid: 3258801 NSpgid: 3257371 NSsid: 3257371 VmPeak: 1107248 kB VmSize: 1107248 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98796 kB VmRSS: 98796 kB RssAnon: 60160 kB RssFile: 38636 kB RssShmem: 0 kB VmData: 866000 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 612 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: 60 nonvoluntary_ctxt_switches: 80 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3258801', 'Ngid': '0', 'Pid': '3258801', 'PPid': '3258800', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3258801', 'NSpid': '3258801', 'NSpgid': '3257371', 'NSsid': '3257371', 'VmPeak': '1107248 kB', 'VmSize': '1107248 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98796 kB', 'VmRSS': '98796 kB', 'RssAnon': '60160 kB', 'RssFile': '38636 kB', 'RssShmem': '0 kB', 'VmData': '866000 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '612 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': '60', 'nonvoluntary_ctxt_switches': '80'} ('datou_batch_current', '3258801', '1107248', '0', '1107248', '866000', '98796', b'', 'marlene', '3637241') 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 (26333697) 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 (3637241 ) ) 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 (26333697) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1380121461, 'portfolio_id': 26333697}, {'photo_id': 1380121460, 'portfolio_id': 26333697}, {'photo_id': 1380121459, 'portfolio_id': 26333697}, {'photo_id': 1380121458, 'portfolio_id': 26333697}, {'photo_id': 1380121269, 'portfolio_id': 26333697}, {'photo_id': 1380121267, 'portfolio_id': 26333697}, {'photo_id': 1380121265, 'portfolio_id': 26333697}, {'photo_id': 1380121263, 'portfolio_id': 26333697}, {'photo_id': 1380121261, 'portfolio_id': 26333697}, {'photo_id': 1380121048, 'portfolio_id': 26333697}, {'photo_id': 1380121047, 'portfolio_id': 26333697}, {'photo_id': 1380121046, 'portfolio_id': 26333697}, {'photo_id': 1380121045, 'portfolio_id': 26333697}, {'photo_id': 1380121044, 'portfolio_id': 26333697}, {'photo_id': 1380121043, 'portfolio_id': 26333697}, {'photo_id': 1380120983, 'portfolio_id': 26333697}, {'photo_id': 1380120982, 'portfolio_id': 26333697}, {'photo_id': 1380120981, 'portfolio_id': 26333697}, {'photo_id': 1380120938, 'portfolio_id': 26333697}, {'photo_id': 1380120937, 'portfolio_id': 26333697}, {'photo_id': 1380120936, 'portfolio_id': 26333697}, {'photo_id': 1380120935, 'portfolio_id': 26333697}, {'photo_id': 1380120887, 'portfolio_id': 26333697}, {'photo_id': 1380120886, 'portfolio_id': 26333697}, {'photo_id': 1380120885, 'portfolio_id': 26333697}, {'photo_id': 1380120884, 'portfolio_id': 26333697}, {'photo_id': 1380120858, 'portfolio_id': 26333697}, {'photo_id': 1380120857, 'portfolio_id': 26333697}, {'photo_id': 1380120856, 'portfolio_id': 26333697}, {'photo_id': 1380120855, 'portfolio_id': 26333697}, {'photo_id': 1380120854, 'portfolio_id': 26333697}, {'photo_id': 1380120766, 'portfolio_id': 26333697}, {'photo_id': 1380120765, 'portfolio_id': 26333697}, {'photo_id': 1380120764, 'portfolio_id': 26333697}, {'photo_id': 1380120763, 'portfolio_id': 26333697}, {'photo_id': 1380120762, 'portfolio_id': 26333697}, {'photo_id': 1380120761, 'portfolio_id': 26333697}, {'photo_id': 1380120704, 'portfolio_id': 26333697}, {'photo_id': 1380120702, 'portfolio_id': 26333697}, {'photo_id': 1380120700, 'portfolio_id': 26333697}, {'photo_id': 1380120697, 'portfolio_id': 26333697}] map_portfolio_id_photo_id: {26333697: [1380121461, 1380121460, 1380121459, 1380121458, 1380121269, 1380121267, 1380121265, 1380121263, 1380121261, 1380121048, 1380121047, 1380121046, 1380121045, 1380121044, 1380121043, 1380120983, 1380120982, 1380120981, 1380120938, 1380120937, 1380120936, 1380120935, 1380120887, 1380120886, 1380120885, 1380120884, 1380120858, 1380120857, 1380120856, 1380120855, 1380120854, 1380120766, 1380120765, 1380120764, 1380120763, 1380120762, 1380120761, 1380120704, 1380120702, 1380120700, 1380120697]} ##### 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.01414942741394043 #### 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 15:54:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26333697) 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 : 26333697 get user id for portfolio 26333697 get sub ptf for main ptf 26333697, type 3726 and hashtags ['plastique', 'environnement', 'papier', 'kraft', 'Carton_gris', 'flou', 'mal_croppe', 'cartonnette', 'Carton_brun', 'metal', 'autre_refus', 'Teint_Dans_La_Masse'] 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 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','environnement','papier','kraft','Carton_gris','flou','mal_croppe','cartonnette','Carton_brun','metal','autre_refus','Teint_Dans_La_Masse')) 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`=26333697 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','environnement','papier','kraft','Carton_gris','flou','mal_croppe','cartonnette','Carton_brun','metal','autre_refus','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 26333697, 'sub_port_id': 26333722, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714065, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 27)}, 'Teint_Dans_La_Masse': {'main_port_id': 26333697, 'sub_port_id': 26333723, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714066, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 27)}, 'plastique': {'main_port_id': 26333697, 'sub_port_id': 26333725, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714067, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 27)}, 'environnement': {'main_port_id': 26333697, 'sub_port_id': 26333730, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714068, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 27)}, 'Carton_gris': {'main_port_id': 26333697, 'sub_port_id': 26333737, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714069, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 27)}, 'kraft': {'main_port_id': 26333697, 'sub_port_id': 26333743, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714070, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 27)}, 'flou': {'main_port_id': 26333697, 'sub_port_id': 26333745, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714071, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 27)}, 'mal_croppe': {'main_port_id': 26333697, 'sub_port_id': 26333746, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714072, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 27)}, 'autre_refus': {'main_port_id': 26333697, 'sub_port_id': 26333747, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714073, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 27)}, 'Carton_brun': {'main_port_id': 26333697, 'sub_port_id': 26333748, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714074, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 27)}, 'papier': {'main_port_id': 26333697, 'sub_port_id': 26333749, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714075, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 27)}, 'cartonnette': {'main_port_id': 26333697, 'sub_port_id': 26333750, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714076, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 27)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26333722 , 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=26333697 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 (26333722) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26333697) result : ((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,)) 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 (1380120700) 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 26333723 , 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=26333697 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 (26333723) result : ((1380120971,), (1380120972,), (1380121013,), (1380121019,), (1380121021,), (1380121022,), (1380121023,), (1380121024,), (1380121025,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26333697) result : ((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,)) 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 (1380120700) 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 26333725 , 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=26333697 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 (26333725) result : ((1380120976,), (1380121018,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26333697) result : ((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,)) 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 (1380120700) 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 26333730 , 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=26333697 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 (26333730) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26333697) result : ((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,)) 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 (1380120700) 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 26333737 , 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=26333697 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 (26333737) result : ((1380121015,), (1380121027,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26333697) result : ((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,)) 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 (1380120700) 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 26333743 , 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=26333697 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 (26333743) result : ((1380121026,), (1380121029,), (1380121030,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26333697) result : ((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,)) 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 (1380120700) 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 26333745 , 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=26333697 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 (26333745) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26333697) result : ((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,)) 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 (1380120700) 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 26333746 , 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=26333697 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 (26333746) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26333697) result : ((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,)) 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 (1380120700) 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 26333747 , 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=26333697 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 (26333747) result : ((1380120973,), (1380121014,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26333697) result : ((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,)) 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 (1380120700) 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 26333748 , 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=26333697 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 (26333748) result : ((1380121017,), (1380121028,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26333697) result : ((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,)) 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 (1380120700) 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 26333749 , 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=26333697 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 (26333749) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26333697) result : ((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,)) 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 (1380120700) 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 26333750 , 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=26333697 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 (26333750) result : ((1380120974,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26333697) result : ((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,)) 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 (1380120700) 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`=26333697 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','environnement','papier','kraft','Carton_gris','flou','mal_croppe','cartonnette','Carton_brun','metal','autre_refus','Teint_Dans_La_Masse')) 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`=26333697 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','environnement','papier','kraft','Carton_gris','flou','mal_croppe','cartonnette','Carton_brun','metal','autre_refus','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 26333697, 'sub_port_id': 26333751, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714077, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 26333697, 'sub_port_id': 26333752, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714078, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 29)}, 'plastique': {'main_port_id': 26333697, 'sub_port_id': 26333753, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714079, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 29)}, 'environnement': {'main_port_id': 26333697, 'sub_port_id': 26333754, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714080, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 29)}, 'Carton_gris': {'main_port_id': 26333697, 'sub_port_id': 26333755, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714081, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 29)}, 'kraft': {'main_port_id': 26333697, 'sub_port_id': 26333756, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714082, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 29)}, 'flou': {'main_port_id': 26333697, 'sub_port_id': 26333757, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714083, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 29)}, 'mal_croppe': {'main_port_id': 26333697, 'sub_port_id': 26333758, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714084, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 29)}, 'autre_refus': {'main_port_id': 26333697, 'sub_port_id': 26333759, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714085, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 29)}, 'Carton_brun': {'main_port_id': 26333697, 'sub_port_id': 26333760, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714086, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 29)}, 'papier': {'main_port_id': 26333697, 'sub_port_id': 26333761, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714087, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 47, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 29)}, 'cartonnette': {'main_port_id': 26333697, 'sub_port_id': 26333762, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17714088, 'last_updated_at': datetime.datetime(2025, 8, 29, 15, 53), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 15, 53), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 15, 47, 29)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26333751,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26333722 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26333752,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26333723 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26333753,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26333725 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26333754,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26333730 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26333755,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26333737 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26333756,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26333743 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26333757,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26333745 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26333758,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26333746 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26333759,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26333747 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26333760,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26333748 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26333761,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26333749 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26333762,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26333750 lien utilise dans velours : https://marlene.fotonower.com/velours/26333751,26333752,26333753,26333754,26333755,26333756,26333757,26333758,26333759,26333760,26333761,26333762?tags=metal,Teint_Dans_La_Masse,plastique,environnement,Carton_gris,kraft,flou,mal_croppe,autre_refus,Carton_brun,papier,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26333697]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1380121461, 1380121460, 1380121459, 1380121458, 1380121269, 1380121267, 1380121265, 1380121263, 1380121261] map_info['map_portfolio_photo'] : {26333697: [1380121461, 1380121460, 1380121459, 1380121458, 1380121269, 1380121267, 1380121265, 1380121263, 1380121261, 1380121048, 1380121047, 1380121046, 1380121045, 1380121044, 1380121043, 1380120983, 1380120982, 1380120981, 1380120938, 1380120937, 1380120936, 1380120935, 1380120887, 1380120886, 1380120885, 1380120884, 1380120858, 1380120857, 1380120856, 1380120855, 1380120854, 1380120766, 1380120765, 1380120764, 1380120763, 1380120762, 1380120761, 1380120704, 1380120702, 1380120700, 1380120697]} final : False mtd_id 4302 list_pids : [1380121461, 1380121460, 1380121459, 1380121458, 1380121269, 1380121267, 1380121265, 1380121263, 1380121261] Looping around the photos to save general results len do output : 1 /26333697. 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, '3637241') ('4302', '26333697', '1380121461', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121460', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121459', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121458', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121269', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121267', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121265', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121263', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121261', None, None, None, None, None, '3637241') 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, '26333697', "{'metal': 26333722, 'Teint_Dans_La_Masse': 26333723, 'plastique': 26333725, 'environnement': 26333730, 'Carton_gris': 26333737, 'kraft': 26333743, 'flou': 26333745, 'mal_croppe': 26333746, 'autre_refus': 26333747, 'Carton_brun': 26333748, 'papier': 26333749, 'cartonnette': 26333750}", None, None, None, None, '3637241'), ('4302', '26333697', '1380121461', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121460', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121459', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121458', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121269', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121267', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121265', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121263', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121261', None, None, None, None, None, '3637241')] time used for this insertion : 0.01581549644470215 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4194815158843994 time spend to save output : 0.016083717346191406 total time spend for step 1 : 0.4355652332305908 step2:final Fri Aug 29 15:54:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (26333697) 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 26333697 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1380120704,1380120702,1380120700,1380120697,1380120766,1380120765,1380120764,1380120763,1380120762,1380120761,1380120858,1380120857,1380120856,1380120855,1380120854,1380120887,1380120886,1380120885,1380120884,1380120938,1380120937,1380120936,1380120935,1380120983,1380120982,1380120981,1380121048,1380121047,1380121046,1380121045,1380121044,1380121043,1380121269,1380121267,1380121265,1380121263,1380121261,1380121461,1380121460,1380121459,1380121458); 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([26333697]) Inside saveOutput : final : False verbose : True original output for save of step final : {1380121461: ('0.04705239361917956',), 1380121460: ('0.04705239361917956',), 1380121459: ('0.04705239361917956',), 1380121458: ('0.04705239361917956',), 1380121269: ('0.04705239361917956',), 1380121267: ('0.04705239361917956',), 1380121265: ('0.04705239361917956',), 1380121263: ('0.04705239361917956',), 1380121261: ('0.04705239361917956',)} new output for save of step final : {1380121461: ('0.04705239361917956',), 1380121460: ('0.04705239361917956',), 1380121459: ('0.04705239361917956',), 1380121458: ('0.04705239361917956',), 1380121269: ('0.04705239361917956',), 1380121267: ('0.04705239361917956',), 1380121265: ('0.04705239361917956',), 1380121263: ('0.04705239361917956',), 1380121261: ('0.04705239361917956',)} [1380121461, 1380121460, 1380121459, 1380121458, 1380121269, 1380121267, 1380121265, 1380121263, 1380121261] map_info['map_portfolio_photo'] : {26333697: [1380121461, 1380121460, 1380121459, 1380121458, 1380121269, 1380121267, 1380121265, 1380121263, 1380121261, 1380121048, 1380121047, 1380121046, 1380121045, 1380121044, 1380121043, 1380120983, 1380120982, 1380120981, 1380120938, 1380120937, 1380120936, 1380120935, 1380120887, 1380120886, 1380120885, 1380120884, 1380120858, 1380120857, 1380120856, 1380120855, 1380120854, 1380120766, 1380120765, 1380120764, 1380120763, 1380120762, 1380120761, 1380120704, 1380120702, 1380120700, 1380120697]} final : False mtd_id 4302 list_pids : [1380121461, 1380121460, 1380121459, 1380121458, 1380121269, 1380121267, 1380121265, 1380121263, 1380121261] Looping around the photos to save general results len do output : 9 /1380121461.Didn't retrieve data . /1380121460.Didn't retrieve data . /1380121459.Didn't retrieve data . /1380121458.Didn't retrieve data . /1380121269.Didn't retrieve data . /1380121267.Didn't retrieve data . /1380121265.Didn't retrieve data . /1380121263.Didn't retrieve data . /1380121261.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, '3637241') ('4302', '26333697', '1380121461', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121460', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121459', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121458', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121269', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121267', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121265', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121263', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121261', None, None, None, None, None, '3637241') 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', '26333697', '1380121461', '0.04705239361917956', None, None, None, None, '3637241'), ('4302', '26333697', '1380121460', '0.04705239361917956', None, None, None, None, '3637241'), ('4302', '26333697', '1380121459', '0.04705239361917956', None, None, None, None, '3637241'), ('4302', '26333697', '1380121458', '0.04705239361917956', None, None, None, None, '3637241'), ('4302', '26333697', '1380121269', '0.04705239361917956', None, None, None, None, '3637241'), ('4302', '26333697', '1380121267', '0.04705239361917956', None, None, None, None, '3637241'), ('4302', '26333697', '1380121265', '0.04705239361917956', None, None, None, None, '3637241'), ('4302', '26333697', '1380121263', '0.04705239361917956', None, None, None, None, '3637241'), ('4302', '26333697', '1380121261', '0.04705239361917956', None, None, None, None, '3637241')] time used for this insertion : 0.015387535095214844 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06705546379089355 time spend to save output : 0.015836715698242188 total time spend for step 2 : 0.08289217948913574 step3:velours_tree Fri Aug 29 15:54:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {26333697: [{'metal': 26333722, 'Teint_Dans_La_Masse': 26333723, 'plastique': 26333725, 'environnement': 26333730, 'Carton_gris': 26333737, 'kraft': 26333743, 'flou': 26333745, 'mal_croppe': 26333746, 'autre_refus': 26333747, 'Carton_brun': 26333748, 'papier': 26333749, 'cartonnette': 26333750}]} input_args_next_step : {26333697: ()} output_args : {26333697: [{'metal': 26333722, 'Teint_Dans_La_Masse': 26333723, 'plastique': 26333725, 'environnement': 26333730, 'Carton_gris': 26333737, 'kraft': 26333743, 'flou': 26333745, 'mal_croppe': 26333746, 'autre_refus': 26333747, 'Carton_brun': 26333748, 'papier': 26333749, 'cartonnette': 26333750}]} args : 26333697 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 : ({'metal': 26333722, 'Teint_Dans_La_Masse': 26333723, 'plastique': 26333725, 'environnement': 26333730, 'Carton_gris': 26333737, 'kraft': 26333743, 'flou': 26333745, 'mal_croppe': 26333746, 'autre_refus': 26333747, 'Carton_brun': 26333748, 'papier': 26333749, 'cartonnette': 26333750},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26333697) 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([26333697]) 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.3097546100616455 time spend to save output : 4.696846008300781e-05 total time spend for step 3 : 0.3098015785217285 step4:send_mail_cod Fri Aug 29 15:54:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1380121461: ('0.04705239361917956',), 1380121460: ('0.04705239361917956',), 1380121459: ('0.04705239361917956',), 1380121458: ('0.04705239361917956',), 1380121269: ('0.04705239361917956',), 1380121267: ('0.04705239361917956',), 1380121265: ('0.04705239361917956',), 1380121263: ('0.04705239361917956',), 1380121261: ('0.04705239361917956',)} input_args_next_step : {1380121461: ()} output_args : {1380121461: ('0.04705239361917956',), 1380121460: ('0.04705239361917956',), 1380121459: ('0.04705239361917956',), 1380121458: ('0.04705239361917956',), 1380121269: ('0.04705239361917956',), 1380121267: ('0.04705239361917956',), 1380121265: ('0.04705239361917956',), 1380121263: ('0.04705239361917956',), 1380121261: ('0.04705239361917956',)} args : 1380121461 depend.output_id : 0 input_args_next_step : {1380121461: ('0.04705239361917956',), 1380121460: ()} output_args : {1380121461: ('0.04705239361917956',), 1380121460: ('0.04705239361917956',), 1380121459: ('0.04705239361917956',), 1380121458: ('0.04705239361917956',), 1380121269: ('0.04705239361917956',), 1380121267: ('0.04705239361917956',), 1380121265: ('0.04705239361917956',), 1380121263: ('0.04705239361917956',), 1380121261: ('0.04705239361917956',)} args : 1380121460 depend.output_id : 0 input_args_next_step : {1380121461: ('0.04705239361917956',), 1380121460: ('0.04705239361917956',), 1380121459: ()} output_args : {1380121461: ('0.04705239361917956',), 1380121460: ('0.04705239361917956',), 1380121459: ('0.04705239361917956',), 1380121458: ('0.04705239361917956',), 1380121269: ('0.04705239361917956',), 1380121267: ('0.04705239361917956',), 1380121265: ('0.04705239361917956',), 1380121263: ('0.04705239361917956',), 1380121261: ('0.04705239361917956',)} args : 1380121459 depend.output_id : 0 input_args_next_step : {1380121461: ('0.04705239361917956',), 1380121460: ('0.04705239361917956',), 1380121459: ('0.04705239361917956',), 1380121458: ()} output_args : {1380121461: ('0.04705239361917956',), 1380121460: ('0.04705239361917956',), 1380121459: ('0.04705239361917956',), 1380121458: ('0.04705239361917956',), 1380121269: ('0.04705239361917956',), 1380121267: ('0.04705239361917956',), 1380121265: ('0.04705239361917956',), 1380121263: ('0.04705239361917956',), 1380121261: ('0.04705239361917956',)} args : 1380121458 depend.output_id : 0 input_args_next_step : {1380121461: ('0.04705239361917956',), 1380121460: ('0.04705239361917956',), 1380121459: ('0.04705239361917956',), 1380121458: ('0.04705239361917956',), 1380121269: ()} output_args : {1380121461: ('0.04705239361917956',), 1380121460: ('0.04705239361917956',), 1380121459: ('0.04705239361917956',), 1380121458: ('0.04705239361917956',), 1380121269: ('0.04705239361917956',), 1380121267: ('0.04705239361917956',), 1380121265: ('0.04705239361917956',), 1380121263: ('0.04705239361917956',), 1380121261: ('0.04705239361917956',)} args : 1380121269 depend.output_id : 0 input_args_next_step : {1380121461: ('0.04705239361917956',), 1380121460: ('0.04705239361917956',), 1380121459: ('0.04705239361917956',), 1380121458: ('0.04705239361917956',), 1380121269: ('0.04705239361917956',), 1380121267: ()} output_args : {1380121461: ('0.04705239361917956',), 1380121460: ('0.04705239361917956',), 1380121459: ('0.04705239361917956',), 1380121458: ('0.04705239361917956',), 1380121269: ('0.04705239361917956',), 1380121267: ('0.04705239361917956',), 1380121265: ('0.04705239361917956',), 1380121263: ('0.04705239361917956',), 1380121261: ('0.04705239361917956',)} args : 1380121267 depend.output_id : 0 input_args_next_step : {1380121461: ('0.04705239361917956',), 1380121460: ('0.04705239361917956',), 1380121459: ('0.04705239361917956',), 1380121458: ('0.04705239361917956',), 1380121269: ('0.04705239361917956',), 1380121267: ('0.04705239361917956',), 1380121265: ()} output_args : {1380121461: ('0.04705239361917956',), 1380121460: ('0.04705239361917956',), 1380121459: ('0.04705239361917956',), 1380121458: ('0.04705239361917956',), 1380121269: ('0.04705239361917956',), 1380121267: ('0.04705239361917956',), 1380121265: ('0.04705239361917956',), 1380121263: ('0.04705239361917956',), 1380121261: ('0.04705239361917956',)} args : 1380121265 depend.output_id : 0 input_args_next_step : {1380121461: ('0.04705239361917956',), 1380121460: ('0.04705239361917956',), 1380121459: ('0.04705239361917956',), 1380121458: ('0.04705239361917956',), 1380121269: ('0.04705239361917956',), 1380121267: ('0.04705239361917956',), 1380121265: ('0.04705239361917956',), 1380121263: ()} output_args : {1380121461: ('0.04705239361917956',), 1380121460: ('0.04705239361917956',), 1380121459: ('0.04705239361917956',), 1380121458: ('0.04705239361917956',), 1380121269: ('0.04705239361917956',), 1380121267: ('0.04705239361917956',), 1380121265: ('0.04705239361917956',), 1380121263: ('0.04705239361917956',), 1380121261: ('0.04705239361917956',)} args : 1380121263 depend.output_id : 0 input_args_next_step : {1380121461: ('0.04705239361917956',), 1380121460: ('0.04705239361917956',), 1380121459: ('0.04705239361917956',), 1380121458: ('0.04705239361917956',), 1380121269: ('0.04705239361917956',), 1380121267: ('0.04705239361917956',), 1380121265: ('0.04705239361917956',), 1380121263: ('0.04705239361917956',), 1380121261: ()} output_args : {1380121461: ('0.04705239361917956',), 1380121460: ('0.04705239361917956',), 1380121459: ('0.04705239361917956',), 1380121458: ('0.04705239361917956',), 1380121269: ('0.04705239361917956',), 1380121267: ('0.04705239361917956',), 1380121265: ('0.04705239361917956',), 1380121263: ('0.04705239361917956',), 1380121261: ('0.04705239361917956',)} args : 1380121261 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 : {26333697: [{'metal': 26333722, 'Teint_Dans_La_Masse': 26333723, 'plastique': 26333725, 'environnement': 26333730, 'Carton_gris': 26333737, 'kraft': 26333743, 'flou': 26333745, 'mal_croppe': 26333746, 'autre_refus': 26333747, 'Carton_brun': 26333748, 'papier': 26333749, 'cartonnette': 26333750}]} input_args_next_step : {1380121461: ('0.04705239361917956',), 1380121460: ('0.04705239361917956',), 1380121459: ('0.04705239361917956',), 1380121458: ('0.04705239361917956',), 1380121269: ('0.04705239361917956',), 1380121267: ('0.04705239361917956',), 1380121265: ('0.04705239361917956',), 1380121263: ('0.04705239361917956',), 1380121261: ('0.04705239361917956',), 26333697: ()} output_args : {26333697: [{'metal': 26333722, 'Teint_Dans_La_Masse': 26333723, 'plastique': 26333725, 'environnement': 26333730, 'Carton_gris': 26333737, 'kraft': 26333743, 'flou': 26333745, 'mal_croppe': 26333746, 'autre_refus': 26333747, 'Carton_brun': 26333748, 'papier': 26333749, 'cartonnette': 26333750}]} args : 26333697 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.04705239361917956',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26333697) 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 (1380121461,1380121460,1380121459,1380121458,1380121269,1380121267,1380121265,1380121263,1380121261) Found this number of photos: 9 ##### Call download_photos : nb_thread : 5 begin to download photo : 1380121261 begin to download photo : 1380121265 begin to download photo : 1380121269 begin to download photo : 1380121459 begin to download photo : 1380121461 download finish for photo 1380121269 begin to download photo : 1380121458 download finish for photo 1380121461 download finish for photo 1380121265 begin to download photo : 1380121267 download finish for photo 1380121261 begin to download photo : 1380121263 download finish for photo 1380121459 begin to download photo : 1380121460 download finish for photo 1380121267 download finish for photo 1380121458 download finish for photo 1380121263 download finish for photo 1380121460 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette263337221756475699/ length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 results_Auto_P26333697_29-08-2025_15_54_59.pdf 26333722 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=26333722 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette263337221756475699 26333725 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=26333725 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380120976: '1756475427_3353741_1380120700_21b2267c088bd0aca470a220a20af2cc_77273314_rle_crop_3935525401_0.png', 1380121018: '1756475467_3355120_1380120854_2be9bc2b9d7143546aba9a74f5ddcf6b_54832326_rle_crop_3935526416_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/f501ff91100a0ebf3d7b2ac087bc0df0_22784148.png change filename to text .imagette263337251756475699/ imagette263337251756475699/1756475427_3353741_1380120700_21b2267c088bd0aca470a220a20af2cc_77273314_rle_crop_3935525401_0.png.png imagette263337251756475699/1756475467_3355120_1380120854_2be9bc2b9d7143546aba9a74f5ddcf6b_54832326_rle_crop_3935526416_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/5618eeee78d13bbeac3d7082161ff541_51505098.png imagette263337251756475699 26333743 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=26333743 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380121026: '1756475467_3355120_1380120856_c1dd67061a09da574d2b3e2cccf31360_32717905_rle_crop_3935526365_0.png', 1380121029: '1756475486_3357140_1380120763_8068d66796fc32564f361f37dddf9e79_37462230_rle_crop_3935526449_0.png', 1380121030: '1756475486_3357140_1380120762_64d5518d608ad2d4f2c1cc62f50dbc85_53810764_rle_crop_3935526461_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/fae88fde312b2604d9428f917a4b568d_51340346.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/abf2c0c19ff89774753c7e0483354e97_3438502.png change filename to text .imagette263337431756475699/ imagette263337431756475699/1756475486_3357140_1380120763_8068d66796fc32564f361f37dddf9e79_37462230_rle_crop_3935526449_0.png.png imagette263337431756475699/1756475467_3355120_1380120856_c1dd67061a09da574d2b3e2cccf31360_32717905_rle_crop_3935526365_0.png.png imagette263337431756475699/1756475486_3357140_1380120762_64d5518d608ad2d4f2c1cc62f50dbc85_53810764_rle_crop_3935526461_0.png.png imagette263337451756475699/ imagette263337461756475699/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/263cb5880d30d3f26081e84593581ac9_62168279.png imagette263337431756475699 26333745 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=26333745 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette263337451756475699 26333746 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=26333746 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette263337461756475699 26333747 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=26333747 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380120973: '1756475427_3353741_1380120766_1bb0ccf8589b621af24fbf8ecf9786ec_69544777_rle_crop_3935525383_0.png', 1380121014: '1756475467_3355120_1380120855_82b892f869c4e0300bf08edcb436e858_75626128_rle_crop_3935526392_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/51e1e01f15327a21acd4b8fe3ebb8c88_94797675.png change filename to text .imagette263337471756475699/ imagette263337471756475699/1756475427_3353741_1380120766_1bb0ccf8589b621af24fbf8ecf9786ec_69544777_rle_crop_3935525383_0.png.png imagette263337471756475699/1756475467_3355120_1380120855_82b892f869c4e0300bf08edcb436e858_75626128_rle_crop_3935526392_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/9bcea5ecebedc1f051135f2209805572_65109010.png imagette263337471756475699 26333750 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=26333750 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380120974: '1756475427_3353741_1380120697_2e18343255b53c96e65265fa4fc25de1_98180442_rle_crop_3935525413_0.png'} change filename to text .imagette263337501756475699/ imagette263337501756475699/1756475427_3353741_1380120697_2e18343255b53c96e65265fa4fc25de1_98180442_rle_crop_3935525413_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/239c6f3e8e9e248ceea27a6677d31f8c_76444909.png imagette263337501756475699 26333723 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=26333723 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380120971: '1756475427_3353741_1380120766_1bb0ccf8589b621af24fbf8ecf9786ec_69544777_rle_crop_3935525385_0.png', 1380120972: '1756475427_3353741_1380120766_1bb0ccf8589b621af24fbf8ecf9786ec_69544777_rle_crop_3935525388_0.png', 1380121013: '1756475467_3355120_1380120854_2be9bc2b9d7143546aba9a74f5ddcf6b_54832326_rle_crop_3935526417_0.png', 1380121019: '1756475486_3357140_1380120858_e148b0cfcb33d4ded3a1c5dc05475290_55646220_rle_crop_3935526383_0.png', 1380121021: '1756475486_3357140_1380120858_e148b0cfcb33d4ded3a1c5dc05475290_55646220_rle_crop_3935526382_0.png', 1380121022: '1756475486_3357140_1380120858_e148b0cfcb33d4ded3a1c5dc05475290_55646220_rle_crop_3935526377_0.png', 1380121023: '1756475486_3357140_1380120765_f11f97e88d3c333f8cd2c6503b524646_10784802_rle_crop_3935526401_0.png', 1380121024: '1756475486_3357140_1380120765_f11f97e88d3c333f8cd2c6503b524646_10784802_rle_crop_3935526410_0.png', 1380121025: '1756475486_3357140_1380120764_6fb7ac25ae631a9fe70b8f2383d9443b_4913422_rle_crop_3935526436_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/997aa89a8c6297234a49f5543ed99f86_62815193.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/b60eef215d24413460c34f2f38f0afde_88285941.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/d647f651406fc852ab002adc7c441720_86375181.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/0bc5343bf18900316a7c690531f90e8a_70428156.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/547b5fb5776de26c735c791ae9a5ea62_44985305.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/699d4860e6a1c0824da32751bbefb856_36622238.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/980d55f031001ef9af223399cccfb209_97959790.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/167c0e0000fc918d03e63f5a1b532cb8_17347790.png change filename to text .imagette263337231756475699/ imagette263337231756475699/1756475486_3357140_1380120764_6fb7ac25ae631a9fe70b8f2383d9443b_4913422_rle_crop_3935526436_0.png.png imagette263337231756475699/1756475486_3357140_1380120858_e148b0cfcb33d4ded3a1c5dc05475290_55646220_rle_crop_3935526383_0.png.png imagette263337231756475699/1756475486_3357140_1380120765_f11f97e88d3c333f8cd2c6503b524646_10784802_rle_crop_3935526410_0.png.png imagette263337231756475699/1756475467_3355120_1380120854_2be9bc2b9d7143546aba9a74f5ddcf6b_54832326_rle_crop_3935526417_0.png.png imagette263337231756475699/1756475427_3353741_1380120766_1bb0ccf8589b621af24fbf8ecf9786ec_69544777_rle_crop_3935525385_0.png.png imagette263337231756475699/1756475486_3357140_1380120765_f11f97e88d3c333f8cd2c6503b524646_10784802_rle_crop_3935526401_0.png.png imagette263337231756475699/1756475486_3357140_1380120858_e148b0cfcb33d4ded3a1c5dc05475290_55646220_rle_crop_3935526382_0.png.png imagette263337231756475699/1756475486_3357140_1380120858_e148b0cfcb33d4ded3a1c5dc05475290_55646220_rle_crop_3935526377_0.png.png imagette263337231756475699/1756475427_3353741_1380120766_1bb0ccf8589b621af24fbf8ecf9786ec_69544777_rle_crop_3935525388_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/6022552e5b0377a7da54b9982161611c_57500524.png imagette263337231756475699 26333737 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=26333737 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380121015: '1756475467_3355120_1380120854_2be9bc2b9d7143546aba9a74f5ddcf6b_54832326_rle_crop_3935526413_0.png', 1380121027: '1756475486_3357140_1380120765_f11f97e88d3c333f8cd2c6503b524646_10784802_rle_crop_3935526406_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/53d3c867a58c17cc1af7a1133c8f6a34_23384084.png change filename to text .imagette263337371756475700/ imagette263337371756475700/1756475467_3355120_1380120854_2be9bc2b9d7143546aba9a74f5ddcf6b_54832326_rle_crop_3935526413_0.png.png imagette263337371756475700/1756475486_3357140_1380120765_f11f97e88d3c333f8cd2c6503b524646_10784802_rle_crop_3935526406_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/13c018cc8b21ce6c4f6610a79664d92a_64831114.png imagette263337371756475700 26333748 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=26333748 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380121017: '1756475467_3355120_1380120854_2be9bc2b9d7143546aba9a74f5ddcf6b_54832326_rle_crop_3935526415_0.png', 1380121028: '1756475486_3357140_1380120764_6fb7ac25ae631a9fe70b8f2383d9443b_4913422_rle_crop_3935526435_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/fdb836c1a4d286f489bb831fa2a80290_36142884.png change filename to text .imagette263337481756475700/ imagette263337481756475700/1756475486_3357140_1380120764_6fb7ac25ae631a9fe70b8f2383d9443b_4913422_rle_crop_3935526435_0.png.png imagette263337481756475700/1756475467_3355120_1380120854_2be9bc2b9d7143546aba9a74f5ddcf6b_54832326_rle_crop_3935526415_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/be8653d155d72f1d33a79c0241de43b5_60010039.png imagette263337481756475700 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26333697 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26333751,26333752,26333753,26333754,26333755,26333756,26333757,26333758,26333759,26333760,26333761,26333762?tags=metal,Teint_Dans_La_Masse,plastique,environnement,Carton_gris,kraft,flou,mal_croppe,autre_refus,Carton_brun,papier,cartonnette your option no_mail is active, we will not send the real mail to your client args[1380121461] : ('0.04705239361917956',) no score found for photo 1380121461 We are sending mail with results at report@fotonower.com args[1380121460] : ('0.04705239361917956',) no score found for photo 1380121460 We are sending mail with results at report@fotonower.com args[1380121459] : ('0.04705239361917956',) no score found for photo 1380121459 We are sending mail with results at report@fotonower.com args[1380121458] : ('0.04705239361917956',) no score found for photo 1380121458 We are sending mail with results at report@fotonower.com args[1380121269] : ('0.04705239361917956',) no score found for photo 1380121269 We are sending mail with results at report@fotonower.com args[1380121267] : ('0.04705239361917956',) no score found for photo 1380121267 We are sending mail with results at report@fotonower.com args[1380121265] : ('0.04705239361917956',) no score found for photo 1380121265 We are sending mail with results at report@fotonower.com args[1380121263] : ('0.04705239361917956',) no score found for photo 1380121263 We are sending mail with results at report@fotonower.com args[1380121261] : ('0.04705239361917956',) no score found for photo 1380121261 We are sending mail with results at report@fotonower.com refus_total : 0.04705239361917956 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=26333697 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_P26333697_29-08-2025_15_54_59.pdf results_Auto_P26333697_29-08-2025_15_54_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26333697_29-08-2025_15_54_59.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','26333697','results_Auto_P26333697_29-08-2025_15_54_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26333697_29-08-2025_15_54_59.pdf','pdf','','0.18','0.04705239361917956') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26333697]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1380121461, 1380121460, 1380121459, 1380121458, 1380121269, 1380121267, 1380121265, 1380121263, 1380121261] map_info['map_portfolio_photo'] : {26333697: [1380121461, 1380121460, 1380121459, 1380121458, 1380121269, 1380121267, 1380121265, 1380121263, 1380121261, 1380121048, 1380121047, 1380121046, 1380121045, 1380121044, 1380121043, 1380120983, 1380120982, 1380120981, 1380120938, 1380120937, 1380120936, 1380120935, 1380120887, 1380120886, 1380120885, 1380120884, 1380120858, 1380120857, 1380120856, 1380120855, 1380120854, 1380120766, 1380120765, 1380120764, 1380120763, 1380120762, 1380120761, 1380120704, 1380120702, 1380120700, 1380120697]} final : False mtd_id 4302 list_pids : [1380121461, 1380121460, 1380121459, 1380121458, 1380121269, 1380121267, 1380121265, 1380121263, 1380121261] 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, '3637241') ('4302', '26333697', '1380121461', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121460', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121459', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121458', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121269', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121267', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121265', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121263', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121261', None, None, None, None, None, '3637241') 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', '26333697', '1380121461', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121460', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121459', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121458', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121269', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121267', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121265', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121263', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121261', None, None, None, None, None, '3637241')] time used for this insertion : 0.012727737426757812 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.7471776008605957 time spend to save output : 0.01292276382446289 total time spend for step 4 : 2.7601003646850586 step5:split_time_score Fri Aug 29 15:55:01 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 : ['26333697'] 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 : [('26333697',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26333697) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1380121461: {'path': 'temp/1756475698_3258801_1380121461_e7e4585fe224482c16f1ee93e8d9372d_72716006.jpg', 'extension': 'jpg'}, 1380121265: {'path': 'temp/1756475698_3258801_1380121265_14fe86eca669d6c46417c99ada0c9951_1229439.jpg', 'extension': 'jpg'}, 1380121267: {'path': 'temp/1756475698_3258801_1380121267_1337af6a85d8f2d5630bb8fde4dfbd91_67053244.jpg', 'extension': 'jpg'}, 1380121269: {'path': 'temp/1756475698_3258801_1380121269_6a3c3bfbdc54b56978e1c7dbe6aa03fa_83459817.jpg', 'extension': 'jpg'}, 1380121458: {'path': 'temp/1756475698_3258801_1380121458_8f039401134f7811006d1144fdc8c998_44777611.jpg', 'extension': 'jpg'}, 1380121261: {'path': 'temp/1756475698_3258801_1380121261_5da287cda9f04904d4bcdd7f65a95ee4_58815498.jpg', 'extension': 'jpg'}, 1380121263: {'path': 'temp/1756475698_3258801_1380121263_47170ea96becb3666943b4b84eb57f73_68915948.jpg', 'extension': 'jpg'}, 1380121459: {'path': 'temp/1756475698_3258801_1380121459_e5c4791cb21903b71f7919e5ab0a262a_23584992.jpg', 'extension': 'jpg'}, 1380121460: {'path': 'temp/1756475698_3258801_1380121460_d9339c22df1114ebf2ae8add42eb1a34_51489799.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 = 26333697; (('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 = 26333697 group by h (('15', 41),) 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=26333697 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 (26333697) 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 (26333697) 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 26333697 Nombre de photos uploadées : 41 / 23040 (0%) 29082025 26333697 Nombre de photos taguées (types de déchets): 0 / 41 (0%) 29082025 26333697 Nombre de photos taguées (volume) : 0 / 41 (0%) [{'photo_id': 1380120704, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/e15d78eb2a02c5023c3a8c971585f250_39242217.jpg', 'username': None, 'uploaded_at': 1756475173, 'text': 'image_29082025_15_45_04_010158m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1380120702, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/9393fc8b42e6f89861443e98574e2d39_5520073.jpg', 'username': None, 'uploaded_at': 1756475173, 'text': 'image_29082025_15_45_24_010155m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1380120700, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/21b2267c088bd0aca470a220a20af2cc_77273314.jpg', 'username': None, 'uploaded_at': 1756475173, 'text': 'image_29082025_15_45_34_010144m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1380120697, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/2e18343255b53c96e65265fa4fc25de1_98180442.jpg', 'username': None, 'uploaded_at': 1756475173, 'text': 'image_29082025_15_45_44_010137m0.jpg 4e-05 for time 1, id_amount 3 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 5.245208740234375e-06 ????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002686738967895508 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26333697, '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.20862722396850586 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': 2205513, 'mtr_portfolio_id': 26310324, 'dashboard_result_id': 14446726, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26310717, 'dashboard_result_id': 14446727, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26311223, 'dashboard_result_id': 14446728, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26311576, 'dashboard_result_id': 14446729, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26312508, 'dashboard_result_id': 14446730, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26312666, 'dashboard_result_id': 14446731, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26312840, 'dashboard_result_id': 14446732, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26313214, 'dashboard_result_id': 14446733, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26313513, 'dashboard_result_id': 14446734, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26313684, 'dashboard_result_id': 14446735, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26313867, 'dashboard_result_id': 14446736, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26314237, 'dashboard_result_id': 14446737, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26314515, 'dashboard_result_id': 14446738, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26314695, 'dashboard_result_id': 14446739, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26314920, 'dashboard_result_id': 14446740, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26315956, 'dashboard_result_id': 14446741, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26316121, 'dashboard_result_id': 14446742, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26316295, 'dashboard_result_id': 14446743, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26316368, 'dashboard_result_id': 14446744, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26316645, 'dashboard_result_id': 14446745, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26316956, 'dashboard_result_id': 14446746, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26317122, 'dashboard_result_id': 14446747, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26317313, 'dashboard_result_id': 14446748, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26319275, 'dashboard_result_id': 14446749, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26319649, 'dashboard_result_id': 14446750, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26319992, 'dashboard_result_id': 14446751, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26321271, 'dashboard_result_id': 14446752, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26321494, 'dashboard_result_id': 14446753, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26321798, 'dashboard_result_id': 14446754, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26322168, 'dashboard_result_id': 14446755, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26322587, 'dashboard_result_id': 14446756, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26323180, 'dashboard_result_id': 14446757, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26323592, 'dashboard_result_id': 14446758, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26324001, 'dashboard_result_id': 14446759, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26324407, 'dashboard_result_id': 14446760, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26324712, 'dashboard_result_id': 14446761, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26327763, 'dashboard_result_id': 14446762, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26328375, 'dashboard_result_id': 14446763, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26328696, 'dashboard_result_id': 14446764, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26329431, 'dashboard_result_id': 14446765, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26330273, 'dashboard_result_id': 14446766, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26330727, 'dashboard_result_id': 14446767, 'hashtag': '_______JRM', '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_14_59_00.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': 2205513, 'mtr_portfolio_id': 26331432, 'dashboard_result_id': 14446768, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26332241, 'dashboard_result_id': 14446769, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26332945, 'dashboard_result_id': 14446770, 'hashtag': '_______JRM', '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': 2205513, 'mtr_portfolio_id': 26333697, 'dashboard_result_id': 14446771, 'hashtag': '_______JRM', '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_15_50_58.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}}"}] SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 SELECT 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 = 2205513 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 (14446761, 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 = 2205513 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 (14446762, 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 = 2205513 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 (14446763, 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 = 2205513 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 (14446764, 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 = 2205513 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 (14446765, 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 = 2205513 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 (14446766, 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 = 2205513 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 (14446767, 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 = 2205515 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 (14446768, 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 = 2205515 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 (14446769, 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 = 2205515 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 (14446770, 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, 15, 54, 58), 'result': '0.04705239361917956', 'result_long': None, 'result_double': None}] Qualite : 0.04705239361917956 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_15_54_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_15_54_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 = 2205515 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 (14446771, 0.04705239361917956, "{'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_15_54_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 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) 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,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'29082025': {'nb_upload': 41, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26333697]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1380121461, 1380121460, 1380121459, 1380121458, 1380121269, 1380121267, 1380121265, 1380121263, 1380121261] map_info['map_portfolio_photo'] : {26333697: [1380121461, 1380121460, 1380121459, 1380121458, 1380121269, 1380121267, 1380121265, 1380121263, 1380121261, 1380121048, 1380121047, 1380121046, 1380121045, 1380121044, 1380121043, 1380120983, 1380120982, 1380120981, 1380120938, 1380120937, 1380120936, 1380120935, 1380120887, 1380120886, 1380120885, 1380120884, 1380120858, 1380120857, 1380120856, 1380120855, 1380120854, 1380120766, 1380120765, 1380120764, 1380120763, 1380120762, 1380120761, 1380120704, 1380120702, 1380120700, 1380120697]} final : True mtd_id 4302 list_pids : [1380121461, 1380121460, 1380121459, 1380121458, 1380121269, 1380121267, 1380121265, 1380121263, 1380121261] Looping around the photos to save general results len do output : 1 /26333697Didn'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, '3637241') ('4302', '26333697', '1380121461', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121460', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121459', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121458', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121269', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121267', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121265', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121263', None, None, None, None, None, '3637241') ('4302', None, None, None, None, None, None, None, '3637241') ('4302', '26333697', '1380121261', None, None, None, None, None, '3637241') 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, '26333697', 'None', None, None, None, None, '3637241'), ('4302', '26333697', '1380121461', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121460', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121459', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121458', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121269', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121267', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121265', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121263', None, None, None, None, None, '3637241'), ('4302', '26333697', '1380121261', None, None, None, None, None, '3637241')] time used for this insertion : 0.015594959259033203 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.0493361949920654 time spend to save output : 0.015793800354003906 total time spend for step 5 : 2.0651299953460693 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 (3637241) 2.03user 2.56system 0:08.99elapsed 51%CPU (0avgtext+0avgdata 159456maxresident)k 6288inputs+9856outputs (87major+64219minor)pagefaults 0swaps