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 : 4102096 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 (3596346) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3596346) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26217655 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3596346'] with mtr_portfolio_ids : ['26217655'] and first list_photo_ids : [] new path : /proc/4102096/ Name: python3 Umask: 0002 State: R (running) Tgid: 4102096 Ngid: 0 Pid: 4102096 PPid: 4102095 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 4102096 NSpid: 4102096 NSpgid: 4100216 NSsid: 4100216 VmPeak: 1107388 kB VmSize: 1107388 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100908 kB VmRSS: 100908 kB RssAnon: 60420 kB RssFile: 40488 kB RssShmem: 0 kB VmData: 866140 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 588 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 47 nonvoluntary_ctxt_switches: 86 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '4102096', 'Ngid': '0', 'Pid': '4102096', 'PPid': '4102095', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '4102096', 'NSpid': '4102096', 'NSpgid': '4100216', 'NSsid': '4100216', 'VmPeak': '1107388 kB', 'VmSize': '1107388 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100908 kB', 'VmRSS': '100908 kB', 'RssAnon': '60420 kB', 'RssFile': '40488 kB', 'RssShmem': '0 kB', 'VmData': '866140 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '588 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '47', 'nonvoluntary_ctxt_switches': '86'} ('datou_batch_current', '4102096', '1107388', '0', '1107388', '866140', '100908', b'', 'marlene', '3596346') 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 (26217655) 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 (3596346 ) ) 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 (26217655) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1379336470, 'portfolio_id': 26217655}, {'photo_id': 1379334709, 'portfolio_id': 26217655}, {'photo_id': 1379334707, 'portfolio_id': 26217655}, {'photo_id': 1379333817, 'portfolio_id': 26217655}, {'photo_id': 1379332964, 'portfolio_id': 26217655}, {'photo_id': 1379332963, 'portfolio_id': 26217655}, {'photo_id': 1379332886, 'portfolio_id': 26217655}, {'photo_id': 1379332857, 'portfolio_id': 26217655}, {'photo_id': 1379332183, 'portfolio_id': 26217655}, {'photo_id': 1379331929, 'portfolio_id': 26217655}, {'photo_id': 1379330497, 'portfolio_id': 26217655}] map_portfolio_id_photo_id: {26217655: [1379336470, 1379334709, 1379334707, 1379333817, 1379332964, 1379332963, 1379332886, 1379332857, 1379332183, 1379331929, 1379330497]} ##### 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.014226436614990234 #### 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 Tue Aug 26 06:05:56 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 (26217655) 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 : 26217655 get user id for portfolio 26217655 get sub ptf for main ptf 26217655, type 3726 and hashtags ['papier', 'Carton_brun', 'cartonnette', 'metal', 'kraft', 'plastique', 'flou', 'environnement', 'Teint_Dans_La_Masse', 'autre_refus', 'Carton_gris', 'mal_croppe'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26217655 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_brun','cartonnette','metal','kraft','plastique','flou','environnement','Teint_Dans_La_Masse','autre_refus','Carton_gris','mal_croppe')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26217655 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_brun','cartonnette','metal','kraft','plastique','flou','environnement','Teint_Dans_La_Masse','autre_refus','Carton_gris','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 26217655, 'sub_port_id': 26217668, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652583, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 57)}, 'autre_refus': {'main_port_id': 26217655, 'sub_port_id': 26217669, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652584, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 57)}, 'metal': {'main_port_id': 26217655, 'sub_port_id': 26217671, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652585, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 57)}, 'plastique': {'main_port_id': 26217655, 'sub_port_id': 26217672, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652586, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 57)}, 'papier': {'main_port_id': 26217655, 'sub_port_id': 26217673, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652587, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 57)}, 'kraft': {'main_port_id': 26217655, 'sub_port_id': 26217675, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652588, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 57)}, 'Carton_gris': {'main_port_id': 26217655, 'sub_port_id': 26217676, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652589, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 57)}, 'flou': {'main_port_id': 26217655, 'sub_port_id': 26217677, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652590, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 57)}, 'mal_croppe': {'main_port_id': 26217655, 'sub_port_id': 26217679, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652591, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 57)}, 'environnement': {'main_port_id': 26217655, 'sub_port_id': 26217680, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652592, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 57)}, 'Carton_brun': {'main_port_id': 26217655, 'sub_port_id': 26217681, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652593, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 26217655, 'sub_port_id': 26217682, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652594, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26217668 , 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=26217655 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 (26217668) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26217655) result : ((1379330497,), (1379331929,), (1379332183,), (1379332857,), (1379332886,), (1379332963,), (1379332964,), (1379333817,), (1379334707,), (1379334709,), (1379336470,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26217669 , 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=26217655 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 (26217669) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26217655) result : ((1379330497,), (1379331929,), (1379332183,), (1379332857,), (1379332886,), (1379332963,), (1379332964,), (1379333817,), (1379334707,), (1379334709,), (1379336470,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26217671 , 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=26217655 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 (26217671) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26217655) result : ((1379330497,), (1379331929,), (1379332183,), (1379332857,), (1379332886,), (1379332963,), (1379332964,), (1379333817,), (1379334707,), (1379334709,), (1379336470,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26217672 , 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=26217655 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 (26217672) result : ((1379351597,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26217655) result : ((1379330497,), (1379331929,), (1379332183,), (1379332857,), (1379332886,), (1379332963,), (1379332964,), (1379333817,), (1379334707,), (1379334709,), (1379336470,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26217673 , 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=26217655 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 (26217673) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26217655) result : ((1379330497,), (1379331929,), (1379332183,), (1379332857,), (1379332886,), (1379332963,), (1379332964,), (1379333817,), (1379334707,), (1379334709,), (1379336470,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26217675 , 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=26217655 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 (26217675) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26217655) result : ((1379330497,), (1379331929,), (1379332183,), (1379332857,), (1379332886,), (1379332963,), (1379332964,), (1379333817,), (1379334707,), (1379334709,), (1379336470,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26217676 , 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=26217655 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 (26217676) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26217655) result : ((1379330497,), (1379331929,), (1379332183,), (1379332857,), (1379332886,), (1379332963,), (1379332964,), (1379333817,), (1379334707,), (1379334709,), (1379336470,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26217677 , 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=26217655 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 (26217677) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26217655) result : ((1379330497,), (1379331929,), (1379332183,), (1379332857,), (1379332886,), (1379332963,), (1379332964,), (1379333817,), (1379334707,), (1379334709,), (1379336470,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26217679 , 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=26217655 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 (26217679) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26217655) result : ((1379330497,), (1379331929,), (1379332183,), (1379332857,), (1379332886,), (1379332963,), (1379332964,), (1379333817,), (1379334707,), (1379334709,), (1379336470,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26217680 , 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=26217655 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 (26217680) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26217655) result : ((1379330497,), (1379331929,), (1379332183,), (1379332857,), (1379332886,), (1379332963,), (1379332964,), (1379333817,), (1379334707,), (1379334709,), (1379336470,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26217681 , 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=26217655 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 (26217681) result : ((1379351379,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26217655) result : ((1379330497,), (1379331929,), (1379332183,), (1379332857,), (1379332886,), (1379332963,), (1379332964,), (1379333817,), (1379334707,), (1379334709,), (1379336470,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26217682 , 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=26217655 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 (26217682) result : ((1379351377,), (1379351378,), (1379351868,), (1379351869,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26217655) result : ((1379330497,), (1379331929,), (1379332183,), (1379332857,), (1379332886,), (1379332963,), (1379332964,), (1379333817,), (1379334707,), (1379334709,), (1379336470,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26217655 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_brun','cartonnette','metal','kraft','plastique','flou','environnement','Teint_Dans_La_Masse','autre_refus','Carton_gris','mal_croppe')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26217655 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Carton_brun','cartonnette','metal','kraft','plastique','flou','environnement','Teint_Dans_La_Masse','autre_refus','Carton_gris','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 26217655, 'sub_port_id': 26217692, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652613, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 58)}, 'autre_refus': {'main_port_id': 26217655, 'sub_port_id': 26217693, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652614, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 58)}, 'metal': {'main_port_id': 26217655, 'sub_port_id': 26217694, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652615, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 58)}, 'plastique': {'main_port_id': 26217655, 'sub_port_id': 26217695, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652616, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 58)}, 'papier': {'main_port_id': 26217655, 'sub_port_id': 26217696, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652617, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 58)}, 'kraft': {'main_port_id': 26217655, 'sub_port_id': 26217697, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652618, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 58)}, 'Carton_gris': {'main_port_id': 26217655, 'sub_port_id': 26217698, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652619, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 58)}, 'flou': {'main_port_id': 26217655, 'sub_port_id': 26217699, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652620, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 58)}, 'mal_croppe': {'main_port_id': 26217655, 'sub_port_id': 26217700, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652621, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 58)}, 'environnement': {'main_port_id': 26217655, 'sub_port_id': 26217701, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652622, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 58)}, 'Carton_brun': {'main_port_id': 26217655, 'sub_port_id': 26217702, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652623, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 34, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 26217655, 'sub_port_id': 26217703, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17652624, 'last_updated_at': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 23, 49), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 23, 34, 58)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26217692,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26217668 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26217693,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26217669 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26217694,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26217671 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26217695,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26217672 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26217696,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26217673 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26217697,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26217675 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26217698,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26217676 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26217699,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26217677 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26217700,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26217679 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26217701,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26217680 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26217702,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26217681 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26217703,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26217682 lien utilise dans velours : https://www.fotonower.com/velours/26217692,26217693,26217694,26217695,26217696,26217697,26217698,26217699,26217700,26217701,26217702,26217703?tags=cartonnette,autre_refus,metal,plastique,papier,kraft,Carton_gris,flou,mal_croppe,environnement,Carton_brun,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26217655]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1379336470, 1379334709, 1379334707, 1379333817, 1379332964, 1379332963, 1379332886, 1379332857, 1379332183, 1379331929, 1379330497] map_info['map_portfolio_photo'] : {26217655: [1379336470, 1379334709, 1379334707, 1379333817, 1379332964, 1379332963, 1379332886, 1379332857, 1379332183, 1379331929, 1379330497]} final : False mtd_id 4302 list_pids : [1379336470, 1379334709, 1379334707, 1379333817, 1379332964, 1379332963, 1379332886, 1379332857, 1379332183, 1379331929, 1379330497] Looping around the photos to save general results len do output : 1 /26217655. 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, '3596346') ('4302', '26217655', '1379336470', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379334709', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379334707', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379333817', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379332964', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379332963', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379332886', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379332857', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379332183', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379331929', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379330497', None, None, None, None, None, '3596346') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '26217655', "{'cartonnette': 26217668, 'autre_refus': 26217669, 'metal': 26217671, 'plastique': 26217672, 'papier': 26217673, 'kraft': 26217675, 'Carton_gris': 26217676, 'flou': 26217677, 'mal_croppe': 26217679, 'environnement': 26217680, 'Carton_brun': 26217681, 'Teint_Dans_La_Masse': 26217682}", None, None, None, None, '3596346'), ('4302', '26217655', '1379336470', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379334709', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379334707', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379333817', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379332964', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379332963', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379332886', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379332857', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379332183', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379331929', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379330497', None, None, None, None, None, '3596346')] time used for this insertion : 0.020719528198242188 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5120398998260498 time spend to save output : 0.020989656448364258 total time spend for step 1 : 1.533029556274414 step2:final Tue Aug 26 06:05: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 (26217655) 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 26217655 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1379330497,1379331929,1379332183,1379332857,1379332964,1379332886,1379332963,1379333817,1379334709,1379334707,1379336470); 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([26217655]) Inside saveOutput : final : False verbose : True original output for save of step final : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ('0.10756502196152304',), 1379332886: ('0.10756502196152304',), 1379332857: ('0.10756502196152304',), 1379332183: ('0.10756502196152304',), 1379331929: ('0.10756502196152304',), 1379330497: ('0.10756502196152304',)} new output for save of step final : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ('0.10756502196152304',), 1379332886: ('0.10756502196152304',), 1379332857: ('0.10756502196152304',), 1379332183: ('0.10756502196152304',), 1379331929: ('0.10756502196152304',), 1379330497: ('0.10756502196152304',)} [1379336470, 1379334709, 1379334707, 1379333817, 1379332964, 1379332963, 1379332886, 1379332857, 1379332183, 1379331929, 1379330497] map_info['map_portfolio_photo'] : {26217655: [1379336470, 1379334709, 1379334707, 1379333817, 1379332964, 1379332963, 1379332886, 1379332857, 1379332183, 1379331929, 1379330497]} final : False mtd_id 4302 list_pids : [1379336470, 1379334709, 1379334707, 1379333817, 1379332964, 1379332963, 1379332886, 1379332857, 1379332183, 1379331929, 1379330497] Looping around the photos to save general results len do output : 11 /1379336470.Didn't retrieve data . /1379334709.Didn't retrieve data . /1379334707.Didn't retrieve data . /1379333817.Didn't retrieve data . /1379332964.Didn't retrieve data . /1379332963.Didn't retrieve data . /1379332886.Didn't retrieve data . /1379332857.Didn't retrieve data . /1379332183.Didn't retrieve data . /1379331929.Didn't retrieve data . /1379330497.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, '3596346') ('4302', '26217655', '1379336470', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379334709', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379334707', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379333817', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379332964', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379332963', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379332886', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379332857', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379332183', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379331929', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379330497', None, None, None, None, None, '3596346') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '26217655', '1379336470', '0.10756502196152304', None, None, None, None, '3596346'), ('4302', '26217655', '1379334709', '0.10756502196152304', None, None, None, None, '3596346'), ('4302', '26217655', '1379334707', '0.10756502196152304', None, None, None, None, '3596346'), ('4302', '26217655', '1379333817', '0.10756502196152304', None, None, None, None, '3596346'), ('4302', '26217655', '1379332964', '0.10756502196152304', None, None, None, None, '3596346'), ('4302', '26217655', '1379332963', '0.10756502196152304', None, None, None, None, '3596346'), ('4302', '26217655', '1379332886', '0.10756502196152304', None, None, None, None, '3596346'), ('4302', '26217655', '1379332857', '0.10756502196152304', None, None, None, None, '3596346'), ('4302', '26217655', '1379332183', '0.10756502196152304', None, None, None, None, '3596346'), ('4302', '26217655', '1379331929', '0.10756502196152304', None, None, None, None, '3596346'), ('4302', '26217655', '1379330497', '0.10756502196152304', None, None, None, None, '3596346')] time used for this insertion : 0.03273463249206543 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.16700959205627441 time spend to save output : 0.03328967094421387 total time spend for step 2 : 0.20029926300048828 step3:velours_tree Tue Aug 26 06:05: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 : {26217655: [{'cartonnette': 26217668, 'autre_refus': 26217669, 'metal': 26217671, 'plastique': 26217672, 'papier': 26217673, 'kraft': 26217675, 'Carton_gris': 26217676, 'flou': 26217677, 'mal_croppe': 26217679, 'environnement': 26217680, 'Carton_brun': 26217681, 'Teint_Dans_La_Masse': 26217682}]} input_args_next_step : {26217655: ()} output_args : {26217655: [{'cartonnette': 26217668, 'autre_refus': 26217669, 'metal': 26217671, 'plastique': 26217672, 'papier': 26217673, 'kraft': 26217675, 'Carton_gris': 26217676, 'flou': 26217677, 'mal_croppe': 26217679, 'environnement': 26217680, 'Carton_brun': 26217681, 'Teint_Dans_La_Masse': 26217682}]} args : 26217655 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 : ({'cartonnette': 26217668, 'autre_refus': 26217669, 'metal': 26217671, 'plastique': 26217672, 'papier': 26217673, 'kraft': 26217675, 'Carton_gris': 26217676, 'flou': 26217677, 'mal_croppe': 26217679, 'environnement': 26217680, 'Carton_brun': 26217681, 'Teint_Dans_La_Masse': 26217682},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26217655) 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([26217655]) 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.3149833679199219 time spend to save output : 5.14984130859375e-05 total time spend for step 3 : 0.3150348663330078 step4:send_mail_cod Tue Aug 26 06:05: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 : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ('0.10756502196152304',), 1379332886: ('0.10756502196152304',), 1379332857: ('0.10756502196152304',), 1379332183: ('0.10756502196152304',), 1379331929: ('0.10756502196152304',), 1379330497: ('0.10756502196152304',)} input_args_next_step : {1379336470: ()} output_args : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ('0.10756502196152304',), 1379332886: ('0.10756502196152304',), 1379332857: ('0.10756502196152304',), 1379332183: ('0.10756502196152304',), 1379331929: ('0.10756502196152304',), 1379330497: ('0.10756502196152304',)} args : 1379336470 depend.output_id : 0 input_args_next_step : {1379336470: ('0.10756502196152304',), 1379334709: ()} output_args : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ('0.10756502196152304',), 1379332886: ('0.10756502196152304',), 1379332857: ('0.10756502196152304',), 1379332183: ('0.10756502196152304',), 1379331929: ('0.10756502196152304',), 1379330497: ('0.10756502196152304',)} args : 1379334709 depend.output_id : 0 input_args_next_step : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ()} output_args : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ('0.10756502196152304',), 1379332886: ('0.10756502196152304',), 1379332857: ('0.10756502196152304',), 1379332183: ('0.10756502196152304',), 1379331929: ('0.10756502196152304',), 1379330497: ('0.10756502196152304',)} args : 1379334707 depend.output_id : 0 input_args_next_step : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ()} output_args : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ('0.10756502196152304',), 1379332886: ('0.10756502196152304',), 1379332857: ('0.10756502196152304',), 1379332183: ('0.10756502196152304',), 1379331929: ('0.10756502196152304',), 1379330497: ('0.10756502196152304',)} args : 1379333817 depend.output_id : 0 input_args_next_step : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ()} output_args : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ('0.10756502196152304',), 1379332886: ('0.10756502196152304',), 1379332857: ('0.10756502196152304',), 1379332183: ('0.10756502196152304',), 1379331929: ('0.10756502196152304',), 1379330497: ('0.10756502196152304',)} args : 1379332964 depend.output_id : 0 input_args_next_step : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ()} output_args : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ('0.10756502196152304',), 1379332886: ('0.10756502196152304',), 1379332857: ('0.10756502196152304',), 1379332183: ('0.10756502196152304',), 1379331929: ('0.10756502196152304',), 1379330497: ('0.10756502196152304',)} args : 1379332963 depend.output_id : 0 input_args_next_step : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ('0.10756502196152304',), 1379332886: ()} output_args : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ('0.10756502196152304',), 1379332886: ('0.10756502196152304',), 1379332857: ('0.10756502196152304',), 1379332183: ('0.10756502196152304',), 1379331929: ('0.10756502196152304',), 1379330497: ('0.10756502196152304',)} args : 1379332886 depend.output_id : 0 input_args_next_step : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ('0.10756502196152304',), 1379332886: ('0.10756502196152304',), 1379332857: ()} output_args : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ('0.10756502196152304',), 1379332886: ('0.10756502196152304',), 1379332857: ('0.10756502196152304',), 1379332183: ('0.10756502196152304',), 1379331929: ('0.10756502196152304',), 1379330497: ('0.10756502196152304',)} args : 1379332857 depend.output_id : 0 input_args_next_step : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ('0.10756502196152304',), 1379332886: ('0.10756502196152304',), 1379332857: ('0.10756502196152304',), 1379332183: ()} output_args : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ('0.10756502196152304',), 1379332886: ('0.10756502196152304',), 1379332857: ('0.10756502196152304',), 1379332183: ('0.10756502196152304',), 1379331929: ('0.10756502196152304',), 1379330497: ('0.10756502196152304',)} args : 1379332183 depend.output_id : 0 input_args_next_step : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ('0.10756502196152304',), 1379332886: ('0.10756502196152304',), 1379332857: ('0.10756502196152304',), 1379332183: ('0.10756502196152304',), 1379331929: ()} output_args : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ('0.10756502196152304',), 1379332886: ('0.10756502196152304',), 1379332857: ('0.10756502196152304',), 1379332183: ('0.10756502196152304',), 1379331929: ('0.10756502196152304',), 1379330497: ('0.10756502196152304',)} args : 1379331929 depend.output_id : 0 input_args_next_step : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ('0.10756502196152304',), 1379332886: ('0.10756502196152304',), 1379332857: ('0.10756502196152304',), 1379332183: ('0.10756502196152304',), 1379331929: ('0.10756502196152304',), 1379330497: ()} output_args : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ('0.10756502196152304',), 1379332886: ('0.10756502196152304',), 1379332857: ('0.10756502196152304',), 1379332183: ('0.10756502196152304',), 1379331929: ('0.10756502196152304',), 1379330497: ('0.10756502196152304',)} args : 1379330497 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 : {26217655: [{'cartonnette': 26217668, 'autre_refus': 26217669, 'metal': 26217671, 'plastique': 26217672, 'papier': 26217673, 'kraft': 26217675, 'Carton_gris': 26217676, 'flou': 26217677, 'mal_croppe': 26217679, 'environnement': 26217680, 'Carton_brun': 26217681, 'Teint_Dans_La_Masse': 26217682}]} input_args_next_step : {1379336470: ('0.10756502196152304',), 1379334709: ('0.10756502196152304',), 1379334707: ('0.10756502196152304',), 1379333817: ('0.10756502196152304',), 1379332964: ('0.10756502196152304',), 1379332963: ('0.10756502196152304',), 1379332886: ('0.10756502196152304',), 1379332857: ('0.10756502196152304',), 1379332183: ('0.10756502196152304',), 1379331929: ('0.10756502196152304',), 1379330497: ('0.10756502196152304',), 26217655: ()} output_args : {26217655: [{'cartonnette': 26217668, 'autre_refus': 26217669, 'metal': 26217671, 'plastique': 26217672, 'papier': 26217673, 'kraft': 26217675, 'Carton_gris': 26217676, 'flou': 26217677, 'mal_croppe': 26217679, 'environnement': 26217680, 'Carton_brun': 26217681, 'Teint_Dans_La_Masse': 26217682}]} args : 26217655 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :12, first value : ('0.10756502196152304',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26217655) 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 (1379336470,1379334709,1379334707,1379333817,1379332964,1379332963,1379332886,1379332857,1379332183,1379331929,1379330497) Found this number of photos: 11 ##### Call download_photos : nb_thread : 5 begin to download photo : 1379330497 begin to download photo : 1379332857 begin to download photo : 1379332964 begin to download photo : 1379334709 download finish for photo 1379332964 begin to download photo : 1379333817 download finish for photo 1379334709 begin to download photo : 1379336470 download finish for photo 1379330497 begin to download photo : 1379331929 download finish for photo 1379332857 begin to download photo : 1379332886 download finish for photo 1379336470 download finish for photo 1379331929 begin to download photo : 1379332183 download finish for photo 1379332886 begin to download photo : 1379332963 download finish for photo 1379333817 begin to download photo : 1379334707 download finish for photo 1379332963 download finish for photo 1379332183 download finish for photo 1379334707 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette262176681756181159/ imagette262176691756181159/ imagette262176711756181159/ length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 results_Auto_P26217655_26-08-2025_06_05_59.pdf 26217668 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=26217668 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262176681756181159 26217669 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=26217669 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262176691756181159 26217671 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=26217671 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262176711756181159 26217672 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=26217672 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1379351597: '1756164038_3497314_1379332963_171df1321ff8a9b6e5d7b7c296ed7bdf_48723159_rle_crop_3930512556_0.png'} change filename to text .imagette262176721756181159/ imagette262176721756181159/1756164038_3497314_1379332963_171df1321ff8a9b6e5d7b7c296ed7bdf_48723159_rle_crop_3930512556_0.png.png imagette262176751756181159/ imagette262176771756181159/ imagette262176791756181159/ imagette262176761756181159/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/26/61cc64a97ca264344ba917460c3ded5c_8947001.png imagette262176721756181159 26217675 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=26217675 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262176751756181159 26217677 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=26217677 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262176771756181159 26217679 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=26217679 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262176791756181159 26217676 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=26217676 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262176761756181159 26217681 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=26217681 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1379351379: '1756163738_3484528_1379330497_df51983c46f8f2a7b9345338fd3fde4a_83127379_rle_crop_3930512094_0.png'} change filename to text .imagette262176811756181159/ imagette262176811756181159/1756163738_3484528_1379330497_df51983c46f8f2a7b9345338fd3fde4a_83127379_rle_crop_3930512094_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/26/b592831f1874cfcb5121356ed564f338_21550855.png imagette262176811756181159 26217682 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=26217682 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1379351377: '1756163738_3484528_1379330497_df51983c46f8f2a7b9345338fd3fde4a_83127379_rle_crop_3930512093_0.png', 1379351378: '1756163738_3484528_1379330497_df51983c46f8f2a7b9345338fd3fde4a_83127379_rle_crop_3930512095_0.png', 1379351868: '1756164338_3509582_1379336470_0ec70db437ea7ac7093d218c792d540e_56897537_rle_crop_3930512826_0.png', 1379351869: '1756164338_3509582_1379334707_b52f5f41f64dbfe394f3f6046828015b_31492166_rle_crop_3930512832_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/26/36307aaa5e57e5bd1619c53abf751e22_5891391.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/26/93fcf8ceaf127a7b7d3d14d0d6e2ceb5_46567652.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/26/40a7ce1094b53f7b50983514c6bf58e8_1433756.png change filename to text .imagette262176821756181159/ imagette262176821756181159/1756164338_3509582_1379334707_b52f5f41f64dbfe394f3f6046828015b_31492166_rle_crop_3930512832_0.png.png imagette262176821756181159/1756163738_3484528_1379330497_df51983c46f8f2a7b9345338fd3fde4a_83127379_rle_crop_3930512093_0.png.png imagette262176821756181159/1756164338_3509582_1379336470_0ec70db437ea7ac7093d218c792d540e_56897537_rle_crop_3930512826_0.png.png imagette262176821756181159/1756163738_3484528_1379330497_df51983c46f8f2a7b9345338fd3fde4a_83127379_rle_crop_3930512095_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/26/c75ae7aacc41b135509c61919de8f7c5_15176180.png imagette262176821756181159 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26217655 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26217692,26217693,26217694,26217695,26217696,26217697,26217698,26217699,26217700,26217701,26217702,26217703?tags=cartonnette,autre_refus,metal,plastique,papier,kraft,Carton_gris,flou,mal_croppe,environnement,Carton_brun,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1379336470] : ('0.10756502196152304',) no score found for photo 1379336470 We are sending mail with results at report@fotonower.com args[1379334709] : ('0.10756502196152304',) no score found for photo 1379334709 We are sending mail with results at report@fotonower.com args[1379334707] : ('0.10756502196152304',) no score found for photo 1379334707 We are sending mail with results at report@fotonower.com args[1379333817] : ('0.10756502196152304',) no score found for photo 1379333817 We are sending mail with results at report@fotonower.com args[1379332964] : ('0.10756502196152304',) no score found for photo 1379332964 We are sending mail with results at report@fotonower.com args[1379332963] : ('0.10756502196152304',) no score found for photo 1379332963 We are sending mail with results at report@fotonower.com args[1379332886] : ('0.10756502196152304',) no score found for photo 1379332886 We are sending mail with results at report@fotonower.com args[1379332857] : ('0.10756502196152304',) no score found for photo 1379332857 We are sending mail with results at report@fotonower.com args[1379332183] : ('0.10756502196152304',) no score found for photo 1379332183 We are sending mail with results at report@fotonower.com args[1379331929] : ('0.10756502196152304',) no score found for photo 1379331929 We are sending mail with results at report@fotonower.com args[1379330497] : ('0.10756502196152304',) no score found for photo 1379330497 We are sending mail with results at report@fotonower.com refus_total : 0.10756502196152304 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=26217655 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_P26217655_26-08-2025_06_05_59.pdf results_Auto_P26217655_26-08-2025_06_05_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26217655_26-08-2025_06_05_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','26217655','results_Auto_P26217655_26-08-2025_06_05_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26217655_26-08-2025_06_05_59.pdf','pdf','','0.13','0.10756502196152304') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26217655]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1379336470, 1379334709, 1379334707, 1379333817, 1379332964, 1379332963, 1379332886, 1379332857, 1379332183, 1379331929, 1379330497] map_info['map_portfolio_photo'] : {26217655: [1379336470, 1379334709, 1379334707, 1379333817, 1379332964, 1379332963, 1379332886, 1379332857, 1379332183, 1379331929, 1379330497]} final : False mtd_id 4302 list_pids : [1379336470, 1379334709, 1379334707, 1379333817, 1379332964, 1379332963, 1379332886, 1379332857, 1379332183, 1379331929, 1379330497] 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, '3596346') ('4302', '26217655', '1379336470', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379334709', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379334707', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379333817', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379332964', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379332963', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379332886', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379332857', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379332183', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379331929', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379330497', None, None, None, None, None, '3596346') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '26217655', '1379336470', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379334709', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379334707', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379333817', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379332964', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379332963', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379332886', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379332857', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379332183', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379331929', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379330497', None, None, None, None, None, '3596346')] time used for this insertion : 0.01687932014465332 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.103990077972412 time spend to save output : 0.017098188400268555 total time spend for step 4 : 2.1210882663726807 step5:split_time_score Tue Aug 26 06:06:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['26217655'] 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 : [('26217655',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26217655) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1379334709: {'path': 'temp/1756181158_4102096_1379334709_a14bd8acab231e62c28bd1c3aea14bba_67052336.jpg', 'extension': 'jpg'}, 1379336470: {'path': 'temp/1756181158_4102096_1379336470_0ec70db437ea7ac7093d218c792d540e_56897537.jpg', 'extension': 'jpg'}, 1379332857: {'path': 'temp/1756181158_4102096_1379332857_42884164a0feac98c3b3581f5110156c_10431211.jpg', 'extension': 'jpg'}, 1379332886: {'path': 'temp/1756181158_4102096_1379332886_68c943028f8a1f4187f3dd705f69b34e_45603691.jpg', 'extension': 'jpg'}, 1379332963: {'path': 'temp/1756181158_4102096_1379332963_171df1321ff8a9b6e5d7b7c296ed7bdf_48723159.jpg', 'extension': 'jpg'}, 1379330497: {'path': 'temp/1756181158_4102096_1379330497_df51983c46f8f2a7b9345338fd3fde4a_83127379.jpg', 'extension': 'jpg'}, 1379331929: {'path': 'temp/1756181158_4102096_1379331929_044aa8dbb27c6148c42f01f6f26eae2d_22338209.jpg', 'extension': 'jpg'}, 1379332183: {'path': 'temp/1756181158_4102096_1379332183_20ae02d4020ad1fc1a1ad9142642d97b_82932680.jpg', 'extension': 'jpg'}, 1379332964: {'path': 'temp/1756181158_4102096_1379332964_d755ce80184a12cdd7452d931693faae_63817956.jpg', 'extension': 'jpg'}, 1379333817: {'path': 'temp/1756181158_4102096_1379333817_413e83ee173a36feef0e1507e461f1af_17071677.jpg', 'extension': 'jpg'}, 1379334707: {'path': 'temp/1756181158_4102096_1379334707_b52f5f41f64dbfe394f3f6046828015b_31492166.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 = 26217655; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm_bis',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26217655 group by h (('23', 11),) 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=26217655 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 (26217655) 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 (26217655) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 25082025 26217655 Nombre de photos uploadées : 11 / 23040 (0%) 25082025 26217655 Nombre de photos taguées (types de déchets): 0 / 11 (0%) 25082025 26217655 Nombre de photos taguées (volume) : 0 / 11 (0%) [{'photo_id': 1379330497, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/25/df51983c46f8f2a7b9345338fd3fde4a_83127379.jpg', 'username': None, 'uploaded_at': 1756157472, 'text': 'image_25082025_23_30_44_010134m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1379331929, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/25/044aa8dbb27c6148c42f01f6f26eae2d_22338209.jpg', 'username': None, 'uploaded_at': 1756157592, 'text': 'image_25082025_23_30_54_010135m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1379332183, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/25/20ae02d4020ad1fc1a1ad9142642d97b_82932680.jpg', 'username': None, 'uploaded_at': 1756157651, 'text': 'image_25082025_23_32_04_10148.jpg'}, {'photo_id': 1379332857, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/25/42884164a0feac98c3b3581f5110156c_10431211.jpg', 'username': None, 'uploaded_at': 1756157831, 'text': 'image_25082025_23_33_34_10145.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ??????????? elapsed_time : fill_and_build_computed_from_old_data 0.0008642673492431641 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26217655, '2025-08-25' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2167673,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2151811122894287 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= 2167673 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26190693, 'dashboard_result_id': 14289507, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26190693_26-08-2025_05_34_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26190694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26190695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26190696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26190697, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26190698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26190699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26190700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26190701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26190702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26190703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26190704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26190705, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26190838, 'dashboard_result_id': 14289508, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26190838_26-08-2025_05_35_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26190840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26190841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26190842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26190843, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26190844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26190845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26190846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26190847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26190848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26190849, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26190850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26190851, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26191029, 'dashboard_result_id': 14289509, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191029_26-08-2025_05_35_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26191038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191048, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26191180, 'dashboard_result_id': 14289510, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191180_26-08-2025_05_36_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26191191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191192, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26191444, 'dashboard_result_id': 14289511, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191444_26-08-2025_05_36_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191450, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26191452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191460, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191461, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26191624, 'dashboard_result_id': 14289512, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191624_26-08-2025_05_37_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26191637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191639, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191648, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26191825, 'dashboard_result_id': 14289513, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191825_26-08-2025_05_37_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26191830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191836, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191838, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26192047, 'dashboard_result_id': 14289514, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192047_26-08-2025_05_38_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26192060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26192061, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26192062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26192063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26192064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26192065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26192066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26192067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26192068, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26192069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26192070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26192071, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26192571, 'dashboard_result_id': 14289515, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192571_26-08-2025_05_38_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26192583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26192584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26192585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26192586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26192587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26192588, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26192589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26192590, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26192591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26192592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26192593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26192594, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26192848, 'dashboard_result_id': 14289516, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192848_26-08-2025_05_39_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26192873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26192874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26192875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26192876, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26192877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26192878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26192879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26192880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26192881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26192882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26192883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26192884, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26193178, 'dashboard_result_id': 14289517, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26193178_26-08-2025_05_39_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26193184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26193185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26193186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26193187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26193188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26193189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26193190, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26193191, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26193192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26193193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26193194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26193195, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26193504, 'dashboard_result_id': 14289518, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26193504_26-08-2025_05_40_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26193527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26193528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26193529, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26193530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26193531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26193532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26193533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26193534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26193535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26193536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26193537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26193538, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26194072, 'dashboard_result_id': 14289519, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26194072_26-08-2025_05_40_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26194117, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26194118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26194119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26194120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26194121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26194122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26194123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26194124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26194125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26194126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26194127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26194128, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26194424, 'dashboard_result_id': 14289520, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26194424_26-08-2025_05_41_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26194483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26194484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26194485, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26194486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26194487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26194488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26194489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26194490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26194491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26194492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26194493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26194494, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26195010, 'dashboard_result_id': 14289521, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26195010_26-08-2025_05_41_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26195042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26195043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26195044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26195045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26195046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26195047, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26195048, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26195049, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26195050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26195051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26195052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26195053, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26196382, 'dashboard_result_id': 14289522, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26196382_26-08-2025_05_41_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26196388, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26196389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26196390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26196391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26196392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26196393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26196394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26196395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26196396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26196397, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26196398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26196399, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26196724, 'dashboard_result_id': 14289523, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26196724_26-08-2025_05_42_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26196732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26196733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26196734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26196735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26196736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26196738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26196739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26196740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26196741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26196742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26196743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26196744, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26197261, 'dashboard_result_id': 14289524, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26197261_26-08-2025_05_42_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26197267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26197268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26197269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26197270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26197272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26197273, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26197274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26197276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26197277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26197278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26197280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26197281, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26198027, 'dashboard_result_id': 14289525, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26198027_26-08-2025_05_43_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26198084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26198085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26198086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26198087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26198088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26198089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26198090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26198091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26198093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26198094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26198095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26198096, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26198417, 'dashboard_result_id': 14289526, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26198417_26-08-2025_05_44_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26198473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26198474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26198475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26198476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26198477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26198478, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26198479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26198480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26198481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26198482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26198483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26198484, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26198801, 'dashboard_result_id': 14289527, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26198801_26-08-2025_05_44_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26198814, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26198815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26198816, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26198817, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26198818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26198819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26198820, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26198821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26198822, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26198823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26198824, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26198825, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26199106, 'dashboard_result_id': 14289528, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26199106_26-08-2025_05_45_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26199159, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26199160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26199161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26199162, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26199163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26199164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26199165, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26199166, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26199167, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26199168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26199169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26199170, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26199563, 'dashboard_result_id': 14289529, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26199563_26-08-2025_05_45_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26199575, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26199576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26199577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26199578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26199579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26199580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26199581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26199582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26199583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26199584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26199585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26199586, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26199958, 'dashboard_result_id': 14289530, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26199958_26-08-2025_05_46_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26199974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26199975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26199976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26199977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26199978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26199979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26199980, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26199981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26199982, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26199983, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26199984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26199985, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26200335, 'dashboard_result_id': 14289531, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26200335_26-08-2025_05_46_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26200391, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26200392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26200393, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26200394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26200395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26200396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26200397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26200398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26200399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26200400, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26200401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26200402, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26202393, 'dashboard_result_id': 14289532, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26202393_26-08-2025_05_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26202399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26202400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26202401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26202402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26202403, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26202404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26202405, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26202406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26202407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26202408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26202409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26202410, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26202540, 'dashboard_result_id': 14289533, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26202540_26-08-2025_05_47_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26202546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26202547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26202548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26202549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26202550, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26202551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26202552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26202553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26202554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26202555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26202556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26202557, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26202807, 'dashboard_result_id': 14289534, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26202807_26-08-2025_05_48_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26202921, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26202923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26202924, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26202925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26202926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26202927, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26202928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26202929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26202930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26202931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26202932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26202933, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26203254, 'dashboard_result_id': 14289535, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26203254_26-08-2025_05_48_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26203302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26203303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26203304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26203305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26203306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26203307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26203308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26203309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26203310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26203311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26203312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26203313, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26203612, 'dashboard_result_id': 14289536, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26203612_26-08-2025_05_49_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26203632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26203633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26203634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26203635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26203636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26203637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26203638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26203639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26203640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26203641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26203642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26203643, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26203963, 'dashboard_result_id': 14289537, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26203963_26-08-2025_05_49_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26203968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26203969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26203970, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26203971, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26203972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26203973, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26203974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26203975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26203976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26203977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26203978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26203979, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26204256, 'dashboard_result_id': 14289538, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26204256_26-08-2025_05_50_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26204317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26204318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26204319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26204320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26204321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26204322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26204323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26204324, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26204325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26204326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26204327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26204328, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26204655, 'dashboard_result_id': 14289539, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26204655_26-08-2025_05_50_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26204681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26204682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26204684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26204685, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26204686, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26204687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26204688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26204689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26204690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26204691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26204692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26204693, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26205146, 'dashboard_result_id': 14289540, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26205146_26-08-2025_05_51_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26205167, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26205168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26205169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26205170, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26205171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26205172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26205173, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26205174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26205175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26205177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26205178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26205179, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26205628, 'dashboard_result_id': 14289541, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26205628_26-08-2025_05_51_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26205650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26205651, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26205652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26205653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26205654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26205655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26205656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26205657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26205658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26205659, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26205660, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26205661, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26206130, 'dashboard_result_id': 14289542, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26206130_26-08-2025_05_52_14.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26206164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26206165, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26206166, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26206167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26206168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26206169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26206170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26206171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26206172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26206173, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26206174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26206175, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26207741, 'dashboard_result_id': 14289543, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26207741_26-08-2025_05_53_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26207767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26207768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26207769, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26207770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26207771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26207772, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26207773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26207774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26207775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26207776, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26207777, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26207778, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26208035, 'dashboard_result_id': 14289544, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26208035_26-08-2025_05_53_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26208106, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26208107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26208108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26208109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26208110, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26208111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26208112, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26208113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26208114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26208115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26208116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26208117, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26208394, 'dashboard_result_id': 14289545, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26208394_26-08-2025_05_54_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26208406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26208407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26208408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26208409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26208410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26208411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26208412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26208413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26208414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26208415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26208416, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26208417, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26209122, 'dashboard_result_id': 14289546, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26209122_26-08-2025_05_54_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26209183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26209184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26209185, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26209186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26209187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26209188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26209189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26209190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26209191, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26209192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26209193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26209194, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26209659, 'dashboard_result_id': 14289547, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26209659_26-08-2025_05_55_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26209662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26209663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26209664, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26209665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26209666, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26209667, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26209668, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26209669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26209670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26209671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26209672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26209673, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26210173, 'dashboard_result_id': 14289548, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26210173_26-08-2025_05_55_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26210183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26210184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26210185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26210186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26210187, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26210188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26210189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26210190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26210191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26210192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26210193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26210194, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26210690, 'dashboard_result_id': 14289549, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26210690_26-08-2025_05_55_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26210764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26210765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26210766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26210767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26210768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26210769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26210770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26210771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26210772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26210773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26210774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26210775, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26210991, 'dashboard_result_id': 14289550, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26210991_26-08-2025_05_56_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26211021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26211022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26211023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26211024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26211025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26211026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26211027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26211028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26211029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26211030, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26211031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26211032, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26211362, 'dashboard_result_id': 14289551, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26211362_26-08-2025_05_57_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26211403, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26211404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26211405, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26211406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26211407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26211408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26211409, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26211410, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26211411, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26211412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26211413, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26211414, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26211764, 'dashboard_result_id': 14289552, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26211764_26-08-2025_05_58_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26211799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26211800, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26211801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26211802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26211803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26211804, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26211805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26211806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26211807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26211808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26211809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26211810, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26212204, 'dashboard_result_id': 14289553, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26212204_26-08-2025_05_58_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26212214, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26212215, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26212216, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26212217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26212218, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26212219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26212220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26212221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26212222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26212223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26212224, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26212225, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26212578, 'dashboard_result_id': 14289554, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26212578_26-08-2025_05_59_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26212609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26212610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26212611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26212612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26212614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26212615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26212616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26212617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26212618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26212619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26212620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26212621, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26213025, 'dashboard_result_id': 14289555, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26213025_26-08-2025_05_59_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26213058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26213059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26213060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26213061, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26213062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26213064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26213065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26213066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26213067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26213068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26213069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26213070, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26213610, 'dashboard_result_id': 14289556, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26213610_26-08-2025_06_00_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26213695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26213696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26213697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26213698, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26213699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26213700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26213701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26213702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26213703, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26213704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26213705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26213706, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26214456, 'dashboard_result_id': 14289557, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26214456_26-08-2025_06_01_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26214473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26214474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26214475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26214476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26214477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26214478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26214479, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26214480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26214481, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26214482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26214483, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26214484, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26215064, 'dashboard_result_id': 14289558, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26215064_26-08-2025_06_02_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26215077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26215078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26215079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26215080, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26215081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26215082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26215083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26215084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26215085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26215086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26215087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26215088, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26215296, 'dashboard_result_id': 14289559, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26215296_26-08-2025_06_02_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26215305, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26215306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26215307, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26215308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26215309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26215310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26215311, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26215312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26215313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26215314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26215315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26215316, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26215672, 'dashboard_result_id': 14289560, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26215672_26-08-2025_06_03_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26215678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26215679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26215680, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26215681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26215682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26215683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26215684, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26215685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26215686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26215687, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26215688, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26215689, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26216189, 'dashboard_result_id': 14289561, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26216189_26-08-2025_06_04_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26216200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26216201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26216202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26216203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26216204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26216205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26216206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26216207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26216208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26216209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26216210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26216211, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26217241, 'dashboard_result_id': 14289562, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26217241_26-08-2025_06_05_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26217246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26217247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26217248, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26217249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26217250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26217251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26217252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26217253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26217254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26217255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26217256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26217257, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26217655, 'dashboard_result_id': 14289563, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26217655_25-08-2025_23_49_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26217668, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26217669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26217671, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26217672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26217673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26217675, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26217676, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26217677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26217679, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26217680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26217681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26217682, 'pht': 3726}}"}, {'dashboat_entry_day': 2167673, 'dashboard_run_id': 2182259, 'mtr_portfolio_id': 26217995, 'dashboard_result_id': 14289564, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26217995_26-08-2025_00_36_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26218004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26218005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26218006, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26218008, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26218009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26218010, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26218012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26218013, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26218014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26218015, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26218017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26218018, '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 = 26190693 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': 3596278, 'mtr_portfolio_id': 26190693, 'created_at': datetime.datetime(2025, 8, 26, 5, 34, 29), 'result': '0.05132301580300638', 'result_long': None, 'result_double': None}] Qualite : 0.05132301580300638 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26190693 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26190693_26-08-2025_05_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26190693 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26190693_26-08-2025_05_34_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26190694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26190695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26190696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26190697, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26190698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26190699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26190700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26190701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26190702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26190703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26190704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26190705, 'pht': 3726}}" where mtr_portfolio_id = 26190693 and dashboard_run_id = 2182259 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`=26190693 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14289507, 0.05132301580300638, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26190693_26-08-2025_05_34_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26190694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26190695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26190696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26190697, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26190698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26190699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26190700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26190701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26190702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26190703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26190704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26190705, '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 = 26190838 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': 3596279, 'mtr_portfolio_id': 26190838, 'created_at': datetime.datetime(2025, 8, 26, 5, 34, 59), 'result': '0.026254682387532167', 'result_long': None, 'result_double': None}] Qualite : 0.026254682387532167 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26190838 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26190838_26-08-2025_05_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26190838 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26190838_26-08-2025_05_35_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26190840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26190841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26190842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26190843, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26190844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26190845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26190846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26190847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26190848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26190849, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26190850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26190851, 'pht': 3726}}" where mtr_portfolio_id = 26190838 and dashboard_run_id = 2182259 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`=26190838 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14289508, 0.026254682387532167, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26190838_26-08-2025_05_35_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26190840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26190841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26190842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26190843, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26190844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26190845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26190846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26190847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26190848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26190849, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26190850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26190851, '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 = 26191029 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': 3596280, 'mtr_portfolio_id': 26191029, 'created_at': datetime.datetime(2025, 8, 26, 5, 35, 31), 'result': '0.3668653592163878', 'result_long': None, 'result_double': None}] Qualite : 0.3668653592163878 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26191029 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191029_26-08-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26191029 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191029_26-08-2025_05_35_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26191038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191048, 'pht': 3726}}" where mtr_portfolio_id = 26191029 and dashboard_run_id = 2182259 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`=26191029 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14289509, 0.3668653592163878, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191029_26-08-2025_05_35_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26191038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191048, '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 = 26191180 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': 3596282, 'mtr_portfolio_id': 26191180, 'created_at': datetime.datetime(2025, 8, 26, 5, 36, 1), 'result': '0.38055090395515967', 'result_long': None, 'result_double': None}] Qualite : 0.38055090395515967 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26191180 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191180_26-08-2025_05_36_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26191180 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191180_26-08-2025_05_36_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26191191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191192, 'pht': 3726}}" where mtr_portfolio_id = 26191180 and dashboard_run_id = 2182259 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`=26191180 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14289510, 0.38055090395515967, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191180_26-08-2025_05_36_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26191191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191192, '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 = 26191444 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': 3596284, 'mtr_portfolio_id': 26191444, 'created_at': datetime.datetime(2025, 8, 26, 5, 36, 30), 'result': '0.3683494311224837', 'result_long': None, 'result_double': None}] Qualite : 0.3683494311224837 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26191444 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191444_26-08-2025_05_36_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26191444 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191444_26-08-2025_05_36_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191450, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26191452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191460, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191461, 'pht': 3726}}" where mtr_portfolio_id = 26191444 and dashboard_run_id = 2182259 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`=26191444 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14289511, 0.3683494311224837, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191444_26-08-2025_05_36_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191450, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26191452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191460, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191461, '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 = 26191624 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': 3596286, 'mtr_portfolio_id': 26191624, 'created_at': datetime.datetime(2025, 8, 26, 5, 37), 'result': '0.19655370506501324', 'result_long': None, 'result_double': None}] Qualite : 0.19655370506501324 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26191624 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191624_26-08-2025_05_37_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26191624 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191624_26-08-2025_05_37_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26191637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191639, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191648, 'pht': 3726}}" where mtr_portfolio_id = 26191624 and dashboard_run_id = 2182259 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`=26191624 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14289512, 0.19655370506501324, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191624_26-08-2025_05_37_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26191637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191639, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191648, '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 = 26191825 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': 3596288, 'mtr_portfolio_id': 26191825, 'created_at': datetime.datetime(2025, 8, 26, 5, 37, 30), 'result': '0.34755153953537576', 'result_long': None, 'result_double': None}] Qualite : 0.34755153953537576 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26191825 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191825_26-08-2025_05_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26191825 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191825_26-08-2025_05_37_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26191830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191836, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191838, 'pht': 3726}}" where mtr_portfolio_id = 26191825 and dashboard_run_id = 2182259 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`=26191825 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14289513, 0.34755153953537576, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191825_26-08-2025_05_37_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26191830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191836, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191838, '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 = 26192047 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': 3596290, 'mtr_portfolio_id': 26192047, 'created_at': datetime.datetime(2025, 8, 26, 5, 37, 59), 'result': '0.33999675371340354', 'result_long': None, 'result_double': None}] Qualite : 0.33999675371340354 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26192047 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192047_26-08-2025_05_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26192047 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192047_26-08-2025_05_38_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26192060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26192061, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26192062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26192063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26192064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26192065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26192066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26192067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26192068, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26192069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26192070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26192071, 'pht': 3726}}" where mtr_portfolio_id = 26192047 and dashboard_run_id = 2182259 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`=26192047 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14289514, 0.33999675371340354, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192047_26-08-2025_05_38_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26192060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26192061, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26192062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26192063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26192064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26192065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26192066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26192067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26192068, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26192069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26192070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26192071, '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 = 26192571 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': 3596292, 'mtr_portfolio_id': 26192571, 'created_at': datetime.datetime(2025, 8, 26, 5, 38, 29), 'result': '0.37397703072737987', 'result_long': None, 'result_double': None}] Qualite : 0.37397703072737987 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26192571 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192571_26-08-2025_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26192571 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192571_26-08-2025_05_38_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26192583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26192584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26192585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26192586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26192587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26192588, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26192589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26192590, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26192591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26192592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26192593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26192594, 'pht': 3726}}" where mtr_portfolio_id = 26192571 and dashboard_run_id = 2182259 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`=26192571 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14289515, 0.37397703072737987, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192571_26-08-2025_05_38_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26192583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26192584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26192585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26192586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26192587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26192588, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26192589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26192590, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26192591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26192592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26192593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26192594, '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 = 26192848 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': 3596294, 'mtr_portfolio_id': 26192848, 'created_at': datetime.datetime(2025, 8, 26, 5, 38, 58), 'result': '0.41487272065987524', 'result_long': None, 'result_double': None}] Qualite : 0.41487272065987524 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26192848 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192848_26-08-2025_05_39_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26192848 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192848_26-08-2025_05_39_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26192873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26192874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26192875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26192876, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26192877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26192878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26192879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26192880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26192881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26192882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26192883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26192884, 'pht': 3726}}" where mtr_portfolio_id = 26192848 and dashboard_run_id = 2182259 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`=26192848 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14289516, 0.41487272065987524, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192848_26-08-2025_05_39_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26192873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26192874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26192875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26192876, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26192877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26192878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26192879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26192880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26192881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26192882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26192883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26192884, '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 = 26193178 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': 3596296, 'mtr_portfolio_id': 26193178, 'created_at': datetime.datetime(2025, 8, 26, 5, 39, 30), 'result': '0.2802086269980999', 'result_long': None, 'result_double': None}] Qualite : 0.2802086269980999 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26193178 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26193178_26-08-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26193178 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26193178_26-08-2025_05_39_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26193184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26193185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26193186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26193187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26193188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26193189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26193190, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26193191, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26193192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26193193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26193194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26193195, 'pht': 3726}}" where mtr_portfolio_id = 26193178 and dashboard_run_id = 2182259 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`=26193178 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14289517, 0.2802086269980999, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26193178_26-08-2025_05_39_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26193184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26193185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26193186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26193187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26193188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26193189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26193190, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26193191, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26193192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26193193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26193194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26193195, '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 = 26193504 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': 3596298, 'mtr_portfolio_id': 26193504, 'created_at': datetime.datetime(2025, 8, 26, 5, 39, 59), 'result': '0.3453555603792854', 'result_long': None, 'result_double': None}] Qualite : 0.3453555603792854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26193504 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26193504_26-08-2025_05_40_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26193504 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26193504_26-08-2025_05_40_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26193527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26193528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26193529, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26193530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26193531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26193532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26193533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26193534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26193535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26193536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26193537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26193538, 'pht': 3726}}" where mtr_portfolio_id = 26193504 and dashboard_run_id = 2182259 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`=26193504 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14289518, 0.3453555603792854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26193504_26-08-2025_05_40_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26193527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26193528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26193529, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26193530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26193531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26193532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26193533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26193534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26193535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26193536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26193537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26193538, '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 = 26194072 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 = 26194072 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 = 26194072 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26194072 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 = 26194072 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 = 26194072 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26194072_26-08-2025_05_40_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26194072 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26194072_26-08-2025_05_40_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26194117, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26194118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26194119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26194120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26194121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26194122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26194123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26194124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26194125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26194126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26194127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26194128, 'pht': 3726}}" where mtr_portfolio_id = 26194072 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26194424 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 = 26194424 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 = 26194424 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26194424 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 = 26194424 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 = 26194424 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26194424_26-08-2025_05_41_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26194424 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26194424_26-08-2025_05_41_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26194483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26194484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26194485, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26194486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26194487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26194488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26194489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26194490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26194491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26194492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26194493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26194494, 'pht': 3726}}" where mtr_portfolio_id = 26194424 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26195010 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 = 26195010 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 = 26195010 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26195010 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 = 26195010 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 = 26195010 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26195010_26-08-2025_05_41_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26195010 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26195010_26-08-2025_05_41_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26195042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26195043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26195044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26195045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26195046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26195047, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26195048, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26195049, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26195050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26195051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26195052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26195053, 'pht': 3726}}" where mtr_portfolio_id = 26195010 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26196382 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': 3596304, 'mtr_portfolio_id': 26196382, 'created_at': datetime.datetime(2025, 8, 26, 5, 41, 57), 'result': '0.3322844540965199', 'result_long': None, 'result_double': None}] Qualite : 0.3322844540965199 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26196382 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26196382_26-08-2025_05_41_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26196382 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26196382_26-08-2025_05_41_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26196388, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26196389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26196390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26196391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26196392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26196393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26196394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26196395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26196396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26196397, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26196398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26196399, 'pht': 3726}}" where mtr_portfolio_id = 26196382 and dashboard_run_id = 2182259 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`=26196382 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14289522, 0.3322844540965199, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26196382_26-08-2025_05_41_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26196388, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26196389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26196390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26196391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26196392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26196393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26196394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26196395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26196396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26196397, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26196398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26196399, '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 = 26196724 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 = 26196724 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 = 26196724 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26196724 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 = 26196724 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 = 26196724 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26196724_26-08-2025_05_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26196724 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26196724_26-08-2025_05_42_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26196732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26196733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26196734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26196735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26196736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26196738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26196739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26196740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26196741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26196742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26196743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26196744, 'pht': 3726}}" where mtr_portfolio_id = 26196724 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26197261 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 = 26197261 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 = 26197261 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26197261 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 = 26197261 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 = 26197261 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26197261_26-08-2025_05_42_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26197261 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26197261_26-08-2025_05_42_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26197267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26197268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26197269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26197270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26197272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26197273, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26197274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26197276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26197277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26197278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26197280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26197281, 'pht': 3726}}" where mtr_portfolio_id = 26197261 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26198027 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 = 26198027 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 = 26198027 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26198027 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 = 26198027 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 = 26198027 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26198027_26-08-2025_05_43_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26198027 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26198027_26-08-2025_05_43_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26198084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26198085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26198086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26198087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26198088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26198089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26198090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26198091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26198093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26198094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26198095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26198096, 'pht': 3726}}" where mtr_portfolio_id = 26198027 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26198417 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 = 26198417 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 = 26198417 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26198417 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 = 26198417 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 = 26198417 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26198417_26-08-2025_05_44_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26198417 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26198417_26-08-2025_05_44_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26198473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26198474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26198475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26198476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26198477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26198478, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26198479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26198480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26198481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26198482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26198483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26198484, 'pht': 3726}}" where mtr_portfolio_id = 26198417 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26198801 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 = 26198801 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 = 26198801 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26198801 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 = 26198801 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 = 26198801 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26198801_26-08-2025_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26198801 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26198801_26-08-2025_05_44_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26198814, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26198815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26198816, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26198817, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26198818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26198819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26198820, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26198821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26198822, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26198823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26198824, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26198825, 'pht': 3726}}" where mtr_portfolio_id = 26198801 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26199106 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 = 26199106 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 = 26199106 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26199106 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 = 26199106 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 = 26199106 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26199106_26-08-2025_05_45_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26199106 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26199106_26-08-2025_05_45_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26199159, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26199160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26199161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26199162, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26199163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26199164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26199165, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26199166, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26199167, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26199168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26199169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26199170, 'pht': 3726}}" where mtr_portfolio_id = 26199106 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26199563 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 = 26199563 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 = 26199563 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26199563 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 = 26199563 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 = 26199563 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26199563_26-08-2025_05_45_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26199563 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26199563_26-08-2025_05_45_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26199575, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26199576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26199577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26199578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26199579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26199580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26199581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26199582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26199583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26199584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26199585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26199586, 'pht': 3726}}" where mtr_portfolio_id = 26199563 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26199958 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 = 26199958 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 = 26199958 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26199958 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 = 26199958 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 = 26199958 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26199958_26-08-2025_05_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26199958 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26199958_26-08-2025_05_46_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26199974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26199975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26199976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26199977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26199978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26199979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26199980, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26199981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26199982, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26199983, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26199984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26199985, 'pht': 3726}}" where mtr_portfolio_id = 26199958 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26200335 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 = 26200335 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 = 26200335 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26200335 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 = 26200335 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 = 26200335 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26200335_26-08-2025_05_46_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26200335 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26200335_26-08-2025_05_46_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26200391, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26200392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26200393, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26200394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26200395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26200396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26200397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26200398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26200399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26200400, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26200401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26200402, 'pht': 3726}}" where mtr_portfolio_id = 26200335 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26202393 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 = 26202393 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 = 26202393 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26202393 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 = 26202393 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 = 26202393 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26202393_26-08-2025_05_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26202393 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26202393_26-08-2025_05_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26202399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26202400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26202401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26202402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26202403, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26202404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26202405, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26202406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26202407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26202408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26202409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26202410, 'pht': 3726}}" where mtr_portfolio_id = 26202393 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26202540 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 = 26202540 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 = 26202540 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26202540 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 = 26202540 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 = 26202540 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26202540_26-08-2025_05_47_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26202540 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26202540_26-08-2025_05_47_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26202546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26202547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26202548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26202549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26202550, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26202551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26202552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26202553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26202554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26202555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26202556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26202557, 'pht': 3726}}" where mtr_portfolio_id = 26202540 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26202807 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 = 26202807 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 = 26202807 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26202807 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 = 26202807 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 = 26202807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26202807_26-08-2025_05_48_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26202807 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26202807_26-08-2025_05_48_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26202921, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26202923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26202924, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26202925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26202926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26202927, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26202928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26202929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26202930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26202931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26202932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26202933, 'pht': 3726}}" where mtr_portfolio_id = 26202807 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26203254 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 = 26203254 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 = 26203254 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26203254 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 = 26203254 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 = 26203254 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26203254_26-08-2025_05_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26203254 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26203254_26-08-2025_05_48_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26203302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26203303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26203304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26203305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26203306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26203307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26203308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26203309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26203310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26203311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26203312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26203313, 'pht': 3726}}" where mtr_portfolio_id = 26203254 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26203612 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 = 26203612 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 = 26203612 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26203612 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 = 26203612 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 = 26203612 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26203612_26-08-2025_05_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26203612 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26203612_26-08-2025_05_49_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26203632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26203633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26203634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26203635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26203636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26203637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26203638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26203639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26203640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26203641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26203642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26203643, 'pht': 3726}}" where mtr_portfolio_id = 26203612 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26203963 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 = 26203963 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 = 26203963 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26203963 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 = 26203963 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 = 26203963 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26203963_26-08-2025_05_49_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26203963 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26203963_26-08-2025_05_49_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26203968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26203969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26203970, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26203971, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26203972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26203973, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26203974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26203975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26203976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26203977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26203978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26203979, 'pht': 3726}}" where mtr_portfolio_id = 26203963 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26204256 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 = 26204256 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 = 26204256 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26204256 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 = 26204256 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 = 26204256 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26204256_26-08-2025_05_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26204256 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26204256_26-08-2025_05_50_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26204317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26204318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26204319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26204320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26204321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26204322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26204323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26204324, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26204325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26204326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26204327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26204328, 'pht': 3726}}" where mtr_portfolio_id = 26204256 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26204655 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 = 26204655 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 = 26204655 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26204655 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 = 26204655 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 = 26204655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26204655_26-08-2025_05_50_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26204655 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26204655_26-08-2025_05_50_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26204681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26204682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26204684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26204685, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26204686, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26204687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26204688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26204689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26204690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26204691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26204692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26204693, 'pht': 3726}}" where mtr_portfolio_id = 26204655 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26205146 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 = 26205146 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 = 26205146 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26205146 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 = 26205146 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 = 26205146 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26205146_26-08-2025_05_51_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26205146 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26205146_26-08-2025_05_51_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26205167, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26205168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26205169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26205170, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26205171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26205172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26205173, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26205174, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26205175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26205177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26205178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26205179, 'pht': 3726}}" where mtr_portfolio_id = 26205146 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26205628 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 = 26205628 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 = 26205628 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26205628 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 = 26205628 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 = 26205628 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26205628_26-08-2025_05_51_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26205628 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26205628_26-08-2025_05_51_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26205650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26205651, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26205652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26205653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26205654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26205655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26205656, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26205657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26205658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26205659, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26205660, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26205661, 'pht': 3726}}" where mtr_portfolio_id = 26205628 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26206130 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 = 26206130 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 = 26206130 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26206130 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 = 26206130 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 = 26206130 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26206130_26-08-2025_05_52_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26206130 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26206130_26-08-2025_05_52_14.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26206164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26206165, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26206166, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26206167, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26206168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26206169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26206170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26206171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26206172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26206173, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26206174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26206175, 'pht': 3726}}" where mtr_portfolio_id = 26206130 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26207741 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 = 26207741 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 = 26207741 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26207741 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 = 26207741 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 = 26207741 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26207741_26-08-2025_05_53_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26207741 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26207741_26-08-2025_05_53_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26207767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26207768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26207769, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26207770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26207771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26207772, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26207773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26207774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26207775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26207776, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26207777, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26207778, 'pht': 3726}}" where mtr_portfolio_id = 26207741 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26208035 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 = 26208035 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 = 26208035 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26208035 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 = 26208035 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 = 26208035 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26208035_26-08-2025_05_53_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26208035 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26208035_26-08-2025_05_53_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26208106, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26208107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26208108, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26208109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26208110, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26208111, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26208112, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26208113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26208114, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26208115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26208116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26208117, 'pht': 3726}}" where mtr_portfolio_id = 26208035 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26208394 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 = 26208394 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 = 26208394 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26208394 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 = 26208394 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 = 26208394 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26208394_26-08-2025_05_54_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26208394 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26208394_26-08-2025_05_54_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26208406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26208407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26208408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26208409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26208410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26208411, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26208412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26208413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26208414, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26208415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26208416, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26208417, 'pht': 3726}}" where mtr_portfolio_id = 26208394 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26209122 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 = 26209122 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 = 26209122 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26209122 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 = 26209122 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 = 26209122 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26209122_26-08-2025_05_54_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26209122 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26209122_26-08-2025_05_54_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26209183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26209184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26209185, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26209186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26209187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26209188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26209189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26209190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26209191, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26209192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26209193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26209194, 'pht': 3726}}" where mtr_portfolio_id = 26209122 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26209659 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 = 26209659 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 = 26209659 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26209659 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 = 26209659 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 = 26209659 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26209659_26-08-2025_05_55_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26209659 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26209659_26-08-2025_05_55_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26209662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26209663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26209664, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26209665, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26209666, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26209667, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26209668, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26209669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26209670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26209671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26209672, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26209673, 'pht': 3726}}" where mtr_portfolio_id = 26209659 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26210173 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 = 26210173 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 = 26210173 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26210173 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 = 26210173 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 = 26210173 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26210173_26-08-2025_05_55_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26210173 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26210173_26-08-2025_05_55_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26210183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26210184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26210185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26210186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26210187, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26210188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26210189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26210190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26210191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26210192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26210193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26210194, 'pht': 3726}}" where mtr_portfolio_id = 26210173 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26210690 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 = 26210690 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 = 26210690 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26210690 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 = 26210690 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 = 26210690 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26210690_26-08-2025_05_55_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26210690 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26210690_26-08-2025_05_55_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26210764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26210765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26210766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26210767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26210768, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26210769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26210770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26210771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26210772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26210773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26210774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26210775, 'pht': 3726}}" where mtr_portfolio_id = 26210690 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26210991 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 = 26210991 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 = 26210991 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26210991 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 = 26210991 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 = 26210991 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26210991_26-08-2025_05_56_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26210991 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26210991_26-08-2025_05_56_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26211021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26211022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26211023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26211024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26211025, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26211026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26211027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26211028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26211029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26211030, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26211031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26211032, 'pht': 3726}}" where mtr_portfolio_id = 26210991 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26211362 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 = 26211362 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 = 26211362 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26211362 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 = 26211362 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 = 26211362 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26211362_26-08-2025_05_57_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26211362 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26211362_26-08-2025_05_57_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26211403, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26211404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26211405, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26211406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26211407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26211408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26211409, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26211410, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26211411, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26211412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26211413, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26211414, 'pht': 3726}}" where mtr_portfolio_id = 26211362 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26211764 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 = 26211764 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 = 26211764 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26211764 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 = 26211764 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 = 26211764 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26211764_26-08-2025_05_58_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26211764 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26211764_26-08-2025_05_58_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26211799, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26211800, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26211801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26211802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26211803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26211804, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26211805, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26211806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26211807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26211808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26211809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26211810, 'pht': 3726}}" where mtr_portfolio_id = 26211764 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26212204 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 = 26212204 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 = 26212204 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26212204 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 = 26212204 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 = 26212204 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26212204_26-08-2025_05_58_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26212204 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26212204_26-08-2025_05_58_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26212214, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26212215, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26212216, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26212217, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26212218, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26212219, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26212220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26212221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26212222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26212223, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26212224, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26212225, 'pht': 3726}}" where mtr_portfolio_id = 26212204 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26212578 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 = 26212578 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 = 26212578 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26212578 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 = 26212578 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 = 26212578 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26212578_26-08-2025_05_59_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26212578 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26212578_26-08-2025_05_59_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26212609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26212610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26212611, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26212612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26212614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26212615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26212616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26212617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26212618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26212619, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26212620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26212621, 'pht': 3726}}" where mtr_portfolio_id = 26212578 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26213025 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 = 26213025 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 = 26213025 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26213025 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 = 26213025 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 = 26213025 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26213025_26-08-2025_05_59_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26213025 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26213025_26-08-2025_05_59_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26213058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26213059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26213060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26213061, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26213062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26213064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26213065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26213066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26213067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26213068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26213069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26213070, 'pht': 3726}}" where mtr_portfolio_id = 26213025 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26213610 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 = 26213610 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 = 26213610 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26213610 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 = 26213610 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 = 26213610 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26213610_26-08-2025_06_00_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26213610 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26213610_26-08-2025_06_00_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26213695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26213696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26213697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26213698, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26213699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26213700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26213701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26213702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26213703, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26213704, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26213705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26213706, 'pht': 3726}}" where mtr_portfolio_id = 26213610 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26214456 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 = 26214456 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 = 26214456 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26214456 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 = 26214456 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 = 26214456 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26214456_26-08-2025_06_01_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26214456 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26214456_26-08-2025_06_01_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26214473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26214474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26214475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26214476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26214477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26214478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26214479, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26214480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26214481, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26214482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26214483, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26214484, 'pht': 3726}}" where mtr_portfolio_id = 26214456 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26215064 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 = 26215064 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 = 26215064 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26215064 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 = 26215064 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 = 26215064 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26215064_26-08-2025_06_02_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26215064 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26215064_26-08-2025_06_02_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26215077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26215078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26215079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26215080, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26215081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26215082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26215083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26215084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26215085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26215086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26215087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26215088, 'pht': 3726}}" where mtr_portfolio_id = 26215064 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26215296 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 = 26215296 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 = 26215296 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26215296 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 = 26215296 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 = 26215296 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26215296_26-08-2025_06_02_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26215296 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26215296_26-08-2025_06_02_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26215305, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26215306, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26215307, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26215308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26215309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26215310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26215311, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26215312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26215313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26215314, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26215315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26215316, 'pht': 3726}}" where mtr_portfolio_id = 26215296 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26215672 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 = 26215672 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 = 26215672 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26215672 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 = 26215672 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 = 26215672 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26215672_26-08-2025_06_03_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26215672 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26215672_26-08-2025_06_03_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26215678, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26215679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26215680, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26215681, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26215682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26215683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26215684, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26215685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26215686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26215687, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26215688, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26215689, 'pht': 3726}}" where mtr_portfolio_id = 26215672 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26216189 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 = 26216189 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 = 26216189 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26216189 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 = 26216189 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 = 26216189 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26216189_26-08-2025_06_04_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26216189 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26216189_26-08-2025_06_04_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26216200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26216201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26216202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26216203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26216204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26216205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26216206, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26216207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26216208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26216209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26216210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26216211, 'pht': 3726}}" where mtr_portfolio_id = 26216189 and dashboard_run_id = 2182259 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26217241 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': 3596345, 'mtr_portfolio_id': 26217241, 'created_at': datetime.datetime(2025, 8, 26, 6, 5, 28), 'result': '0.06498694389471112', 'result_long': None, 'result_double': None}] Qualite : 0.06498694389471112 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26217241 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26217241_26-08-2025_06_05_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26217241 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26217241_26-08-2025_06_05_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26217246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26217247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26217248, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26217249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26217250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26217251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26217252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26217253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26217254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26217255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26217256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26217257, 'pht': 3726}}" where mtr_portfolio_id = 26217241 and dashboard_run_id = 2182259 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`=26217241 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14289562, 0.06498694389471112, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26217241_26-08-2025_06_05_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26217246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26217247, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26217248, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26217249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26217250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26217251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26217252, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26217253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26217254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26217255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26217256, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26217257, '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 = 26217655 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': 3596346, 'mtr_portfolio_id': 26217655, 'created_at': datetime.datetime(2025, 8, 26, 6, 5, 58), 'result': '0.10756502196152304', 'result_long': None, 'result_double': None}] Qualite : 0.10756502196152304 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26217655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26217655_26-08-2025_06_05_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26217655 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26217655_26-08-2025_06_05_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26217668, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26217669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26217671, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26217672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26217673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26217675, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26217676, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26217677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26217679, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26217680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26217681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26217682, 'pht': 3726}}" where mtr_portfolio_id = 26217655 and dashboard_run_id = 2182259 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`=26217655 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14289563, 0.10756502196152304, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26217655_26-08-2025_06_05_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26217668, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26217669, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26217671, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26217672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26217673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26217675, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26217676, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26217677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26217679, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26217680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26217681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26217682, '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 = 26217995 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 = 26217995 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 = 26217995 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26217995 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 = 26217995 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 = 26217995 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26217995_26-08-2025_00_36_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26217995 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26217995_26-08-2025_00_36_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26218004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26218005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26218006, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26218008, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26218009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26218010, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26218012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26218013, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26218014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26218015, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26218017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26218018, 'pht': 3726}}" where mtr_portfolio_id = 26217995 and dashboard_run_id = 2182259 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26190693,26190838,26191029,26191180,26191444,26191624,26191825,26192047,26192571,26192848,26193178,26193504,26194072,26194424,26195010,26196382,26196724,26197261,26198027,26198417,26198801,26199106,26199563,26199958,26200335,26202393,26202540,26202807,26203254,26203612,26203963,26204256,26204655,26205146,26205628,26206130,26207741,26208035,26208394,26209122,26209659,26210173,26210690,26210991,26211362,26211764,26212204,26212578,26213025,26213610,26214456,26215064,26215296,26215672,26216189,26217241,26217655,26217995) result : ((1379139978,), (1379140082,), (1379140083,), (1379140095,), (1379140096,), (1379140097,), (1379140101,), (1379140110,), (1379140121,), (1379140129,), (1379140135,), (1379140176,), (1379140233,), (1379140184,), (1379140231,), (1379140232,), (1379140250,), (1379140251,), (1379140305,), (1379140307,), (1379140328,), (1379140329,), (1379140330,), (1379140331,), (1379140332,), (1379140363,), (1379140364,), (1379140365,), (1379140366,), (1379140372,), (1379140373,), (1379140374,), (1379140386,), (1379140387,), (1379140388,), (1379140398,), (1379140399,), (1379140400,), (1379140401,), (1379140402,), (1379140438,), (1379140562,), (1379140563,), (1379140566,), (1379140576,), (1379140577,), (1379140578,), (1379140579,), (1379140587,), (1379140588,), (1379140589,), (1379140590,), (1379140604,), (1379140605,), (1379140606,), (1379140608,), (1379140609,), (1379140610,), (1379140620,), (1379140621,), (1379140622,), (1379140623,), (1379140631,), (1379140632,), (1379140633,), (1379140634,), (1379140643,), (1379140644,), (1379140645,), (1379140646,), (1379140654,), (1379140655,), (1379140656,), (1379140657,), (1379140658,), (1379140670,), (1379140671,), (1379140672,), (1379140673,), (1379140674,), (1379140675,), (1379140685,), (1379140686,), (1379140687,), (1379140688,), (1379140689,), (1379140692,), (1379140693,), (1379140694,), (1379140698,), (1379141304,), (1379141307,), (1379141310,), (1379141397,), (1379141391,), (1379141393,), (1379141395,), (1379141784,), (1379141786,), (1379141788,), (1379142124,), (1379142126,), (1379142369,), (1379142370,), (1379142371,), (1379142372,), (1379142373,), (1379143158,), (1379143159,), (1379143160,), (1379143161,), (1379143162,), (1379143376,), (1379143377,), (1379143378,), (1379143379,), (1379143394,), (1379143395,), (1379143396,), (1379143413,), (1379143414,), (1379143415,), (1379143416,), (1379143417,), (1379143431,), (1379143432,), (1379143433,), (1379143434,), (1379143435,), (1379143443,), (1379143444,), (1379143538,), (1379143561,), (1379143562,), (1379143575,), (1379143576,), (1379143577,), (1379143585,), (1379143586,), (1379143620,), (1379143632,), (1379143633,), (1379143638,), (1379143639,), (1379143640,), (1379143641,), (1379143652,), (1379143653,), (1379143654,), (1379143669,), (1379143670,), (1379143671,), (1379143672,), (1379143686,), (1379143687,), (1379143688,), (1379143689,), (1379143702,), (1379143703,), (1379143704,), (1379143718,), (1379143719,), (1379143720,), (1379143726,), (1379143727,), (1379143728,), (1379143743,), (1379143744,), (1379143762,), (1379143760,), (1379143761,), (1379143786,), (1379143787,), (1379143788,), (1379143809,), (1379143810,), (1379143811,), (1379143813,), (1379143835,), (1379143836,), (1379143837,), (1379143856,), (1379143857,), (1379143858,), (1379143859,), (1379143879,), (1379143880,), (1379143881,), (1379143896,), (1379143897,), (1379143913,), (1379143914,), (1379143915,), (1379143932,), (1379143933,), (1379143934,), (1379143935,), (1379143936,), (1379143958,), (1379143959,), (1379143960,), (1379144007,), (1379144008,), (1379144009,), (1379144010,), (1379144030,), (1379144031,), (1379144032,), (1379144049,), (1379144051,), (1379144052,), (1379144068,), (1379144069,), (1379144070,), (1379144086,), (1379144087,), (1379144088,), (1379144109,), (1379144104,), (1379144105,), (1379144106,), (1379144107,), (1379144108,), (1379144133,), (1379144134,), (1379144135,), (1379144156,), (1379144157,), (1379144158,), (1379144159,), (1379144178,), (1379144179,), (1379144180,), (1379144181,), (1379144182,), (1379144183,), (1379144197,), (1379144198,), (1379144199,), (1379144220,), (1379144221,), (1379144222,), (1379144223,), (1379144224,), (1379144255,), (1379144256,), (1379144257,), (1379144258,), (1379144281,), (1379144282,), (1379144283,), (1379144284,), (1379144285,), (1379144305,), (1379144306,), (1379144307,), (1379144308,), (1379144309,), (1379144329,), (1379144330,), (1379144331,), (1379144332,), (1379144351,), (1379144352,), (1379144353,), (1379144378,), (1379144379,), (1379144380,), (1379144381,), (1379144382,), (1379144413,), (1379144438,), (1379144440,), (1379144443,), (1379145063,), (1379145065,), (1379145066,), (1379145067,), (1379145077,), (1379145079,), (1379145080,), (1379145081,), (1379145260,), (1379145257,), (1379145258,), (1379145259,), (1379145558,), (1379145561,), (1379145563,), (1379145565,), (1379145909,), (1379145911,), (1379145913,), (1379146003,), (1379146004,), (1379146005,), (1379146270,), (1379146271,), (1379146272,), (1379146273,), (1379147042,), (1379147046,), (1379147050,), (1379147054,), (1379147058,), (1379147339,), (1379147340,), (1379147341,), (1379147342,), (1379147368,), (1379147369,), (1379147370,), (1379147371,), (1379147372,), (1379147415,), (1379147416,), (1379147437,), (1379147438,), (1379147439,), (1379147440,), (1379147488,), (1379147489,), (1379147490,), (1379147491,), (1379147492,), (1379147612,), (1379147613,), (1379147614,), (1379147684,), (1379147685,), (1379147686,), (1379147687,), (1379147735,), (1379147736,), (1379147737,), (1379147786,), (1379147787,), (1379148051,), (1379147834,), (1379148050,), (1379148310,), (1379148311,), (1379148312,), (1379148313,), (1379148347,), (1379148348,), (1379148349,), (1379148350,), (1379148351,), (1379148352,), (1379148387,), (1379148388,), (1379148389,), (1379148433,), (1379148434,), (1379148435,), (1379148436,), (1379148468,), (1379148469,), (1379148470,), (1379148471,), (1379148507,), (1379148508,), (1379148509,), (1379148510,), (1379148701,), (1379148704,), (1379149045,), (1379149183,), (1379149218,), (1379149219,), (1379149256,), (1379149257,), (1379149311,), (1379149313,), (1379149315,), (1379149317,), (1379149463,), (1379149461,), (1379149462,), (1379149497,), (1379149498,), (1379149534,), (1379149535,), (1379149572,), (1379149573,), (1379149610,), (1379149611,), (1379149612,), (1379149785,), (1379149787,), (1379149916,), (1379149918,), (1379150055,), (1379150286,), (1379150287,), (1379150369,), (1379150370,), (1379150491,), (1379150493,), (1379150496,), (1379150498,), (1379150611,), (1379150612,), (1379150613,), (1379150641,), (1379150642,), (1379150711,), (1379150712,), (1379150771,), (1379150769,), (1379150770,), (1379150882,), (1379150908,), (1379150909,), (1379150910,), (1379150911,), (1379150945,), (1379150946,), (1379150980,), (1379150981,), (1379150982,), (1379151024,), (1379151025,), (1379151026,), (1379151027,), (1379151028,), (1379151117,), (1379151118,), (1379151119,), (1379151120,), (1379151154,), (1379151155,), (1379151156,), (1379151157,), (1379151189,), (1379151190,), (1379151191,), (1379151192,), (1379151233,), (1379151234,), (1379151235,), (1379151236,), (1379151237,), (1379151238,), (1379151293,), (1379151294,), (1379151295,), (1379151296,), (1379151297,), (1379151329,), (1379151330,), (1379151359,), (1379151360,), (1379151361,), (1379151362,), (1379152188,), (1379152190,), (1379152193,), (1379152195,), (1379152414,), (1379152408,), (1379152411,), (1379153153,), (1379153156,), (1379153159,), (1379153162,), (1379153582,), (1379153583,), (1379153584,), (1379153585,), (1379153855,), (1379153856,), (1379153857,), (1379153858,), (1379153859,), (1379153895,), (1379153896,), (1379153962,), (1379154351,), (1379154353,), (1379154355,), (1379154744,), (1379154963,), (1379154964,), (1379154965,), (1379155271,), (1379155272,), (1379155358,), (1379155359,), (1379155547,), (1379155552,), (1379155557,), (1379155826,), (1379156152,), (1379156154,), (1379156156,), (1379156158,), (1379156353,), (1379156355,), (1379156631,), (1379156705,), (1379156707,), (1379156709,), (1379156862,), (1379156863,), (1379156963,), (1379156967,), (1379156968,), (1379156969,), (1379157003,), (1379157004,), (1379157005,), (1379157048,), (1379157049,), (1379157050,), (1379157241,), (1379157243,), (1379157245,), (1379157247,), (1379157249,), (1379157251,), (1379157443,), (1379157444,), (1379157445,), (1379157556,), (1379157557,), (1379157558,), (1379157559,), (1379157560,), (1379157584,), (1379157585,), (1379157586,), (1379157587,), (1379157603,), (1379157604,), (1379157605,), (1379157606,), (1379157732,), (1379157733,), (1379157749,), (1379157752,), (1379157776,), (1379157775,), (1379157877,), (1379157879,), (1379158027,), (1379158028,), (1379158202,), (1379158204,), (1379158317,), (1379158318,), (1379158319,), (1379158410,), (1379158411,), (1379158412,), (1379158413,), (1379158414,), (1379158454,), (1379158455,), (1379158456,), (1379158457,), (1379158530,), (1379158531,), (1379158532,), (1379158533,), (1379158534,), (1379158535,), (1379158592,), (1379158593,), (1379158594,), (1379158831,), (1379158832,), (1379158833,), (1379158834,), (1379158835,), (1379158857,), (1379158858,), (1379158859,), (1379158860,), (1379158861,), (1379158862,), (1379158941,), (1379158942,), (1379158943,), (1379159207,), (1379159208,), (1379159338,), (1379159339,), (1379159340,), (1379159391,), (1379159411,), (1379159425,), (1379159545,), (1379159677,), (1379159838,), (1379159839,), (1379159929,), (1379159930,), (1379160026,), (1379160049,), (1379160050,), (1379160218,), (1379160221,), (1379160224,), (1379160227,), (1379160230,), (1379160769,), (1379160770,), (1379160771,), (1379168293,), (1379168591,), (1379168738,), (1379168764,), (1379168765,), (1379168766,), (1379168767,), (1379168984,), (1379168986,), (1379169420,), (1379169937,), (1379169939,), (1379169941,), (1379170394,), (1379170396,), (1379170398,), (1379170739,), (1379170740,), (1379170741,), (1379171012,), (1379171015,), (1379171298,), (1379171299,), (1379171300,), (1379171301,), (1379171406,), (1379171407,), (1379171408,), (1379171443,), (1379171577,), (1379171579,), (1379171672,), (1379171697,), (1379171698,), (1379171699,), (1379171726,), (1379171727,), (1379171744,), (1379171745,), (1379171746,), (1379171747,), (1379171748,), (1379171841,), (1379171845,), (1379171850,), (1379171854,), (1379171961,), (1379171962,), (1379172079,), (1379172203,), (1379172490,), (1379172492,), (1379172665,), (1379172667,), (1379173087,), (1379173089,), (1379173091,), (1379173611,), (1379173616,), (1379173620,), (1379174343,), (1379174346,), (1379174348,), (1379174559,), (1379174831,), (1379176544,), (1379176547,), (1379176550,), (1379177485,), (1379177489,), (1379177493,), (1379177497,), (1379177501,), (1379178275,), (1379178277,), (1379178279,), (1379178509,), (1379178510,), (1379178880,), (1379178884,), (1379178887,), (1379178890,), (1379179040,), (1379179130,), (1379179283,), (1379179285,), (1379179287,), (1379179506,), (1379183154,), (1379183515,), (1379183517,), (1379183519,), (1379183521,), (1379183523,), (1379183696,), (1379183697,), (1379183843,), (1379183844,), (1379183919,), (1379183920,), (1379183921,), (1379183922,), (1379184013,), (1379184014,), (1379184015,), (1379184016,), (1379184017,), (1379184179,), (1379184180,), (1379184201,), (1379184202,), (1379184203,), (1379184308,), (1379184309,), (1379184310,), (1379184563,), (1379184565,), (1379184567,), (1379184569,), (1379185103,), (1379185105,), (1379185107,), (1379185109,), (1379185335,), (1379185332,), (1379185333,), (1379185334,), (1379185677,), (1379185679,), (1379185893,), (1379185895,), (1379185898,), (1379185900,), (1379185902,), (1379185970,), (1379185971,), (1379185972,), (1379185974,), (1379185977,), (1379186272,), (1379186273,), (1379186274,), (1379186275,), (1379186276,), (1379186328,), (1379186329,), (1379186330,), (1379186331,), (1379186471,), (1379186472,), (1379186473,), (1379186474,), (1379186715,), (1379186717,), (1379186719,), (1379186772,), (1379186773,), (1379186774,), (1379186812,), (1379186813,), (1379186814,), (1379186815,), (1379186839,), (1379186840,), (1379186841,), (1379186842,), (1379186843,), (1379186882,), (1379186886,), (1379186887,), (1379186888,), (1379186889,), (1379186890,), (1379186974,), (1379186975,), (1379186976,), (1379186977,), (1379186978,), (1379187541,), (1379187543,), (1379187545,), (1379187659,), (1379187662,), (1379187665,), (1379187668,), (1379188103,), (1379188099,), (1379188100,), (1379188102,), (1379188323,), (1379188325,), (1379188327,), (1379188329,), (1379188533,), (1379188534,), (1379188535,), (1379188536,), (1379188537,), (1379188538,), (1379188849,), (1379188851,), (1379188853,), (1379188855,), (1379188857,), (1379188859,), (1379189300,), (1379189303,), (1379189305,), (1379189307,), (1379189697,), (1379189699,), (1379189701,), (1379189703,), (1379189953,), (1379189955,), (1379189957,), (1379189959,), (1379189961,), (1379190473,), (1379190476,), (1379190479,), (1379191170,), (1379191172,), (1379191174,), (1379191176,), (1379191665,), (1379191667,), (1379191669,), (1379191884,), (1379191885,), (1379191886,), (1379191887,), (1379191888,), (1379192257,), (1379192258,), (1379192259,), (1379192460,), (1379192461,), (1379192462,), (1379192463,), (1379192464,), (1379192494,), (1379192495,), (1379192530,), (1379192531,), (1379192532,), (1379192534,), (1379192535,), (1379192567,), (1379192563,), (1379192564,), (1379192565,), (1379192566,), (1379192691,), (1379192693,), (1379192695,), (1379192697,), (1379192795,), (1379193600,), (1379193601,), (1379193602,), (1379193756,), (1379193758,), (1379193760,), (1379193836,), (1379193837,), (1379193838,), (1379193840,), (1379193841,), (1379193842,), (1379193904,), (1379193905,), (1379193906,), (1379193907,), (1379193908,), (1379193978,), (1379193979,), (1379193980,), (1379193981,), (1379193983,), (1379193985,), (1379194071,), (1379194072,), (1379194073,), (1379194273,), (1379194274,), (1379194275,), (1379194276,), (1379194277,), (1379194278,), (1379194352,), (1379194347,), (1379194348,), (1379194349,), (1379194350,), (1379194351,), (1379194386,), (1379194388,), (1379194389,), (1379194569,), (1379194571,), (1379194573,), (1379194575,), (1379194577,), (1379194579,), (1379194683,), (1379194684,), (1379194685,), (1379194686,), (1379194687,), (1379194688,), (1379194751,), (1379194753,), (1379194755,), (1379194999,), (1379195000,), (1379195001,), (1379195002,), (1379195003,), (1379195004,), (1379195021,), (1379195022,), (1379195023,), (1379195024,), (1379195025,), (1379195026,), (1379195211,), (1379195212,), (1379195213,), (1379195327,), (1379195328,), (1379195329,), (1379195330,), (1379195331,), (1379195332,), (1379195357,), (1379195358,), (1379195359,), (1379195360,), (1379195361,), (1379195501,), (1379195503,), (1379195505,), (1379195507,), (1379195509,), (1379195652,), (1379195653,), (1379195654,), (1379195655,), (1379195656,), (1379195764,), (1379195765,), (1379195766,), (1379195767,), (1379195768,), (1379195881,), (1379195882,), (1379195883,), (1379195884,), (1379195885,), (1379196015,), (1379196016,), (1379196017,), (1379196018,), (1379196087,), (1379196076,), (1379196079,), (1379196081,), (1379196083,), (1379196085,), (1379196414,), (1379196416,), (1379196418,), (1379196420,), (1379196696,), (1379196697,), (1379196698,), (1379196700,), (1379196701,), (1379196783,), (1379196784,), (1379196785,), (1379196786,), (1379196787,), (1379196788,), (1379196825,), (1379196826,), (1379196827,), (1379196829,), (1379196923,), (1379196925,), (1379197230,), (1379197235,), (1379197501,), (1379197503,), (1379198126,), (1379198333,), (1379198334,), (1379198690,), (1379199169,), (1379199196,), (1379199250,), (1379199247,), (1379199248,), (1379199249,), (1379200351,), (1379202407,), (1379202410,), (1379202414,), (1379202417,), (1379202900,), (1379202901,), (1379216881,), (1379216908,), (1379217125,), (1379217126,), (1379217127,), (1379217128,), (1379217271,), (1379217272,), (1379217273,), (1379217422,), (1379217424,), (1379217426,), (1379217613,), (1379217615,), (1379217617,), (1379217620,), (1379217622,), (1379217624,), (1379217758,), (1379217759,), (1379217761,), (1379217789,), (1379217817,), (1379217837,), (1379217902,), (1379217903,), (1379217904,), (1379217905,), (1379217949,), (1379217950,), (1379217951,), (1379217952,), (1379217987,), (1379217988,), (1379217989,), (1379217990,), (1379217991,), (1379217992,), (1379218292,), (1379218295,), (1379218298,), (1379218301,), (1379218304,), (1379218307,), (1379218643,), (1379218644,), (1379218645,), (1379218647,), (1379218648,), (1379218778,), (1379218779,), (1379219041,), (1379219043,), (1379219045,), (1379219047,), (1379219049,), (1379219240,), (1379219241,), (1379219242,), (1379219243,), (1379219300,), (1379219301,), (1379219302,), (1379219326,), (1379219441,), (1379219443,), (1379219445,), (1379220096,), (1379220099,), (1379220645,), (1379220643,), (1379221047,), (1379221050,), (1379221055,), (1379221656,), (1379221658,), (1379221660,), (1379221662,), (1379221887,), (1379221888,), (1379222200,), (1379222201,), (1379222477,), (1379222478,), (1379222479,), (1379222622,), (1379222623,), (1379222624,), (1379222672,), (1379222673,), (1379222674,), (1379222675,), (1379222676,), (1379222677,), (1379222773,), (1379222775,), (1379222777,), (1379222955,), (1379222957,), (1379223477,), (1379223480,), (1379223931,), (1379223933,), (1379223935,), (1379224590,), (1379224592,), (1379224594,), (1379224596,), (1379225019,), (1379225020,), (1379225021,), (1379225206,), (1379225202,), (1379225203,), (1379225204,), (1379225205,), (1379225302,), (1379225303,), (1379225304,), (1379225305,), (1379225451,), (1379225452,), (1379225453,), (1379225954,), (1379225957,), (1379225960,), (1379225963,), (1379226321,), (1379226323,), (1379226453,), (1379226454,), (1379226455,), (1379226494,), (1379226495,), (1379226496,), (1379226497,), (1379226498,), (1379226499,), (1379226540,), (1379226541,), (1379226542,), (1379226543,), (1379226544,), (1379226568,), (1379226569,), (1379226570,), (1379226571,), (1379226603,), (1379226604,), (1379226605,), (1379226606,), (1379226634,), (1379226635,), (1379226656,), (1379226657,), (1379226658,), (1379226728,), (1379226729,), (1379226757,), (1379226758,), (1379226759,), (1379226760,), (1379226795,), (1379226796,), (1379226918,), (1379226917,), (1379226991,), (1379226992,), (1379226993,), (1379226994,), (1379227088,), (1379227089,), (1379227140,), (1379227141,), (1379227142,), (1379227143,), (1379227144,), (1379227174,), (1379227175,), (1379227176,), (1379227177,), (1379227178,), (1379227209,), (1379227210,), (1379227211,), (1379227212,), (1379227259,), (1379227260,), (1379227261,), (1379227262,), (1379227392,), (1379227393,), (1379227394,), (1379227395,), (1379227396,), (1379227547,), (1379227548,), (1379227549,), (1379227593,), (1379227594,), (1379227595,), (1379227596,), (1379227665,), (1379227666,), (1379227668,), (1379227670,), (1379227717,), (1379227718,), (1379227719,), (1379227945,), (1379227946,), (1379227947,), (1379227948,), (1379228085,), (1379228086,), (1379228087,), (1379228088,), (1379228122,), (1379228123,), (1379228124,), (1379228125,), (1379228126,), (1379228145,), (1379228144,), (1379228388,), (1379228389,), (1379228390,), (1379228391,), (1379228392,), (1379228393,), (1379228494,), (1379228495,), (1379228497,), (1379228538,), (1379228539,), (1379228540,), (1379228541,), (1379228542,), (1379228543,), (1379228569,), (1379228570,), (1379228571,), (1379228572,), (1379228626,), (1379228627,), (1379228628,), (1379228629,), (1379228689,), (1379228690,), (1379228691,), (1379228692,), (1379228865,), (1379228866,), (1379228867,), (1379228901,), (1379228902,), (1379228903,), (1379228904,), (1379228905,), (1379228939,), (1379228940,), (1379228941,), (1379228942,), (1379228943,), (1379229009,), (1379229010,), (1379229037,), (1379229039,), (1379229041,), (1379229042,), (1379229043,), (1379229229,), (1379229231,), (1379229233,), (1379229235,), (1379229237,), (1379229793,), (1379229795,), (1379229797,), (1379229798,), (1379229943,), (1379229939,), (1379229940,), (1379229941,), (1379229942,), (1379230017,), (1379230018,), (1379230019,), (1379230020,), (1379230260,), (1379230262,), (1379230265,), (1379230267,), (1379230269,), (1379230271,), (1379230648,), (1379230650,), (1379230652,), (1379230654,), (1379230656,), (1379231043,), (1379231046,), (1379231049,), (1379231051,), (1379231658,), (1379231661,), (1379231664,), (1379231667,), (1379231670,), (1379231673,), (1379232147,), (1379232149,), (1379232152,), (1379232273,), (1379232274,), (1379232275,), (1379232276,), (1379232277,), (1379232278,), (1379232599,), (1379232600,), (1379232602,), (1379232603,), (1379232604,), (1379232736,), (1379232737,), (1379232738,), (1379232739,), (1379232794,), (1379232796,), (1379232797,), (1379232798,), (1379232799,), (1379232800,), (1379232846,), (1379232848,), (1379232850,), (1379233060,), (1379233061,), (1379233062,), (1379233063,), (1379233064,), (1379233213,), (1379233214,), (1379233215,), (1379233216,), (1379233217,), (1379233520,), (1379233522,), (1379233525,), (1379233527,), (1379233694,), (1379233690,), (1379233691,), (1379233692,), (1379233693,), (1379233776,), (1379233777,), (1379233778,), (1379233779,), (1379233780,), (1379233879,), (1379233880,), (1379233881,), (1379233882,), (1379233883,), (1379233884,), (1379234062,), (1379234148,), (1379234149,), (1379234150,), (1379234151,), (1379234152,), (1379234153,), (1379234573,), (1379234630,), (1379234631,), (1379234632,), (1379234633,), (1379234634,), (1379234635,), (1379234685,), (1379234686,), (1379234687,), (1379234688,), (1379234689,), (1379234716,), (1379234717,), (1379234718,), (1379234780,), (1379234781,), (1379234782,), (1379234783,), (1379234784,), (1379234808,), (1379234809,), (1379234810,), (1379234811,), (1379234812,), (1379235072,), (1379235074,), (1379235076,), (1379235078,), (1379235080,), (1379235476,), (1379235478,), (1379235518,), (1379235519,), (1379235520,), (1379235521,), (1379235611,), (1379235612,), (1379235614,), (1379235615,), (1379235616,), (1379235617,), (1379235683,), (1379235681,), (1379235682,), (1379235814,), (1379235893,), (1379235894,), (1379235895,), (1379235939,), (1379235940,), (1379235941,), (1379235942,), (1379235943,), (1379235980,), (1379235981,), (1379235982,), (1379235983,), (1379236020,), (1379236021,), (1379236022,), (1379236023,), (1379236191,), (1379236194,), (1379236197,), (1379236525,), (1379236527,), (1379236529,), (1379236531,), (1379236533,), (1379236690,), (1379236692,), (1379236694,), (1379236696,), (1379236698,), (1379236939,), (1379236940,), (1379236941,), (1379236942,), (1379236977,), (1379236978,), (1379236979,), (1379237021,), (1379237026,), (1379237028,), (1379237029,), (1379237030,), (1379237031,), (1379237127,), (1379237129,), (1379237131,), (1379237467,), (1379237468,), (1379237469,), (1379237470,), (1379237471,), (1379237712,), (1379237715,), (1379237718,), (1379237720,), (1379237722,), (1379237979,), (1379237980,), (1379237981,), (1379237982,), (1379238090,), (1379238086,), (1379238087,), (1379238088,), (1379238089,), (1379238113,), (1379238114,), (1379238115,), (1379238116,), (1379238117,), (1379238173,), (1379238174,), (1379238175,), (1379238476,), (1379238478,), (1379238480,), (1379238482,), (1379238710,), (1379238802,), (1379238804,), (1379238806,), (1379239300,), (1379239302,), (1379239304,), (1379239306,), (1379239308,), (1379239570,), (1379239571,), (1379239572,), (1379239573,), (1379239574,), (1379239606,), (1379239607,), (1379239608,), (1379239609,), (1379239857,), (1379239858,), (1379239859,), (1379239860,), (1379239861,), (1379239862,), (1379239890,), (1379239891,), (1379239892,), (1379239893,), (1379239894,), (1379239895,), (1379239931,), (1379239932,), (1379239933,), (1379239934,), (1379240019,), (1379240021,), (1379240022,), (1379240023,), (1379240024,), (1379240025,), (1379240357,), (1379240359,), (1379240361,), (1379240363,), (1379240851,), (1379240854,), (1379240856,), (1379240858,), (1379240975,), (1379240971,), (1379240972,), (1379240973,), (1379240974,), (1379241392,), (1379241395,), (1379241398,), (1379241862,), (1379241865,), (1379241866,), (1379241868,), (1379241871,), (1379242147,), (1379242148,), (1379242149,), (1379242150,), (1379242151,), (1379242152,), (1379242541,), (1379242543,), (1379242545,), (1379243072,), (1379243075,), (1379243078,), (1379243081,), (1379243084,), (1379243087,), (1379243484,), (1379243485,), (1379243486,), (1379243487,), (1379243488,), (1379243489,), (1379243877,), (1379243879,), (1379243881,), (1379244051,), (1379246285,), (1379249919,), (1379254782,), (1379254783,), (1379255063,), (1379255065,), (1379255374,), (1379255376,), (1379255379,), (1379255381,), (1379256002,), (1379256227,), (1379256242,), (1379256243,), (1379256244,), (1379256245,), (1379256529,), (1379256531,), (1379256533,), (1379256535,), (1379256982,), (1379256983,), (1379256984,), (1379256986,), (1379256987,), (1379256988,), (1379257350,), (1379257347,), (1379257747,), (1379257748,), (1379257749,), (1379257750,), (1379257751,), (1379257912,), (1379257913,), (1379257914,), (1379257915,), (1379258020,), (1379258024,), (1379258025,), (1379258387,), (1379258390,), (1379259705,), (1379259707,), (1379259763,), (1379259764,), (1379259765,), (1379259766,), (1379259802,), (1379259803,), (1379259852,), (1379259853,), (1379259854,), (1379259855,), (1379259856,), (1379259857,), (1379259886,), (1379259887,), (1379259888,), (1379259889,), (1379259890,), (1379259891,), (1379260007,), (1379260009,), (1379260011,), (1379260013,), (1379260208,), (1379260209,), (1379260210,), (1379260211,), (1379260212,), (1379260213,), (1379260249,), (1379260250,), (1379260251,), (1379260280,), (1379260277,), (1379260278,), (1379260279,), (1379260550,), (1379260552,), (1379260554,), (1379260556,), (1379260710,), (1379260712,), (1379260714,), (1379260719,), (1379260839,), (1379260840,), (1379260841,), (1379260842,), (1379260843,), (1379260923,), (1379260924,), (1379260925,), (1379260926,), (1379260927,), (1379261039,), (1379261163,), (1379261938,), (1379261939,), (1379261940,), (1379262072,), (1379262073,), (1379262074,), (1379262075,), (1379262076,), (1379262137,), (1379262138,), (1379262139,), (1379262140,), (1379262141,), (1379262177,), (1379262178,), (1379262179,), (1379265469,), (1379265463,), (1379265465,), (1379265466,), (1379265467,), (1379265468,), (1379265559,), (1379265560,), (1379265561,), (1379265562,), (1379265563,), (1379265564,), (1379266154,), (1379266156,), (1379266158,), (1379266160,), (1379266162,), (1379266164,), (1379266612,), (1379266615,), (1379266617,), (1379266619,), (1379266791,), (1379266792,), (1379266793,), (1379266794,), (1379266795,), (1379266827,), (1379266828,), (1379266829,), (1379267076,), (1379267078,), (1379267080,), (1379267082,), (1379267084,), (1379267247,), (1379267248,), (1379267249,), (1379267250,), (1379267450,), (1379267453,), (1379267456,), (1379267459,), (1379267462,), (1379267465,), (1379267737,), (1379267738,), (1379267739,), (1379267740,), (1379267741,), (1379267832,), (1379267833,), (1379267834,), (1379267962,), (1379267963,), (1379267964,), (1379267965,), (1379267966,), (1379268229,), (1379268230,), (1379268231,), (1379268232,), (1379268234,), (1379268268,), (1379268266,), (1379268267,), (1379268380,), (1379268381,), (1379268382,), (1379268383,), (1379268384,), (1379268579,), (1379268580,), (1379268581,), (1379268582,), (1379268730,), (1379268732,), (1379269543,), (1379269544,), (1379270014,), (1379270174,), (1379270175,), (1379270176,), (1379270177,), (1379270178,), (1379270290,), (1379270291,), (1379270292,), (1379270293,), (1379270430,), (1379270432,), (1379270434,), (1379270435,), (1379270436,), (1379270437,), (1379270575,), (1379270576,), (1379270577,), (1379271344,), (1379271343,), (1379271516,), (1379271518,), (1379271520,), (1379271522,), (1379271666,), (1379271668,), (1379271670,), (1379271672,), (1379271674,), (1379272177,), (1379273756,), (1379273761,), (1379273763,), (1379273764,), (1379273765,), (1379273843,), (1379273844,), (1379273845,), (1379273846,), (1379274068,), (1379274069,), (1379274070,), (1379274071,), (1379274264,), (1379274265,), (1379274266,), (1379274426,), (1379274514,), (1379274516,), (1379274517,), (1379274518,), (1379274720,), (1379274721,), (1379274722,), (1379274723,), (1379274724,), (1379274725,), (1379274895,), (1379275044,), (1379275047,), (1379275050,), (1379275053,), (1379275056,), (1379275059,), (1379275317,), (1379275322,), (1379275328,), (1379275333,), (1379275340,), (1379275342,), (1379275409,), (1379275411,), (1379275413,), (1379275415,), (1379275417,), (1379275500,), (1379275501,), (1379275502,), (1379275503,), (1379275504,), (1379275543,), (1379275544,), (1379275545,), (1379275597,), (1379275598,), (1379275599,), (1379275600,), (1379275648,), (1379275649,), (1379275650,), (1379275651,), (1379275782,), (1379275783,), (1379275784,), (1379275785,), (1379275786,), (1379275962,), (1379275964,), (1379275966,), (1379276206,), (1379276207,), (1379276208,), (1379276209,), (1379276210,), (1379276240,), (1379276241,), (1379276242,), (1379276243,), (1379276244,), (1379276264,), (1379276265,), (1379276266,), (1379276267,), (1379276268,), (1379276316,), (1379276317,), (1379276318,), (1379276319,), (1379276689,), (1379276691,), (1379276693,), (1379276695,), (1379276697,), (1379276749,), (1379276751,), (1379276753,), (1379277131,), (1379277127,), (1379277129,), (1379277761,), (1379277764,), (1379277767,), (1379277770,), (1379277773,), (1379278291,), (1379278294,), (1379278297,), (1379278300,), (1379278303,), (1379278731,), (1379278737,), (1379278742,), (1379279407,), (1379279408,), (1379279409,), (1379279410,), (1379279411,), (1379279413,), (1379279631,), (1379279632,), (1379279633,), (1379279634,), (1379279635,), (1379279636,), (1379279718,), (1379279719,), (1379279720,), (1379279721,), (1379279758,), (1379279759,), (1379279760,), (1379279761,), (1379279762,), (1379279829,), (1379279830,), (1379279831,), (1379279832,), (1379279833,), (1379279869,), (1379279870,), (1379279871,), (1379279872,), (1379279910,), (1379279911,), (1379279913,), (1379279914,), (1379279915,), (1379279916,), (1379279947,), (1379279948,), (1379279949,), (1379280001,), (1379280002,), (1379280003,), (1379280004,), (1379280271,), (1379280273,), (1379280276,), (1379280278,), (1379280280,), (1379280283,), (1379280423,), (1379280424,), (1379280425,), (1379280426,), (1379280427,), (1379280486,), (1379280483,), (1379280484,), (1379280599,), (1379280600,), (1379280601,), (1379280602,), (1379280640,), (1379280641,), (1379280642,), (1379280643,), (1379280644,), (1379280679,), (1379280680,), (1379280681,), (1379280682,), (1379280750,), (1379280751,), (1379280752,), (1379280753,), (1379280807,), (1379280808,), (1379280809,), (1379280810,), (1379280811,), (1379281164,), (1379281166,), (1379281168,), (1379281170,), (1379281314,), (1379281316,), (1379281389,), (1379281390,), (1379281391,), (1379281392,), (1379281643,), (1379281645,), (1379281647,), (1379281649,), (1379281651,), (1379281835,), (1379281836,), (1379281837,), (1379281838,), (1379281839,), (1379281891,), (1379281892,), (1379281893,), (1379281894,), (1379281942,), (1379281943,), (1379281944,), (1379281945,), (1379281946,), (1379281947,), (1379282351,), (1379282353,), (1379282355,), (1379282357,), (1379282359,), (1379282553,), (1379282555,), (1379282557,), (1379282776,), (1379282771,), (1379282772,), (1379282773,), (1379282774,), (1379282775,), (1379282949,), (1379282951,), (1379282953,), (1379282955,), (1379282957,), (1379283031,), (1379283032,), (1379283078,), (1379283079,), (1379283080,), (1379283081,), (1379283121,), (1379283122,), (1379283123,), (1379283124,), (1379283125,), (1379283159,), (1379283160,), (1379283161,), (1379283162,), (1379283163,), (1379283210,), (1379283211,), (1379283212,), (1379283495,), (1379283497,), (1379283499,), (1379283501,), (1379283503,), (1379283505,), (1379283647,), (1379283671,), (1379283672,), (1379283673,), (1379283674,), (1379283675,), (1379283735,), (1379283736,), (1379283737,), (1379283738,), (1379283739,), (1379283989,), (1379283991,), (1379283993,), (1379283995,), (1379283997,), (1379284166,), (1379284167,), (1379284169,), (1379284170,), (1379284334,), (1379284335,), (1379284336,), (1379284542,), (1379284543,), (1379284545,), (1379284546,), (1379284547,), (1379284548,), (1379284734,), (1379284735,), (1379284951,), (1379284936,), (1379284939,), (1379284942,), (1379284945,), (1379284948,), (1379285334,), (1379285337,), (1379285340,), (1379285343,), (1379285346,), (1379285349,), (1379285558,), (1379285584,), (1379285586,), (1379285587,), (1379285588,), (1379285652,), (1379285653,), (1379285654,), (1379285655,), (1379285656,), (1379285908,), (1379285909,), (1379285910,), (1379285912,), (1379285914,), (1379286180,), (1379286182,), (1379286184,), (1379286187,), (1379286513,), (1379286515,), (1379286518,), (1379286520,), (1379286522,), (1379286699,), (1379286700,), (1379286702,), (1379286704,), (1379286806,), (1379286808,), (1379286811,), (1379287126,), (1379287127,), (1379287128,), (1379287129,), (1379287186,), (1379287187,), (1379287188,), (1379287189,), (1379287190,), (1379287284,), (1379287285,), (1379287286,), (1379287287,), (1379287319,), (1379287320,), (1379287321,), (1379287322,), (1379287589,), (1379287591,), (1379287594,), (1379287596,), (1379287598,), (1379287681,), (1379287684,), (1379287687,), (1379288536,), (1379288524,), (1379288527,), (1379288530,), (1379288533,), (1379289389,), (1379289393,), (1379289396,), (1379289397,), (1379289739,), (1379289741,), (1379289743,), (1379289745,), (1379289889,), (1379289890,), (1379289891,), (1379289892,), (1379290300,), (1379290303,), (1379290306,), (1379290309,), (1379290312,), (1379290315,), (1379290905,), (1379290907,), (1379290909,), (1379291279,), (1379291281,), (1379291283,), (1379291285,), (1379291287,), (1379291289,), (1379291545,), (1379291546,), (1379291547,), (1379291548,), (1379291549,), (1379291722,), (1379291727,), (1379291946,), (1379291948,), (1379291950,), (1379291952,), (1379291954,), (1379291956,), (1379292609,), (1379292611,), (1379292613,), (1379292615,), (1379292617,), (1379293290,), (1379293292,), (1379293294,), (1379293296,), (1379293298,), (1379293300,), (1379293323,), (1379293325,), (1379293326,), (1379293327,), (1379293478,), (1379293481,), (1379293484,), (1379293486,), (1379293488,), (1379293490,), (1379293741,), (1379293743,), (1379293745,), (1379293748,), (1379294366,), (1379294270,), (1379294360,), (1379294362,), (1379294364,), (1379294883,), (1379294885,), (1379294887,), (1379294889,), (1379294891,), (1379295034,), (1379295041,), (1379295047,), (1379295053,), (1379295362,), (1379295364,), (1379295366,), (1379295368,), (1379295370,), (1379295589,), (1379295590,), (1379295591,), (1379295634,), (1379295635,), (1379295636,), (1379295637,), (1379295803,), (1379296020,), (1379296073,), (1379296074,), (1379296075,), (1379296198,), (1379296199,), (1379296200,), (1379296201,), (1379296387,), (1379296390,), (1379296878,), (1379296881,), (1379296885,), (1379297147,), (1379297149,), (1379297151,), (1379297153,), (1379297155,), (1379297210,), (1379297211,), (1379297212,), (1379297213,), (1379297469,), (1379297471,), (1379297473,), (1379297475,), (1379297602,), (1379297597,), (1379297598,), (1379297599,), (1379297600,), (1379297601,), (1379297735,), (1379297737,), (1379297739,), (1379297741,), (1379297844,), (1379297845,), (1379297846,), (1379297847,), (1379297911,), (1379297912,), (1379297913,), (1379297914,), (1379297916,), (1379297918,), (1379297947,), (1379297948,), (1379297949,), (1379297950,), (1379298093,), (1379298094,), (1379298095,), (1379298096,), (1379298097,), (1379298419,), (1379298421,), (1379298423,), (1379298425,), (1379298615,), (1379298616,), (1379298617,), (1379298619,), (1379298620,), (1379298889,), (1379299304,), (1379302176,), (1379302206,), (1379302207,), (1379302524,), (1379303155,), (1379303637,), (1379303884,), (1379303886,), (1379304823,), (1379304825,), (1379305552,), (1379307436,), (1379307941,), (1379307942,), (1379307992,), (1379307993,), (1379308149,), (1379308164,), (1379308375,), (1379308713,), (1379308715,), (1379308717,), (1379309716,), (1379309565,), (1379309715,), (1379309762,), (1379309871,), (1379310089,), (1379310094,), (1379310632,), (1379310689,), (1379310782,), (1379310783,), (1379311111,), (1379311109,), (1379311545,), (1379311713,), (1379311791,), (1379312019,), (1379312021,), (1379312218,), (1379312257,), (1379312469,), (1379312470,), (1379312866,), (1379313598,), (1379314439,), (1379314440,), (1379314441,), (1379314790,), (1379314814,), (1379314815,), (1379315212,), (1379315214,), (1379318818,), (1379323368,), (1379325341,), (1379325936,), (1379325938,), (1379326396,), (1379326458,), (1379326484,), (1379327186,), (1379330497,), (1379331929,), (1379332183,), (1379332857,), (1379332886,), (1379332963,), (1379332964,), (1379333817,), (1379334707,), (1379334709,), (1379336470,), (1379335912,), (1379336590,), (1379336593,), (1379336599,), (1379336605,), (1379339391,), (1379340875,), (1379342655,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'25082025': {'nb_upload': 11, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26217655]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1379336470, 1379334709, 1379334707, 1379333817, 1379332964, 1379332963, 1379332886, 1379332857, 1379332183, 1379331929, 1379330497] map_info['map_portfolio_photo'] : {26217655: [1379336470, 1379334709, 1379334707, 1379333817, 1379332964, 1379332963, 1379332886, 1379332857, 1379332183, 1379331929, 1379330497]} final : True mtd_id 4302 list_pids : [1379336470, 1379334709, 1379334707, 1379333817, 1379332964, 1379332963, 1379332886, 1379332857, 1379332183, 1379331929, 1379330497] Looping around the photos to save general results len do output : 1 /26217655Didn'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, '3596346') ('4302', '26217655', '1379336470', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379334709', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379334707', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379333817', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379332964', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379332963', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379332886', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379332857', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379332183', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379331929', None, None, None, None, None, '3596346') ('4302', None, None, None, None, None, None, None, '3596346') ('4302', '26217655', '1379330497', None, None, None, None, None, '3596346') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '26217655', 'None', None, None, None, None, '3596346'), ('4302', '26217655', '1379336470', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379334709', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379334707', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379333817', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379332964', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379332963', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379332886', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379332857', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379332183', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379331929', None, None, None, None, None, '3596346'), ('4302', '26217655', '1379330497', None, None, None, None, None, '3596346')] time used for this insertion : 0.11557984352111816 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.5101099014282227 time spend to save output : 0.11582207679748535 total time spend for step 5 : 3.625931978225708 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 (3596346) 2.20user 2.49system 0:10.35elapsed 45%CPU (0avgtext+0avgdata 162708maxresident)k 248inputs+9928outputs (0major+72378minor)pagefaults 0swaps