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 : 2404481 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 (3558844) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3558844) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26085320 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3558844'] with mtr_portfolio_ids : ['26085320'] and first list_photo_ids : [] new path : /proc/2404481/ Name: python3 Umask: 0002 State: R (running) Tgid: 2404481 Ngid: 0 Pid: 2404481 PPid: 2404480 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2404481 NSpid: 2404481 NSpgid: 2403094 NSsid: 2403094 VmPeak: 1107248 kB VmSize: 1107248 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98316 kB VmRSS: 98316 kB RssAnon: 60172 kB RssFile: 38144 kB RssShmem: 0 kB VmData: 866000 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 628 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: 57 nonvoluntary_ctxt_switches: 91 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2404481', 'Ngid': '0', 'Pid': '2404481', 'PPid': '2404480', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2404481', 'NSpid': '2404481', 'NSpgid': '2403094', 'NSsid': '2403094', 'VmPeak': '1107248 kB', 'VmSize': '1107248 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98316 kB', 'VmRSS': '98316 kB', 'RssAnon': '60172 kB', 'RssFile': '38144 kB', 'RssShmem': '0 kB', 'VmData': '866000 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '628 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': '57', 'nonvoluntary_ctxt_switches': '91'} ('datou_batch_current', '2404481', '1107248', '0', '1107248', '866000', '98316', b'', 'marlene', '3558844') 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 (26085320) 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 (3558844 ) ) 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 (26085320) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1378077458, 'portfolio_id': 26085320}, {'photo_id': 1378077399, 'portfolio_id': 26085320}, {'photo_id': 1378077347, 'portfolio_id': 26085320}, {'photo_id': 1378077297, 'portfolio_id': 26085320}, {'photo_id': 1378077012, 'portfolio_id': 26085320}, {'photo_id': 1378076981, 'portfolio_id': 26085320}, {'photo_id': 1378076934, 'portfolio_id': 26085320}, {'photo_id': 1378076885, 'portfolio_id': 26085320}, {'photo_id': 1378076854, 'portfolio_id': 26085320}, {'photo_id': 1378076826, 'portfolio_id': 26085320}, {'photo_id': 1378076214, 'portfolio_id': 26085320}, {'photo_id': 1378076189, 'portfolio_id': 26085320}, {'photo_id': 1378076163, 'portfolio_id': 26085320}, {'photo_id': 1378075796, 'portfolio_id': 26085320}, {'photo_id': 1378075770, 'portfolio_id': 26085320}, {'photo_id': 1378075745, 'portfolio_id': 26085320}, {'photo_id': 1378075712, 'portfolio_id': 26085320}] map_portfolio_id_photo_id: {26085320: [1378077458, 1378077399, 1378077347, 1378077297, 1378077012, 1378076981, 1378076934, 1378076885, 1378076854, 1378076826, 1378076214, 1378076189, 1378076163, 1378075796, 1378075770, 1378075745, 1378075712]} ##### 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.01483297348022461 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Aug 20 16:34:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26085320) 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 : 26085320 get user id for portfolio 26085320 get sub ptf for main ptf 26085320, type 3726 and hashtags ['papier', 'metal', 'Teint_Dans_La_Masse', 'cartonnette', 'flou', 'Carton_gris', 'kraft', 'Carton_brun', 'plastique', 'autre_refus', 'environnement', '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`=26085320 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','metal','Teint_Dans_La_Masse','cartonnette','flou','Carton_gris','kraft','Carton_brun','plastique','autre_refus','environnement','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`=26085320 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','metal','Teint_Dans_La_Masse','cartonnette','flou','Carton_gris','kraft','Carton_brun','plastique','autre_refus','environnement','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 26085320, 'sub_port_id': 26085403, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570411, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 29)}, 'autre_refus': {'main_port_id': 26085320, 'sub_port_id': 26085404, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570412, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 29)}, 'plastique': {'main_port_id': 26085320, 'sub_port_id': 26085405, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570413, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 29)}, 'cartonnette': {'main_port_id': 26085320, 'sub_port_id': 26085406, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570414, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 26085320, 'sub_port_id': 26085407, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570415, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 29)}, 'metal': {'main_port_id': 26085320, 'sub_port_id': 26085408, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570416, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 29)}, 'mal_croppe': {'main_port_id': 26085320, 'sub_port_id': 26085409, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570417, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 29)}, 'Carton_gris': {'main_port_id': 26085320, 'sub_port_id': 26085410, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570418, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 29)}, 'flou': {'main_port_id': 26085320, 'sub_port_id': 26085411, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570419, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 29)}, 'Carton_brun': {'main_port_id': 26085320, 'sub_port_id': 26085412, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570420, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 29)}, 'papier': {'main_port_id': 26085320, 'sub_port_id': 26085413, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570421, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 29)}, 'environnement': {'main_port_id': 26085320, 'sub_port_id': 26085414, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570422, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26085403 , 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=26085320 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 (26085403) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26085320) result : ((1378075712,), (1378075745,), (1378075770,), (1378075796,), (1378076163,), (1378076189,), (1378076214,), (1378076826,), (1378076854,), (1378076885,), (1378076934,), (1378076981,), (1378077012,), (1378077297,), (1378077347,), (1378077399,), (1378077458,)) 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 26085404 , 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=26085320 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 (26085404) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26085320) result : ((1378075712,), (1378075745,), (1378075770,), (1378075796,), (1378076163,), (1378076189,), (1378076214,), (1378076826,), (1378076854,), (1378076885,), (1378076934,), (1378076981,), (1378077012,), (1378077297,), (1378077347,), (1378077399,), (1378077458,)) 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 26085405 , 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=26085320 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 (26085405) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26085320) result : ((1378075712,), (1378075745,), (1378075770,), (1378075796,), (1378076163,), (1378076189,), (1378076214,), (1378076826,), (1378076854,), (1378076885,), (1378076934,), (1378076981,), (1378077012,), (1378077297,), (1378077347,), (1378077399,), (1378077458,)) 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 26085406 , 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=26085320 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 (26085406) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26085320) result : ((1378075712,), (1378075745,), (1378075770,), (1378075796,), (1378076163,), (1378076189,), (1378076214,), (1378076826,), (1378076854,), (1378076885,), (1378076934,), (1378076981,), (1378077012,), (1378077297,), (1378077347,), (1378077399,), (1378077458,)) 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 26085407 , 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=26085320 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 (26085407) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26085320) result : ((1378075712,), (1378075745,), (1378075770,), (1378075796,), (1378076163,), (1378076189,), (1378076214,), (1378076826,), (1378076854,), (1378076885,), (1378076934,), (1378076981,), (1378077012,), (1378077297,), (1378077347,), (1378077399,), (1378077458,)) 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 26085408 , 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=26085320 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 (26085408) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26085320) result : ((1378075712,), (1378075745,), (1378075770,), (1378075796,), (1378076163,), (1378076189,), (1378076214,), (1378076826,), (1378076854,), (1378076885,), (1378076934,), (1378076981,), (1378077012,), (1378077297,), (1378077347,), (1378077399,), (1378077458,)) 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 26085409 , 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=26085320 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 (26085409) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26085320) result : ((1378075712,), (1378075745,), (1378075770,), (1378075796,), (1378076163,), (1378076189,), (1378076214,), (1378076826,), (1378076854,), (1378076885,), (1378076934,), (1378076981,), (1378077012,), (1378077297,), (1378077347,), (1378077399,), (1378077458,)) 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 26085410 , 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=26085320 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 (26085410) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26085320) result : ((1378075712,), (1378075745,), (1378075770,), (1378075796,), (1378076163,), (1378076189,), (1378076214,), (1378076826,), (1378076854,), (1378076885,), (1378076934,), (1378076981,), (1378077012,), (1378077297,), (1378077347,), (1378077399,), (1378077458,)) 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 26085411 , 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=26085320 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 (26085411) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26085320) result : ((1378075712,), (1378075745,), (1378075770,), (1378075796,), (1378076163,), (1378076189,), (1378076214,), (1378076826,), (1378076854,), (1378076885,), (1378076934,), (1378076981,), (1378077012,), (1378077297,), (1378077347,), (1378077399,), (1378077458,)) 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 26085412 , 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=26085320 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 (26085412) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26085320) result : ((1378075712,), (1378075745,), (1378075770,), (1378075796,), (1378076163,), (1378076189,), (1378076214,), (1378076826,), (1378076854,), (1378076885,), (1378076934,), (1378076981,), (1378077012,), (1378077297,), (1378077347,), (1378077399,), (1378077458,)) 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 26085413 , 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=26085320 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 (26085413) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26085320) result : ((1378075712,), (1378075745,), (1378075770,), (1378075796,), (1378076163,), (1378076189,), (1378076214,), (1378076826,), (1378076854,), (1378076885,), (1378076934,), (1378076981,), (1378077012,), (1378077297,), (1378077347,), (1378077399,), (1378077458,)) 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 26085414 , 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=26085320 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 (26085414) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26085320) result : ((1378075712,), (1378075745,), (1378075770,), (1378075796,), (1378076163,), (1378076189,), (1378076214,), (1378076826,), (1378076854,), (1378076885,), (1378076934,), (1378076981,), (1378077012,), (1378077297,), (1378077347,), (1378077399,), (1378077458,)) 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`=26085320 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','metal','Teint_Dans_La_Masse','cartonnette','flou','Carton_gris','kraft','Carton_brun','plastique','autre_refus','environnement','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`=26085320 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','metal','Teint_Dans_La_Masse','cartonnette','flou','Carton_gris','kraft','Carton_brun','plastique','autre_refus','environnement','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 26085320, 'sub_port_id': 26085416, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570423, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 31)}, 'autre_refus': {'main_port_id': 26085320, 'sub_port_id': 26085417, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570424, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 31)}, 'plastique': {'main_port_id': 26085320, 'sub_port_id': 26085418, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570425, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 31)}, 'cartonnette': {'main_port_id': 26085320, 'sub_port_id': 26085419, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570426, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 31)}, 'Teint_Dans_La_Masse': {'main_port_id': 26085320, 'sub_port_id': 26085420, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570427, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 31)}, 'metal': {'main_port_id': 26085320, 'sub_port_id': 26085421, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570428, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 31)}, 'mal_croppe': {'main_port_id': 26085320, 'sub_port_id': 26085422, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570429, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 31)}, 'Carton_gris': {'main_port_id': 26085320, 'sub_port_id': 26085423, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570430, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 31)}, 'flou': {'main_port_id': 26085320, 'sub_port_id': 26085424, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570431, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 31)}, 'Carton_brun': {'main_port_id': 26085320, 'sub_port_id': 26085425, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570432, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 31)}, 'papier': {'main_port_id': 26085320, 'sub_port_id': 26085426, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570433, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 31)}, 'environnement': {'main_port_id': 26085320, 'sub_port_id': 26085427, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17570434, 'last_updated_at': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_desc': datetime.datetime(2025, 8, 20, 16, 33, 31), 'last_updated_at_asc': datetime.datetime(2025, 8, 20, 16, 33, 31)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26085416,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26085403 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26085417,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26085404 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26085418,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26085405 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26085419,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26085406 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26085420,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26085407 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26085421,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26085408 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26085422,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26085409 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26085423,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26085410 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26085424,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26085411 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26085425,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26085412 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26085426,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26085413 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26085427,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26085414 lien utilise dans velours : https://www.fotonower.com/velours/26085416,26085417,26085418,26085419,26085420,26085421,26085422,26085423,26085424,26085425,26085426,26085427?tags=kraft,autre_refus,plastique,cartonnette,Teint_Dans_La_Masse,metal,mal_croppe,Carton_gris,flou,Carton_brun,papier,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26085320]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1378077458, 1378077399, 1378077347, 1378077297, 1378077012, 1378076981, 1378076934, 1378076885, 1378076854, 1378076826] map_info['map_portfolio_photo'] : {26085320: [1378077458, 1378077399, 1378077347, 1378077297, 1378077012, 1378076981, 1378076934, 1378076885, 1378076854, 1378076826, 1378076214, 1378076189, 1378076163, 1378075796, 1378075770, 1378075745, 1378075712]} final : False mtd_id 4302 list_pids : [1378077458, 1378077399, 1378077347, 1378077297, 1378077012, 1378076981, 1378076934, 1378076885, 1378076854, 1378076826] Looping around the photos to save general results len do output : 1 /26085320. 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, '3558844') ('4302', '26085320', '1378077458', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378077399', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378077347', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378077297', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378077012', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378076981', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378076934', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378076885', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378076854', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378076826', None, None, None, None, None, '3558844') 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', None, '26085320', "{'kraft': 26085403, 'autre_refus': 26085404, 'plastique': 26085405, 'cartonnette': 26085406, 'Teint_Dans_La_Masse': 26085407, 'metal': 26085408, 'mal_croppe': 26085409, 'Carton_gris': 26085410, 'flou': 26085411, 'Carton_brun': 26085412, 'papier': 26085413, 'environnement': 26085414}", None, None, None, None, '3558844'), ('4302', '26085320', '1378077458', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378077399', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378077347', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378077297', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378077012', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378076981', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378076934', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378076885', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378076854', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378076826', None, None, None, None, None, '3558844')] time used for this insertion : 0.014200448989868164 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5156071186065674 time spend to save output : 0.014575004577636719 total time spend for step 1 : 1.530182123184204 step2:final Wed Aug 20 16:35:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (26085320) 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 26085320 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1378075796,1378075770,1378075745,1378075712,1378076214,1378076189,1378076163,1378077012,1378076981,1378076934,1378076885,1378076854,1378076826,1378077458,1378077399,1378077347,1378077297); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26085320]) Inside saveOutput : final : False verbose : True original output for save of step final : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ('0.0',), 1378077012: ('0.0',), 1378076981: ('0.0',), 1378076934: ('0.0',), 1378076885: ('0.0',), 1378076854: ('0.0',), 1378076826: ('0.0',)} new output for save of step final : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ('0.0',), 1378077012: ('0.0',), 1378076981: ('0.0',), 1378076934: ('0.0',), 1378076885: ('0.0',), 1378076854: ('0.0',), 1378076826: ('0.0',)} [1378077458, 1378077399, 1378077347, 1378077297, 1378077012, 1378076981, 1378076934, 1378076885, 1378076854, 1378076826] map_info['map_portfolio_photo'] : {26085320: [1378077458, 1378077399, 1378077347, 1378077297, 1378077012, 1378076981, 1378076934, 1378076885, 1378076854, 1378076826, 1378076214, 1378076189, 1378076163, 1378075796, 1378075770, 1378075745, 1378075712]} final : False mtd_id 4302 list_pids : [1378077458, 1378077399, 1378077347, 1378077297, 1378077012, 1378076981, 1378076934, 1378076885, 1378076854, 1378076826] Looping around the photos to save general results len do output : 10 /1378077458.Didn't retrieve data . /1378077399.Didn't retrieve data . /1378077347.Didn't retrieve data . /1378077297.Didn't retrieve data . /1378077012.Didn't retrieve data . /1378076981.Didn't retrieve data . /1378076934.Didn't retrieve data . /1378076885.Didn't retrieve data . /1378076854.Didn't retrieve data . /1378076826.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, '3558844') ('4302', '26085320', '1378077458', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378077399', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378077347', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378077297', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378077012', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378076981', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378076934', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378076885', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378076854', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378076826', None, None, None, None, None, '3558844') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 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', '26085320', '1378077458', '0.0', None, None, None, None, '3558844'), ('4302', '26085320', '1378077399', '0.0', None, None, None, None, '3558844'), ('4302', '26085320', '1378077347', '0.0', None, None, None, None, '3558844'), ('4302', '26085320', '1378077297', '0.0', None, None, None, None, '3558844'), ('4302', '26085320', '1378077012', '0.0', None, None, None, None, '3558844'), ('4302', '26085320', '1378076981', '0.0', None, None, None, None, '3558844'), ('4302', '26085320', '1378076934', '0.0', None, None, None, None, '3558844'), ('4302', '26085320', '1378076885', '0.0', None, None, None, None, '3558844'), ('4302', '26085320', '1378076854', '0.0', None, None, None, None, '3558844'), ('4302', '26085320', '1378076826', '0.0', None, None, None, None, '3558844')] time used for this insertion : 0.012681007385253906 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.050141334533691406 time spend to save output : 0.013222455978393555 total time spend for step 2 : 0.06336379051208496 step3:velours_tree Wed Aug 20 16:35: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 : {26085320: [{'kraft': 26085403, 'autre_refus': 26085404, 'plastique': 26085405, 'cartonnette': 26085406, 'Teint_Dans_La_Masse': 26085407, 'metal': 26085408, 'mal_croppe': 26085409, 'Carton_gris': 26085410, 'flou': 26085411, 'Carton_brun': 26085412, 'papier': 26085413, 'environnement': 26085414}]} input_args_next_step : {26085320: ()} output_args : {26085320: [{'kraft': 26085403, 'autre_refus': 26085404, 'plastique': 26085405, 'cartonnette': 26085406, 'Teint_Dans_La_Masse': 26085407, 'metal': 26085408, 'mal_croppe': 26085409, 'Carton_gris': 26085410, 'flou': 26085411, 'Carton_brun': 26085412, 'papier': 26085413, 'environnement': 26085414}]} args : 26085320 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 : ({'kraft': 26085403, 'autre_refus': 26085404, 'plastique': 26085405, 'cartonnette': 26085406, 'Teint_Dans_La_Masse': 26085407, 'metal': 26085408, 'mal_croppe': 26085409, 'Carton_gris': 26085410, 'flou': 26085411, 'Carton_brun': 26085412, 'papier': 26085413, 'environnement': 26085414},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26085320) 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([26085320]) 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.3212409019470215 time spend to save output : 4.2438507080078125e-05 total time spend for step 3 : 0.32128334045410156 step4:send_mail_cod Wed Aug 20 16:35:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ('0.0',), 1378077012: ('0.0',), 1378076981: ('0.0',), 1378076934: ('0.0',), 1378076885: ('0.0',), 1378076854: ('0.0',), 1378076826: ('0.0',)} input_args_next_step : {1378077458: ()} output_args : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ('0.0',), 1378077012: ('0.0',), 1378076981: ('0.0',), 1378076934: ('0.0',), 1378076885: ('0.0',), 1378076854: ('0.0',), 1378076826: ('0.0',)} args : 1378077458 depend.output_id : 0 input_args_next_step : {1378077458: ('0.0',), 1378077399: ()} output_args : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ('0.0',), 1378077012: ('0.0',), 1378076981: ('0.0',), 1378076934: ('0.0',), 1378076885: ('0.0',), 1378076854: ('0.0',), 1378076826: ('0.0',)} args : 1378077399 depend.output_id : 0 input_args_next_step : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ()} output_args : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ('0.0',), 1378077012: ('0.0',), 1378076981: ('0.0',), 1378076934: ('0.0',), 1378076885: ('0.0',), 1378076854: ('0.0',), 1378076826: ('0.0',)} args : 1378077347 depend.output_id : 0 input_args_next_step : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ()} output_args : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ('0.0',), 1378077012: ('0.0',), 1378076981: ('0.0',), 1378076934: ('0.0',), 1378076885: ('0.0',), 1378076854: ('0.0',), 1378076826: ('0.0',)} args : 1378077297 depend.output_id : 0 input_args_next_step : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ('0.0',), 1378077012: ()} output_args : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ('0.0',), 1378077012: ('0.0',), 1378076981: ('0.0',), 1378076934: ('0.0',), 1378076885: ('0.0',), 1378076854: ('0.0',), 1378076826: ('0.0',)} args : 1378077012 depend.output_id : 0 input_args_next_step : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ('0.0',), 1378077012: ('0.0',), 1378076981: ()} output_args : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ('0.0',), 1378077012: ('0.0',), 1378076981: ('0.0',), 1378076934: ('0.0',), 1378076885: ('0.0',), 1378076854: ('0.0',), 1378076826: ('0.0',)} args : 1378076981 depend.output_id : 0 input_args_next_step : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ('0.0',), 1378077012: ('0.0',), 1378076981: ('0.0',), 1378076934: ()} output_args : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ('0.0',), 1378077012: ('0.0',), 1378076981: ('0.0',), 1378076934: ('0.0',), 1378076885: ('0.0',), 1378076854: ('0.0',), 1378076826: ('0.0',)} args : 1378076934 depend.output_id : 0 input_args_next_step : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ('0.0',), 1378077012: ('0.0',), 1378076981: ('0.0',), 1378076934: ('0.0',), 1378076885: ()} output_args : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ('0.0',), 1378077012: ('0.0',), 1378076981: ('0.0',), 1378076934: ('0.0',), 1378076885: ('0.0',), 1378076854: ('0.0',), 1378076826: ('0.0',)} args : 1378076885 depend.output_id : 0 input_args_next_step : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ('0.0',), 1378077012: ('0.0',), 1378076981: ('0.0',), 1378076934: ('0.0',), 1378076885: ('0.0',), 1378076854: ()} output_args : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ('0.0',), 1378077012: ('0.0',), 1378076981: ('0.0',), 1378076934: ('0.0',), 1378076885: ('0.0',), 1378076854: ('0.0',), 1378076826: ('0.0',)} args : 1378076854 depend.output_id : 0 input_args_next_step : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ('0.0',), 1378077012: ('0.0',), 1378076981: ('0.0',), 1378076934: ('0.0',), 1378076885: ('0.0',), 1378076854: ('0.0',), 1378076826: ()} output_args : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ('0.0',), 1378077012: ('0.0',), 1378076981: ('0.0',), 1378076934: ('0.0',), 1378076885: ('0.0',), 1378076854: ('0.0',), 1378076826: ('0.0',)} args : 1378076826 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 : {26085320: [{'kraft': 26085403, 'autre_refus': 26085404, 'plastique': 26085405, 'cartonnette': 26085406, 'Teint_Dans_La_Masse': 26085407, 'metal': 26085408, 'mal_croppe': 26085409, 'Carton_gris': 26085410, 'flou': 26085411, 'Carton_brun': 26085412, 'papier': 26085413, 'environnement': 26085414}]} input_args_next_step : {1378077458: ('0.0',), 1378077399: ('0.0',), 1378077347: ('0.0',), 1378077297: ('0.0',), 1378077012: ('0.0',), 1378076981: ('0.0',), 1378076934: ('0.0',), 1378076885: ('0.0',), 1378076854: ('0.0',), 1378076826: ('0.0',), 26085320: ()} output_args : {26085320: [{'kraft': 26085403, 'autre_refus': 26085404, 'plastique': 26085405, 'cartonnette': 26085406, 'Teint_Dans_La_Masse': 26085407, 'metal': 26085408, 'mal_croppe': 26085409, 'Carton_gris': 26085410, 'flou': 26085411, 'Carton_brun': 26085412, 'papier': 26085413, 'environnement': 26085414}]} args : 26085320 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 :11, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26085320) 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 (1378077458,1378077399,1378077347,1378077297,1378077012,1378076981,1378076934,1378076885,1378076854,1378076826) Found this number of photos: 10 ##### Call download_photos : nb_thread : 5 begin to download photo : 1378076826 begin to download photo : 1378076934 begin to download photo : 1378077297 begin to download photo : 1378077458 download finish for photo 1378076826 begin to download photo : 1378076854 download finish for photo 1378076934 begin to download photo : 1378076981 download finish for photo 1378077458 download finish for photo 1378077297 begin to download photo : 1378077347 download finish for photo 1378076854 begin to download photo : 1378076885 download finish for photo 1378077347 begin to download photo : 1378077399 download finish for photo 1378076981 begin to download photo : 1378077012 download finish for photo 1378076885 download finish for photo 1378077012 download finish for photo 1378077399 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette260854031755700501/ imagette260854041755700501/ imagette260854051755700501/ imagette260854061755700501/ imagette260854081755700501/ imagette260854091755700501/ imagette260854111755700501/ imagette260854071755700501/ imagette260854101755700501/ imagette260854121755700501/ length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 results_Auto_P26085320_20-08-2025_16_35_01.pdf 26085403 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=26085403 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260854031755700501 26085404 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=26085404 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260854041755700501 26085405 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=26085405 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260854051755700501 26085406 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=26085406 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260854061755700501 26085408 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=26085408 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260854081755700501 26085409 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=26085409 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260854091755700501 26085411 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=26085411 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260854111755700501 26085407 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=26085407 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260854071755700501 26085410 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=26085410 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260854101755700501 26085412 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=26085412 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette260854121755700501 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26085320 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26085416,26085417,26085418,26085419,26085420,26085421,26085422,26085423,26085424,26085425,26085426,26085427?tags=kraft,autre_refus,plastique,cartonnette,Teint_Dans_La_Masse,metal,mal_croppe,Carton_gris,flou,Carton_brun,papier,environnement your option no_mail is active, we will not send the real mail to your client args[1378077458] : ('0.0',) no score found for photo 1378077458 We are sending mail with results at report@fotonower.com args[1378077399] : ('0.0',) no score found for photo 1378077399 We are sending mail with results at report@fotonower.com args[1378077347] : ('0.0',) no score found for photo 1378077347 We are sending mail with results at report@fotonower.com args[1378077297] : ('0.0',) no score found for photo 1378077297 We are sending mail with results at report@fotonower.com args[1378077012] : ('0.0',) no score found for photo 1378077012 We are sending mail with results at report@fotonower.com args[1378076981] : ('0.0',) no score found for photo 1378076981 We are sending mail with results at report@fotonower.com args[1378076934] : ('0.0',) no score found for photo 1378076934 We are sending mail with results at report@fotonower.com args[1378076885] : ('0.0',) no score found for photo 1378076885 We are sending mail with results at report@fotonower.com args[1378076854] : ('0.0',) no score found for photo 1378076854 We are sending mail with results at report@fotonower.com args[1378076826] : ('0.0',) no score found for photo 1378076826 We are sending mail with results at report@fotonower.com refus_total : 0.0 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=26085320 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_P26085320_20-08-2025_16_35_01.pdf results_Auto_P26085320_20-08-2025_16_35_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26085320_20-08-2025_16_35_01.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','26085320','results_Auto_P26085320_20-08-2025_16_35_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26085320_20-08-2025_16_35_01.pdf','pdf','','0.1','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26085320]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1378077458, 1378077399, 1378077347, 1378077297, 1378077012, 1378076981, 1378076934, 1378076885, 1378076854, 1378076826] map_info['map_portfolio_photo'] : {26085320: [1378077458, 1378077399, 1378077347, 1378077297, 1378077012, 1378076981, 1378076934, 1378076885, 1378076854, 1378076826, 1378076214, 1378076189, 1378076163, 1378075796, 1378075770, 1378075745, 1378075712]} final : False mtd_id 4302 list_pids : [1378077458, 1378077399, 1378077347, 1378077297, 1378077012, 1378076981, 1378076934, 1378076885, 1378076854, 1378076826] 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, '3558844') ('4302', '26085320', '1378077458', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378077399', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378077347', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378077297', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378077012', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378076981', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378076934', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378076885', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378076854', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378076826', None, None, None, None, None, '3558844') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '26085320', '1378077458', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378077399', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378077347', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378077297', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378077012', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378076981', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378076934', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378076885', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378076854', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378076826', None, None, None, None, None, '3558844')] time used for this insertion : 0.01806640625 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.471006155014038 time spend to save output : 0.018309831619262695 total time spend for step 4 : 1.4893159866333008 step5:split_time_score Wed Aug 20 16:35:02 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 : ['26085320'] 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 : [('26085320',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26085320) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1378077458: {'path': 'temp/1755700500_2404481_1378077458_82f48c824df091a3d77ba733c19b3d8a.jpg', 'extension': 'jpg'}, 1378076826: {'path': 'temp/1755700500_2404481_1378076826_435373d1fb0e0941e39756165b3bf119.jpg', 'extension': 'jpg'}, 1378076854: {'path': 'temp/1755700500_2404481_1378076854_6120f0985f55f5c48f99f7392410ce5c.jpg', 'extension': 'jpg'}, 1378076885: {'path': 'temp/1755700500_2404481_1378076885_702a64fbf45a9b529e4b62888023c9de.jpg', 'extension': 'jpg'}, 1378076934: {'path': 'temp/1755700500_2404481_1378076934_be3aa25a4720e84ce9d8c9427e01205c.jpg', 'extension': 'jpg'}, 1378076981: {'path': 'temp/1755700500_2404481_1378076981_3915979de4b7854463f6aec450d3199e.jpg', 'extension': 'jpg'}, 1378077012: {'path': 'temp/1755700500_2404481_1378077012_b0adfafbb1cb53bf2c1467f445e1cf57.jpg', 'extension': 'jpg'}, 1378077297: {'path': 'temp/1755700500_2404481_1378077297_7eb2fdac9eed6b7c43011586222c0175.jpg', 'extension': 'jpg'}, 1378077347: {'path': 'temp/1755700500_2404481_1378077347_fdf25d37a57a468d6e9e76ec3456c318.jpg', 'extension': 'jpg'}, 1378077399: {'path': 'temp/1755700500_2404481_1378077399_10ed8c073071fcd04ecc4af2d92961a0.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 = 26085320; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26085320 group by h (('16', 17),) 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=26085320 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 (26085320) 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 (26085320) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 20082025 26085320 Nombre de photos uploadées : 17 / 23040 (0%) 20082025 26085320 Nombre de photos taguées (types de déchets): 0 / 17 (0%) 20082025 26085320 Nombre de photos taguées (volume) : 0 / 17 (0%) [{'photo_id': 1378075796, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/20/d4d779eb69ba35baf09c089d28e496c1.jpg', 'username': None, 'uploaded_at': 1755700268, 'text': 'image_20082025_16_30_13_10140.jpg'}, {'photo_id': 1378075770, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/20/dd9f60e7caeeea1940fd44be788e0635.jpg', 'username': None, 'uploaded_at': 1755700268, 'text': 'image_20082025_16_30_24_10137.jpg'}, {'photo_id': 1378075745, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/20/5dac9e4708a5a6fd9dfbb35c9531867a.jpg', 'username': None, 'uploaded_at': 1755700268, 'text': 'image_20082025_16_30_34_10134.jpg'}, {'photo_id': 1378075712, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/20/e0e951fc1a0afa9070c433ee69221788.jpg', 'username': None, 'uploaded_at': 1755700268, 'text': 'image_20082025_16_30_44_10137.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0008714199066162109 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26085320, '2025-08-20' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-08-20' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2142351,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2069840431213379 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= 2142351 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079943, 'dashboard_result_id': 14102614, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079943_20-08-2025_15_26_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26082138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26082140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26082141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26082142, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26082143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26082144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26082145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26082146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26082147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26082148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26082149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26082150, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079947, 'dashboard_result_id': 14102615, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079947_20-08-2025_15_26_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26082035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26082036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26082037, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26082039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26082040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26082041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26082043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26082044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26082045, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26082046, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26082048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26082049, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079950, 'dashboard_result_id': 14102616, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079950_20-08-2025_15_25_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081980, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081984, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079954, 'dashboard_result_id': 14102617, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079954_20-08-2025_15_24_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081908, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081915, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079958, 'dashboard_result_id': 14102619, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079958_20-08-2025_15_23_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081805, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081807, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081814, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081816, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079961, 'dashboard_result_id': 14102620, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079961_20-08-2025_15_23_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081765, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081769, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081774, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079964, 'dashboard_result_id': 14102621, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079964_20-08-2025_15_23_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081706, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079967, 'dashboard_result_id': 14102622, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079967_20-08-2025_15_22_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081643, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081653, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079969, 'dashboard_result_id': 14102624, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079969_20-08-2025_15_21_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081616, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081627, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079970, 'dashboard_result_id': 14102625, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079970_20-08-2025_15_20_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081544, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081549, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081554, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081555, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079972, 'dashboard_result_id': 14102626, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079972_20-08-2025_15_20_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26081420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081431, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079974, 'dashboard_result_id': 14102627, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079974_20-08-2025_15_18_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081260, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081272, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079976, 'dashboard_result_id': 14102629, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079976_20-08-2025_15_19_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26081384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081393, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081395, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079979, 'dashboard_result_id': 14102630, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079979_20-08-2025_15_18_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26081214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081221, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081225, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079981, 'dashboard_result_id': 14102631, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079981_20-08-2025_15_16_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26081126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081128, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081135, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081136, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081137, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079983, 'dashboard_result_id': 14102632, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079983_20-08-2025_15_17_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081190, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081192, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079985, 'dashboard_result_id': 14102633, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079985_20-08-2025_15_15_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081095, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081101, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079987, 'dashboard_result_id': 14102635, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079987_20-08-2025_15_15_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081068, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079989, 'dashboard_result_id': 14102636, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079989_20-08-2025_15_14_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081022, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079991, 'dashboard_result_id': 14102637, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079991_20-08-2025_15_14_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26080957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080968, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079993, 'dashboard_result_id': 14102638, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079993_20-08-2025_15_13_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080925, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080927, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080936, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079995, 'dashboard_result_id': 14102639, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079995_20-08-2025_15_12_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080835, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080840, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080841, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079997, 'dashboard_result_id': 14102640, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079997_20-08-2025_15_11_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080802, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080804, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080810, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26080016, 'dashboard_result_id': 14102641, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080016_20-08-2025_15_11_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080781, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26080019, 'dashboard_result_id': 14102642, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080019_20-08-2025_15_10_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080676, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080684, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080686, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26080040, 'dashboard_result_id': 14102643, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080040_20-08-2025_15_10_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26080645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080646, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080652, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080656, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26080042, 'dashboard_result_id': 14102644, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080042_20-08-2025_15_03_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080088, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080100, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26080044, 'dashboard_result_id': 14102645, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080044_20-08-2025_15_09_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080614, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080622, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080625, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26080046, 'dashboard_result_id': 14102646, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080046_20-08-2025_15_09_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080585, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080586, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26080048, 'dashboard_result_id': 14102647, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080048_20-08-2025_15_08_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080457, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26080050, 'dashboard_result_id': 14102648, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080050_20-08-2025_15_07_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080413, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080418, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080423, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26080055, 'dashboard_result_id': 14102649, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080055_20-08-2025_15_03_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080102, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080114, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26080060, 'dashboard_result_id': 14102650, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080060_20-08-2025_15_06_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080316, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080327, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26080064, 'dashboard_result_id': 14102651, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080064_20-08-2025_15_06_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26080292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080296, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080301, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080303, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26080069, 'dashboard_result_id': 14102652, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080069_20-08-2025_15_05_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080273, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080274, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26080074, 'dashboard_result_id': 14102653, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080074_20-08-2025_15_04_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080176, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080184, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26077616, 'dashboard_result_id': 14102654, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077616_20-08-2025_14_11_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077660, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077665, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26077618, 'dashboard_result_id': 14102655, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077618_20-08-2025_14_11_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077668, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077669, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077672, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077673, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077675, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077677, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26077621, 'dashboard_result_id': 14102656, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077621_20-08-2025_14_16_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077630, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077635, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26077839, 'dashboard_result_id': 14102657, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077839_20-08-2025_14_32_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077928, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077930, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26078554, 'dashboard_result_id': 14102658, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26078554_20-08-2025_14_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26078580, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26078581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26078582, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26078583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26078584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26078585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26078586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26078587, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26078588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26078589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26078590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26078591, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26079264, 'dashboard_result_id': 14102659, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079264_20-08-2025_15_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26079313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26079314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26079315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26079316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26079317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26079318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26079319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26079320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26079321, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26079322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26079323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26079324, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26080200, 'dashboard_result_id': 14102660, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080200_20-08-2025_15_19_28.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080212, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080219, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26081287, 'dashboard_result_id': 14102661, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26081287_20-08-2025_15_33_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081313, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081321, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26082309, 'dashboard_result_id': 14102662, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26082309_20-08-2025_15_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26082371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26082372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26082373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26082374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26082375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26082376, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26082377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26082379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26082380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26082381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26082382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26082383, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26083119, 'dashboard_result_id': 14102663, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26083119_20-08-2025_16_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26083167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26083168, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26083169, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26083170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26083171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26083172, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26083173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26083174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26083175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26083176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26083177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26083178, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26083848, 'dashboard_result_id': 14102664, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26083848_20-08-2025_16_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26083868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26083869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26083870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26083871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26083872, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26083873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26083874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26083875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26083876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26083877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26083878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26083879, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26084660, 'dashboard_result_id': 14102665, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26084660_20-08-2025_16_32_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26084717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26084718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26084719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26084720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26084721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26084722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26084723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26084724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26084725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26084726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26084727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26084728, 'pht': 3726}}"}, {'dashboat_entry_day': 2142351, 'dashboard_run_id': 2154587, 'mtr_portfolio_id': 26085320, 'dashboard_result_id': 14102666, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26085320_20-08-2025_16_33_32.pdf'}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079943 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 = 26079943 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 = 26079943 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079943 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 = 26079943 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 = 26079943 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079943_20-08-2025_15_26_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079943 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079943_20-08-2025_15_26_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26082138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26082140, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26082141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26082142, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26082143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26082144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26082145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26082146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26082147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26082148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26082149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26082150, 'pht': 3726}}" where mtr_portfolio_id = 26079943 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079947 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 = 26079947 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 = 26079947 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079947 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 = 26079947 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 = 26079947 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079947_20-08-2025_15_26_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079947 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079947_20-08-2025_15_26_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26082035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26082036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26082037, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26082039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26082040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26082041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26082043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26082044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26082045, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26082046, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26082048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26082049, 'pht': 3726}}" where mtr_portfolio_id = 26079947 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079950 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 = 26079950 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 = 26079950 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079950 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 = 26079950 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 = 26079950 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079950_20-08-2025_15_25_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079950 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079950_20-08-2025_15_25_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081975, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081980, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081984, 'pht': 3726}}" where mtr_portfolio_id = 26079950 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079954 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 = 26079954 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 = 26079954 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079954 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 = 26079954 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 = 26079954 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079954_20-08-2025_15_24_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079954 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079954_20-08-2025_15_24_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081901, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081908, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081911, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081915, 'pht': 3726}}" where mtr_portfolio_id = 26079954 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079958 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 = 26079958 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 = 26079958 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079958 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 = 26079958 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 = 26079958 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079958_20-08-2025_15_23_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079958 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079958_20-08-2025_15_23_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081805, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081807, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081814, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081816, 'pht': 3726}}" where mtr_portfolio_id = 26079958 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079961 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 = 26079961 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 = 26079961 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079961 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 = 26079961 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 = 26079961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079961_20-08-2025_15_23_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079961 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079961_20-08-2025_15_23_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081763, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081765, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081769, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081772, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081774, 'pht': 3726}}" where mtr_portfolio_id = 26079961 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079964 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 = 26079964 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 = 26079964 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079964 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 = 26079964 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 = 26079964 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079964_20-08-2025_15_23_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079964 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079964_20-08-2025_15_23_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081704, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081706, 'pht': 3726}}" where mtr_portfolio_id = 26079964 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079967 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 = 26079967 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 = 26079967 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079967 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 = 26079967 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 = 26079967 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079967_20-08-2025_15_22_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079967 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079967_20-08-2025_15_22_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081643, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081645, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081653, 'pht': 3726}}" where mtr_portfolio_id = 26079967 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079969 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 = 26079969 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 = 26079969 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079969 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 = 26079969 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 = 26079969 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079969_20-08-2025_15_21_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079969 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079969_20-08-2025_15_21_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081616, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081627, 'pht': 3726}}" where mtr_portfolio_id = 26079969 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079970 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 = 26079970 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 = 26079970 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079970 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 = 26079970 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 = 26079970 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079970_20-08-2025_15_20_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079970 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079970_20-08-2025_15_20_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081544, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081549, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081554, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081555, 'pht': 3726}}" where mtr_portfolio_id = 26079970 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079972 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 = 26079972 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 = 26079972 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079972 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 = 26079972 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 = 26079972 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079972_20-08-2025_15_20_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079972 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079972_20-08-2025_15_20_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26081420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081425, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081431, 'pht': 3726}}" where mtr_portfolio_id = 26079972 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079974 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 = 26079974 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 = 26079974 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079974 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 = 26079974 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 = 26079974 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079974_20-08-2025_15_18_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079974 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079974_20-08-2025_15_18_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081260, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081264, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081272, 'pht': 3726}}" where mtr_portfolio_id = 26079974 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079976 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 = 26079976 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 = 26079976 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079976 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 = 26079976 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 = 26079976 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079976_20-08-2025_15_19_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079976 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079976_20-08-2025_15_19_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26081384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081387, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081391, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081393, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081395, 'pht': 3726}}" where mtr_portfolio_id = 26079976 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079979 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 = 26079979 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 = 26079979 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079979 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 = 26079979 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 = 26079979 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079979_20-08-2025_15_18_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079979 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079979_20-08-2025_15_18_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26081214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081217, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081221, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081225, 'pht': 3726}}" where mtr_portfolio_id = 26079979 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079981 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 = 26079981 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 = 26079981 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079981 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 = 26079981 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 = 26079981 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079981_20-08-2025_15_16_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079981 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079981_20-08-2025_15_16_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26081126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081128, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081133, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081135, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081136, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081137, 'pht': 3726}}" where mtr_portfolio_id = 26079981 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079983 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 = 26079983 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 = 26079983 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079983 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 = 26079983 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 = 26079983 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079983_20-08-2025_15_17_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079983 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079983_20-08-2025_15_17_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081190, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081191, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081192, 'pht': 3726}}" where mtr_portfolio_id = 26079983 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079985 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 = 26079985 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 = 26079985 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079985 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 = 26079985 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 = 26079985 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079985_20-08-2025_15_15_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079985 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079985_20-08-2025_15_15_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081092, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081095, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081101, 'pht': 3726}}" where mtr_portfolio_id = 26079985 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079987 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 = 26079987 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 = 26079987 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079987 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 = 26079987 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 = 26079987 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079987_20-08-2025_15_15_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079987 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079987_20-08-2025_15_15_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081067, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081068, 'pht': 3726}}" where mtr_portfolio_id = 26079987 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079989 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 = 26079989 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 = 26079989 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079989 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 = 26079989 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 = 26079989 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079989_20-08-2025_15_14_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079989 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079989_20-08-2025_15_14_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081017, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081021, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081022, 'pht': 3726}}" where mtr_portfolio_id = 26079989 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079991 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 = 26079991 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 = 26079991 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079991 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 = 26079991 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 = 26079991 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079991_20-08-2025_15_14_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079991 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079991_20-08-2025_15_14_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26080957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080968, 'pht': 3726}}" where mtr_portfolio_id = 26079991 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079993 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 = 26079993 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 = 26079993 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079993 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 = 26079993 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 = 26079993 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079993_20-08-2025_15_13_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079993 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079993_20-08-2025_15_13_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080925, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080927, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080933, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080936, 'pht': 3726}}" where mtr_portfolio_id = 26079993 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079995 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 = 26079995 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 = 26079995 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079995 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 = 26079995 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 = 26079995 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079995_20-08-2025_15_12_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079995 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079995_20-08-2025_15_12_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080835, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080840, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080841, 'pht': 3726}}" where mtr_portfolio_id = 26079995 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079997 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 = 26079997 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 = 26079997 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079997 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 = 26079997 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 = 26079997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079997_20-08-2025_15_11_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079997 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079997_20-08-2025_15_11_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080800, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080801, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080802, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080804, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080805, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080810, 'pht': 3726}}" where mtr_portfolio_id = 26079997 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080016 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 = 26080016 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 = 26080016 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080016 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 = 26080016 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 = 26080016 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080016_20-08-2025_15_11_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080016 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080016_20-08-2025_15_11_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080781, 'pht': 3726}}" where mtr_portfolio_id = 26080016 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080019 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 = 26080019 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 = 26080019 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080019 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 = 26080019 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 = 26080019 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080019_20-08-2025_15_10_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080019 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080019_20-08-2025_15_10_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080676, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080677, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080681, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080684, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080685, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080686, 'pht': 3726}}" where mtr_portfolio_id = 26080019 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080040 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 = 26080040 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 = 26080040 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080040 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 = 26080040 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 = 26080040 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080040_20-08-2025_15_10_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080040 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080040_20-08-2025_15_10_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26080645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080646, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080652, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080653, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080655, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080656, 'pht': 3726}}" where mtr_portfolio_id = 26080040 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080042 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 = 26080042 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 = 26080042 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080042 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 = 26080042 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 = 26080042 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080042_20-08-2025_15_03_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080042 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080042_20-08-2025_15_03_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080088, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080091, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080100, 'pht': 3726}}" where mtr_portfolio_id = 26080042 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080044 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 = 26080044 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 = 26080044 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080044 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 = 26080044 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 = 26080044 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080044_20-08-2025_15_09_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080044 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080044_20-08-2025_15_09_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080614, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080622, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080624, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080625, 'pht': 3726}}" where mtr_portfolio_id = 26080044 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080046 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 = 26080046 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 = 26080046 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080046 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 = 26080046 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 = 26080046 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080046_20-08-2025_15_09_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080046 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080046_20-08-2025_15_09_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080585, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080586, 'pht': 3726}}" where mtr_portfolio_id = 26080046 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080048 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 = 26080048 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 = 26080048 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080048 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 = 26080048 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 = 26080048 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080048_20-08-2025_15_08_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080048 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080048_20-08-2025_15_08_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080448, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080457, 'pht': 3726}}" where mtr_portfolio_id = 26080048 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080050 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 = 26080050 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 = 26080050 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080050 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 = 26080050 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 = 26080050 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080050_20-08-2025_15_07_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080050 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080050_20-08-2025_15_07_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080413, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080418, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080421, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080422, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080423, 'pht': 3726}}" where mtr_portfolio_id = 26080050 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080055 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 = 26080055 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 = 26080055 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080055 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 = 26080055 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 = 26080055 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080055_20-08-2025_15_03_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080055 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080055_20-08-2025_15_03_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080102, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080110, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080114, 'pht': 3726}}" where mtr_portfolio_id = 26080055 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080060 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 = 26080060 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 = 26080060 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080060 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 = 26080060 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 = 26080060 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080060_20-08-2025_15_06_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080060 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080060_20-08-2025_15_06_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080316, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080327, 'pht': 3726}}" where mtr_portfolio_id = 26080060 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080064 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 = 26080064 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 = 26080064 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080064 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 = 26080064 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 = 26080064 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080064_20-08-2025_15_06_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080064 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080064_20-08-2025_15_06_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26080292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080296, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080298, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080301, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080303, 'pht': 3726}}" where mtr_portfolio_id = 26080064 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080069 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 = 26080069 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 = 26080069 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080069 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 = 26080069 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 = 26080069 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080069_20-08-2025_15_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080069 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080069_20-08-2025_15_05_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080270, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080273, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080274, 'pht': 3726}}" where mtr_portfolio_id = 26080069 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080074 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 = 26080074 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 = 26080074 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080074 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 = 26080074 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 = 26080074 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080074_20-08-2025_15_04_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080074 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080074_20-08-2025_15_04_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080176, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080179, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080184, 'pht': 3726}}" where mtr_portfolio_id = 26080074 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26077616 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 = 26077616 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 = 26077616 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26077616 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 = 26077616 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 = 26077616 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077616_20-08-2025_14_11_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26077616 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077616_20-08-2025_14_11_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077660, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077664, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077665, 'pht': 3726}}" where mtr_portfolio_id = 26077616 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26077618 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 = 26077618 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 = 26077618 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26077618 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 = 26077618 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 = 26077618 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077618_20-08-2025_14_11_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26077618 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077618_20-08-2025_14_11_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077668, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077669, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077672, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077673, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077675, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077677, 'pht': 3726}}" where mtr_portfolio_id = 26077618 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26077621 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': 3556356, 'mtr_portfolio_id': 26077621, 'created_at': datetime.datetime(2025, 8, 20, 14, 16, 59), 'result': '0.06687066554665505', 'result_long': None, 'result_double': None}] Qualite : 0.06687066554665505 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26077621 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077621_20-08-2025_14_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26077621 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077621_20-08-2025_14_16_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077630, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077635, 'pht': 3726}}" where mtr_portfolio_id = 26077621 and dashboard_run_id = 2154587 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`=26077621 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14102656, 0.06687066554665505, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077621_20-08-2025_14_16_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077630, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077635, '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 = 26077839 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': 3556534, 'mtr_portfolio_id': 26077839, 'created_at': datetime.datetime(2025, 8, 20, 14, 32, 57), 'result': '0.07742126445864296', 'result_long': None, 'result_double': None}] Qualite : 0.07742126445864296 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26077839 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077839_20-08-2025_14_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26077839 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077839_20-08-2025_14_32_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077928, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077930, 'pht': 3726}}" where mtr_portfolio_id = 26077839 and dashboard_run_id = 2154587 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`=26077839 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14102657, 0.07742126445864296, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26077839_20-08-2025_14_32_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26077919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26077920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26077921, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26077922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26077923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26077924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26077925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26077926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26077927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26077928, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26077929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26077930, '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 = 26078554 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': 3556758, 'mtr_portfolio_id': 26078554, 'created_at': datetime.datetime(2025, 8, 20, 14, 48, 59), 'result': '0.029841024099936195', 'result_long': None, 'result_double': None}] Qualite : 0.029841024099936195 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26078554 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26078554_20-08-2025_14_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26078554 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26078554_20-08-2025_14_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26078580, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26078581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26078582, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26078583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26078584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26078585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26078586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26078587, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26078588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26078589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26078590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26078591, 'pht': 3726}}" where mtr_portfolio_id = 26078554 and dashboard_run_id = 2154587 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`=26078554 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14102658, 0.029841024099936195, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26078554_20-08-2025_14_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26078580, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26078581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26078582, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26078583, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26078584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26078585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26078586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26078587, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26078588, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26078589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26078590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26078591, '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 = 26079264 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 = 26079264 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 = 26079264 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26079264 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 = 26079264 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 = 26079264 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079264_20-08-2025_15_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26079264 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26079264_20-08-2025_15_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26079313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26079314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26079315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26079316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26079317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26079318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26079319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26079320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26079321, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26079322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26079323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26079324, 'pht': 3726}}" where mtr_portfolio_id = 26079264 and dashboard_run_id = 2154587 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26080200 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': 3557438, 'mtr_portfolio_id': 26080200, 'created_at': datetime.datetime(2025, 8, 20, 15, 19, 28), 'result': '0.06455565714476703', 'result_long': None, 'result_double': None}] Qualite : 0.06455565714476703 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26080200 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080200_20-08-2025_15_19_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26080200 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080200_20-08-2025_15_19_28.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080212, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080219, 'pht': 3726}}" where mtr_portfolio_id = 26080200 and dashboard_run_id = 2154587 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`=26080200 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14102660, 0.06455565714476703, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26080200_20-08-2025_15_19_28.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26080208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26080209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26080210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26080211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26080212, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26080213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26080214, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26080215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26080216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26080217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26080218, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26080219, '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 = 26081287 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': 3557647, 'mtr_portfolio_id': 26081287, 'created_at': datetime.datetime(2025, 8, 20, 15, 33, 1), 'result': '0.051968471217162186', 'result_long': None, 'result_double': None}] Qualite : 0.051968471217162186 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26081287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26081287_20-08-2025_15_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26081287 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26081287_20-08-2025_15_33_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081313, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081321, 'pht': 3726}}" where mtr_portfolio_id = 26081287 and dashboard_run_id = 2154587 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`=26081287 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14102661, 0.051968471217162186, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26081287_20-08-2025_15_33_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26081310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26081311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26081312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26081313, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26081314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26081315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26081316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26081317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26081318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26081319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26081320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26081321, '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 = 26082309 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': 3557855, 'mtr_portfolio_id': 26082309, 'created_at': datetime.datetime(2025, 8, 20, 15, 46, 58), 'result': '0.06158518885642113', 'result_long': None, 'result_double': None}] Qualite : 0.06158518885642113 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26082309 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26082309_20-08-2025_15_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26082309 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26082309_20-08-2025_15_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26082371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26082372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26082373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26082374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26082375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26082376, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26082377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26082379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26082380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26082381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26082382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26082383, 'pht': 3726}}" where mtr_portfolio_id = 26082309 and dashboard_run_id = 2154587 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`=26082309 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14102662, 0.06158518885642113, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26082309_20-08-2025_15_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26082371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26082372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26082373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26082374, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26082375, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26082376, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26082377, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26082379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26082380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26082381, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26082382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26082383, '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 = 26083119 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': 3558114, 'mtr_portfolio_id': 26083119, 'created_at': datetime.datetime(2025, 8, 20, 16, 3), 'result': '0.059145369794072165', 'result_long': None, 'result_double': None}] Qualite : 0.059145369794072165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26083119 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26083119_20-08-2025_16_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26083119 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26083119_20-08-2025_16_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26083167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26083168, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26083169, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26083170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26083171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26083172, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26083173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26083174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26083175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26083176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26083177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26083178, 'pht': 3726}}" where mtr_portfolio_id = 26083119 and dashboard_run_id = 2154587 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`=26083119 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14102663, 0.059145369794072165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26083119_20-08-2025_16_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26083167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26083168, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26083169, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26083170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26083171, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26083172, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26083173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26083174, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26083175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26083176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26083177, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26083178, '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 = 26083848 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': 3558368, 'mtr_portfolio_id': 26083848, 'created_at': datetime.datetime(2025, 8, 20, 16, 16, 57), 'result': '0.041316353768693616', 'result_long': None, 'result_double': None}] Qualite : 0.041316353768693616 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26083848 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26083848_20-08-2025_16_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26083848 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26083848_20-08-2025_16_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26083868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26083869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26083870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26083871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26083872, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26083873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26083874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26083875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26083876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26083877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26083878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26083879, 'pht': 3726}}" where mtr_portfolio_id = 26083848 and dashboard_run_id = 2154587 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`=26083848 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14102664, 0.041316353768693616, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26083848_20-08-2025_16_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26083868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26083869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26083870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26083871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26083872, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26083873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26083874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26083875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26083876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26083877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26083878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26083879, '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 = 26084660 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': 3558586, 'mtr_portfolio_id': 26084660, 'created_at': datetime.datetime(2025, 8, 20, 16, 32, 57), 'result': '0.024238481814409848', 'result_long': None, 'result_double': None}] Qualite : 0.024238481814409848 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26084660 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26084660_20-08-2025_16_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26084660 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26084660_20-08-2025_16_32_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26084717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26084718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26084719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26084720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26084721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26084722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26084723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26084724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26084725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26084726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26084727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26084728, 'pht': 3726}}" where mtr_portfolio_id = 26084660 and dashboard_run_id = 2154587 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`=26084660 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14102665, 0.024238481814409848, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26084660_20-08-2025_16_32_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26084717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26084718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26084719, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26084720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26084721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26084722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26084723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26084724, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26084725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26084726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26084727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26084728, '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 = 26085320 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 = 26085320 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 = 26085320 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26085320 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 = 26085320 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 = 26085320 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26085320_20-08-2025_16_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26085320 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26085320_20-08-2025_16_35_01.pdf'}" where mtr_portfolio_id = 26085320 and dashboard_run_id = 2154587 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26079943,26079947,26079950,26079954,26079958,26079961,26079964,26079967,26079969,26079970,26079972,26079974,26079976,26079979,26079981,26079983,26079985,26079987,26079989,26079991,26079993,26079995,26079997,26080016,26080019,26080040,26080042,26080044,26080046,26080048,26080050,26080055,26080060,26080064,26080069,26080074,26077616,26077618,26077621,26077839,26078554,26079264,26080200,26081287,26082309,26083119,26083848,26084660,26085320) result : ((1378034422,), (1378034892,), (1378035148,), (1378035229,), (1378035309,), (1378035327,), (1378035330,), (1378035333,), (1378035335,), (1378035352,), (1378035380,), (1378035383,), (1378035385,), (1378035459,), (1378035464,), (1378035467,), (1378035754,), (1378035675,), (1378035704,), (1378035730,), (1378035855,), (1378035860,), (1378035864,), (1378035883,), (1378035888,), (1378035890,), (1378035956,), (1378035966,), (1378035997,), (1378036001,), (1378036005,), (1378036012,), (1378036039,), (1378036040,), (1378036084,), (1378036112,), (1378036115,), (1378036117,), (1378036145,), (1378036149,), (1378036177,), (1378036181,), (1378036184,), (1378036295,), (1378036298,), (1378036299,), (1378036301,), (1378036304,), (1378036784,), (1378036769,), (1378036772,), (1378036871,), (1378036875,), (1378036877,), (1378036879,), (1378036880,), (1378036903,), (1378036905,), (1378036920,), (1378036925,), (1378036927,), (1378036949,), (1378036952,), (1378036953,), (1378036954,), (1378036957,), (1378036960,), (1378036972,), (1378036977,), (1378036980,), (1378036983,), (1378036988,), (1378037003,), (1378037005,), (1378037007,), (1378037011,), (1378037091,), (1378037156,), (1378037158,), (1378037161,), (1378037163,), (1378037168,), (1378037177,), (1378037180,), (1378037186,), (1378037189,), (1378037198,), (1378037206,), (1378037252,), (1378037256,), (1378037258,), (1378037268,), (1378037339,), (1378037343,), (1378037346,), (1378037349,), (1378037352,), (1378037357,), (1378037388,), (1378037391,), (1378037392,), (1378037449,), (1378037453,), (1378037475,), (1378037478,), (1378037497,), (1378037500,), (1378037589,), (1378037620,), (1378037643,), (1378037665,), (1378037667,), (1378037669,), (1378037672,), (1378037675,), (1378037679,), (1378037741,), (1378037715,), (1378037718,), (1378037720,), (1378037890,), (1378037916,), (1378037927,), (1378037931,), (1378037935,), (1378037943,), (1378038084,), (1378038118,), (1378038144,), (1378038170,), (1378038300,), (1378038304,), (1378038305,), (1378038323,), (1378038328,), (1378038331,), (1378038484,), (1378038522,), (1378038531,), (1378038551,), (1378038619,), (1378038620,), (1378038633,), (1378038659,), (1378038685,), (1378038781,), (1378038795,), (1378038819,), (1378038838,), (1378038850,), (1378038869,), (1378038881,), (1378038888,), (1378038895,), (1378038979,), (1378038991,), (1378038993,), (1378038995,), (1378039005,), (1378039017,), (1378039082,), (1378039086,), (1378039100,), (1378039103,), (1378039227,), (1378039232,), (1378039234,), (1378039236,), (1378039238,), (1378039240,), (1378039253,), (1378039255,), (1378039256,), (1378039258,), (1378039362,), (1378039379,), (1378039392,), (1378039395,), (1378039432,), (1378039435,), (1378039436,), (1378039437,), (1378039439,), (1378039441,), (1378039463,), (1378039468,), (1378039472,), (1378039476,), (1378039480,), (1378039532,), (1378039513,), (1378039515,), (1378039517,), (1378039519,), (1378039522,), (1378039688,), (1378039694,), (1378039697,), (1378039699,), (1378039769,), (1378039772,), (1378039774,), (1378039776,), (1378039779,), (1378039784,), (1378039908,), (1378039914,), (1378039918,), (1378039921,), (1378039924,), (1378039941,), (1378039943,), (1378039945,), (1378039946,), (1378039948,), (1378039985,), (1378040016,), (1378040041,), (1378040053,), (1378040064,), (1378040070,), (1378040161,), (1378040169,), (1378040177,), (1378040196,), (1378040213,), (1378040280,), (1378040286,), (1378040291,), (1378040298,), (1378040301,), (1378040303,), (1378040340,), (1378040344,), (1378040345,), (1378040346,), (1378040348,), (1378040352,), (1378040372,), (1378040376,), (1378040380,), (1378040404,), (1378040406,), (1378040407,), (1378040408,), (1378040411,), (1378040415,), (1378040441,), (1378040450,), (1378040453,), (1378040468,), (1378040535,), (1378040538,), (1378040539,), (1378040541,), (1378040544,), (1378040546,), (1378040570,), (1378040574,), (1378040576,), (1378040580,), (1378040584,), (1378040642,), (1378040645,), (1378040648,), (1378040651,), (1378040866,), (1378040822,), (1378040830,), (1378040832,), (1378040840,), (1378041021,), (1378041028,), (1378041037,), (1378041064,), (1378041351,), (1378041377,), (1378041567,), (1378041571,), (1378041572,), (1378041573,), (1378041576,), (1378041580,), (1378041948,), (1378042001,), (1378042047,), (1378042085,), (1378042092,), (1378042200,), (1378042220,), (1378042246,), (1378042473,), (1378042520,), (1378042552,), (1378042557,), (1378042585,), (1378042611,), (1378042856,), (1378042878,), (1378042882,), (1378042897,), (1378042997,), (1378043001,), (1378043003,), (1378043025,), (1378043050,), (1378043075,), (1378043280,), (1378043322,), (1378043368,), (1378043398,), (1378043428,), (1378043453,), (1378043537,), (1378043565,), (1378043594,), (1378043622,), (1378043653,), (1378043977,), (1378044003,), (1378044026,), (1378044050,), (1378044084,), (1378044111,), (1378044873,), (1378044881,), (1378044912,), (1378044916,), (1378044920,), (1378044969,), (1378044970,), (1378044989,), (1378044990,), (1378044991,), (1378044992,), (1378044994,), (1378044995,), (1378045227,), (1377957814,), (1377957819,), (1377957914,), (1377957939,), (1377957940,), (1377957941,), (1377957942,), (1377957945,), (1377957948,), (1377957958,), (1377957960,), (1377957962,), (1377957978,), (1377957981,), (1377957984,), (1377957988,), (1377958088,), (1377958091,), (1377958095,), (1377958105,), (1377958109,), (1377958112,), (1377958130,), (1377958133,), (1377958136,), (1377958139,), (1377958142,), (1377958145,), (1377958176,), (1377958177,), (1377958198,), (1377958201,), (1377958204,), (1377958207,), (1377958210,), (1377958254,), (1377958256,), (1377958257,), (1377958336,), (1377958338,), (1377958340,), (1377958343,), (1377958346,), (1377958356,), (1377958388,), (1377958407,), (1377958410,), (1377958414,), (1377958421,), (1377958422,), (1377958383,), (1377958384,), (1377958490,), (1377958515,), (1377958519,), (1377958542,), (1377958549,), (1377958551,), (1377958554,), (1377958575,), (1377958576,), (1377958577,), (1377958579,), (1377958597,), (1377958599,), (1377958601,), (1377958605,), (1377958672,), (1377958674,), (1377958677,), (1377958681,), (1377958684,), (1377958767,), (1377958771,), (1377958775,), (1377958778,), (1377958782,), (1377958961,), (1377958986,), (1377959010,), (1377959037,), (1377959269,), (1377959271,), (1377959290,), (1377959302,), (1377959303,), (1377959348,), (1377959350,), (1377959352,), (1377959355,), (1377959358,), (1377959359,), (1377959364,), (1377959368,), (1377959372,), (1377959460,), (1377959485,), (1377959513,), (1377959536,), (1377959747,), (1377959757,), (1377959761,), (1377959767,), (1377959820,), (1377959824,), (1377959829,), (1377959833,), (1377959881,), (1377959883,), (1377959884,), (1377959887,), (1377959891,), (1377959894,), (1377959915,), (1377959918,), (1377959920,), (1377960088,), (1377960082,), (1377960085,), (1377960145,), (1377960148,), (1377960150,), (1377960178,), (1377960180,), (1377960190,), (1377960246,), (1377960249,), (1377960266,), (1377960268,), (1377960270,), (1377960391,), (1377960403,), (1377960408,), (1377960415,), (1377960417,), (1377960419,), (1377960436,), (1377960438,), (1377960439,), (1377960440,), (1377960442,), (1377960444,), (1377960454,), (1377960456,), (1377960458,), (1377960462,), (1377960470,), (1377960472,), (1377960489,), (1377960498,), (1377960500,), (1377960503,), (1377960560,), (1377960564,), (1377960568,), (1377960590,), (1377960597,), (1377960599,), (1377960604,), (1377960606,), (1377960609,), (1377960612,), (1377960615,), (1377960616,), (1377960618,), (1377960620,), (1377960623,), (1377960627,), (1377960629,), (1377960649,), (1377960652,), (1377960655,), (1377960657,), (1377960677,), (1377960681,), (1377960683,), (1377960685,), (1377960687,), (1377960706,), (1377960707,), (1377960708,), (1377960710,), (1377960713,), (1377960716,), (1377960733,), (1377960735,), (1377960737,), (1377960739,), (1377960757,), (1377960762,), (1377960766,), (1377960769,), (1377960796,), (1377960784,), (1377960786,), (1377960788,), (1377960791,), (1377960793,), (1377960825,), (1377960828,), (1377960832,), (1377960853,), (1377960867,), (1377960870,), (1377960886,), (1377960889,), (1377960911,), (1377960912,), (1377960913,), (1377960915,), (1377960928,), (1377960931,), (1377960934,), (1377960937,), (1377960940,), (1377960943,), (1377960955,), (1377960958,), (1377960960,), (1377960961,), (1377960964,), (1377960979,), (1377960987,), (1377960990,), (1377960992,), (1377960995,), (1377961010,), (1377961012,), (1377961015,), (1377961017,), (1377961035,), (1377961037,), (1377961077,), (1377961081,), (1377964177,), (1377964172,), (1377964175,), (1377964316,), (1377964318,), (1377964320,), (1377964323,), (1377964336,), (1377964338,), (1377964340,), (1377964342,), (1377964356,), (1377964359,), (1377964362,), (1377964365,), (1377964383,), (1377964386,), (1377964389,), (1377964394,), (1377964414,), (1377964417,), (1377964420,), (1377964423,), (1377964444,), (1377964446,), (1377964484,), (1377964487,), (1377964490,), (1377964493,), (1377964497,), (1377964511,), (1377964513,), (1377964515,), (1377964517,), (1377964532,), (1377964535,), (1377964538,), (1377964541,), (1377964569,), (1377964570,), (1377964589,), (1377964593,), (1377964596,), (1377964600,), (1377964623,), (1377964614,), (1377964617,), (1377964620,), (1377964644,), (1377964646,), (1377964647,), (1377964648,), (1377964650,), (1377964652,), (1377964668,), (1377964670,), (1377964672,), (1377964690,), (1377964692,), (1377964693,), (1377964694,), (1377964695,), (1377964697,), (1377964709,), (1377964712,), (1377964714,), (1377964717,), (1377964736,), (1377964739,), (1377964742,), (1377964745,), (1377964749,), (1377964753,), (1377964762,), (1377964765,), (1377964768,), (1377964771,), (1377964793,), (1377964795,), (1377964797,), (1377964800,), (1377964803,), (1377964819,), (1377964821,), (1377964843,), (1377964846,), (1377964850,), (1377964853,), (1377964867,), (1377964871,), (1377964873,), (1377964877,), (1377964895,), (1377964897,), (1377964899,), (1377964901,), (1377964919,), (1377964921,), (1377964953,), (1377964956,), (1377964959,), (1377964961,), (1377964963,), (1377964965,), (1377964981,), (1377964977,), (1377965002,), (1377965005,), (1377965008,), (1377965010,), (1377965025,), (1377965026,), (1377965027,), (1377965029,), (1377965032,), (1377965052,), (1377965054,), (1377965056,), (1377965057,), (1377965075,), (1377965079,), (1377965082,), (1377965094,), (1377965097,), (1377965099,), (1377965110,), (1377965112,), (1377965114,), (1377965116,), (1377965130,), (1377965132,), (1377965134,), (1377965137,), (1377965141,), (1377965145,), (1377965157,), (1377965159,), (1377965162,), (1377965166,), (1377965171,), (1377965182,), (1377965185,), (1377965188,), (1377965220,), (1377965223,), (1377965225,), (1377965227,), (1377965240,), (1377965242,), (1377965244,), (1377965246,), (1377965249,), (1377965263,), (1377965266,), (1377965269,), (1377965273,), (1377965286,), (1377965289,), (1377965292,), (1377965319,), (1377965320,), (1377965342,), (1377965339,), (1377965375,), (1377965376,), (1377965377,), (1377965379,), (1377965382,), (1377965398,), (1377965399,), (1377965400,), (1377965402,), (1377965406,), (1377965429,), (1377965433,), (1377965436,), (1377965449,), (1377965450,), (1377965451,), (1377965453,), (1377965467,), (1377965470,), (1377965472,), (1377965475,), (1377965478,), (1377965488,), (1377965490,), (1377965492,), (1377965495,), (1377965553,), (1377965555,), (1377965559,), (1377965580,), (1377965597,), (1377965599,), (1377965601,), (1377965604,), (1377965626,), (1377965629,), (1377965632,), (1377965635,), (1377965658,), (1377965660,), (1377965662,), (1377965726,), (1377965743,), (1377965747,), (1377965750,), (1377965768,), (1377965771,), (1377965792,), (1377965795,), (1377965797,), (1377965816,), (1377965818,), (1377965820,), (1377965822,), (1377965823,), (1377965825,), (1377965834,), (1377965835,), (1377965836,), (1377965861,), (1377965863,), (1377965864,), (1377965865,), (1377965879,), (1377965882,), (1377965903,), (1377965906,), (1377965907,), (1377965909,), (1377965930,), (1377965932,), (1377965934,), (1377965936,), (1377965965,), (1377965966,), (1377965967,), (1377965969,), (1377965972,), (1377965989,), (1377965992,), (1377965995,), (1377965998,), (1377966019,), (1377966021,), (1377966023,), (1377966025,), (1377966029,), (1377966032,), (1377966053,), (1377966056,), (1377966059,), (1377966060,), (1377966063,), (1377966092,), (1377966096,), (1377966098,), (1377966105,), (1377966107,), (1377966110,), (1377966082,), (1377966084,), (1377966088,), (1377966119,), (1377966122,), (1377966125,), (1377966129,), (1377966131,), (1377966143,), (1377966146,), (1377966149,), (1377966152,), (1377966156,), (1377966160,), (1377966179,), (1377966180,), (1377966181,), (1377966197,), (1377966199,), (1377966201,), (1377966203,), (1377966219,), (1377966221,), (1377966222,), (1377966223,), (1377966243,), (1377966245,), (1377966247,), (1377966249,), (1377966252,), (1377966265,), (1377966269,), (1377966272,), (1377966276,), (1377966279,), (1377966293,), (1377966295,), (1377966297,), (1377966300,), (1377966302,), (1377966321,), (1377966322,), (1377966346,), (1377966349,), (1377966351,), (1377966355,), (1377966359,), (1377966362,), (1377966371,), (1377966374,), (1377966376,), (1377966378,), (1377966402,), (1377966403,), (1377966404,), (1377966431,), (1377966434,), (1377966437,), (1377966460,), (1377966458,), (1377966479,), (1377966500,), (1377966502,), (1377966648,), (1377966651,), (1377966670,), (1377966673,), (1377966676,), (1377966679,), (1377966682,), (1377966695,), (1377966699,), (1377966703,), (1377966722,), (1377966725,), (1377966727,), (1377966729,), (1377966732,), (1377966735,), (1377966750,), (1377966753,), (1377966756,), (1377966759,), (1377966783,), (1377966788,), (1377966791,), (1377966794,), (1377966797,), (1377966819,), (1377966821,), (1377966822,), (1377966827,), (1377966830,), (1377966833,), (1377966813,), (1377966815,), (1377966817,), (1377966837,), (1377966838,), (1377966840,), (1377966858,), (1377966862,), (1377966886,), (1377966887,), (1377966888,), (1377966890,), (1377966894,), (1377966915,), (1377966917,), (1377966918,), (1377966919,), (1377966939,), (1377966941,), (1377966943,), (1377966963,), (1377966966,), (1377966969,), (1377966971,), (1377966974,), (1377966977,), (1377966988,), (1377966990,), (1377967009,), (1377967012,), (1377967015,), (1377967034,), (1377967036,), (1377967038,), (1377967063,), (1377967066,), (1377967070,), (1377967073,), (1377967075,), (1377967076,), (1377967093,), (1377967095,), (1377967096,), (1377967097,), (1377967099,), (1377967115,), (1377967117,), (1377967119,), (1377967122,), (1377967147,), (1377967153,), (1377967156,), (1377967173,), (1377967178,), (1377967181,), (1377967198,), (1377967194,), (1377967195,), (1377967196,), (1377967214,), (1377967216,), (1377967218,), (1377967220,), (1377967223,), (1377967225,), (1377967240,), (1377967244,), (1377967248,), (1377967251,), (1377967273,), (1377967275,), (1377967278,), (1377967297,), (1377967301,), (1377967304,), (1377967332,), (1377967334,), (1377967335,), (1377967337,), (1377967340,), (1377967356,), (1377967360,), (1377967364,), (1377967385,), (1377967387,), (1377967388,), (1377967389,), (1377967409,), (1377967412,), (1377967416,), (1377967437,), (1377967439,), (1377967440,), (1377967441,), (1377967455,), (1377967501,), (1377967640,), (1377967564,), (1377967635,), (1377967636,), (1377967637,), (1377967638,), (1377967657,), (1377967660,), (1377967664,), (1377967668,), (1377967692,), (1377967694,), (1377967696,), (1377967697,), (1377967699,), (1377967719,), (1377967721,), (1377967723,), (1377967725,), (1377967743,), (1377967744,), (1377967763,), (1377967767,), (1377967772,), (1377967777,), (1377967803,), (1377967805,), (1377967806,), (1377967807,), (1377967821,), (1377967823,), (1377967825,), (1377967828,), (1377967850,), (1377967852,), (1377967854,), (1377967880,), (1377967881,), (1377967882,), (1377967884,), (1377967887,), (1377967908,), (1377967912,), (1377967916,), (1377967925,), (1377967927,), (1377967929,), (1377967931,), (1377967955,), (1377967945,), (1377967952,), (1377967954,), (1377967968,), (1377967971,), (1377967978,), (1377967980,), (1377968000,), (1377968009,), (1377968011,), (1377968014,), (1377968017,), (1377968020,), (1377968035,), (1377968042,), (1377968045,), (1377968061,), (1377968071,), (1377968074,), (1377968076,), (1377968079,), (1377968099,), (1377968106,), (1377968107,), (1377968129,), (1377968138,), (1377968141,), (1377968144,), (1377968147,), (1377968150,), (1377968168,), (1377968177,), (1377968179,), (1377968201,), (1377968202,), (1377968209,), (1377968211,), (1377968214,), (1377968228,), (1377968708,), (1377970105,), (1377970114,), (1377970162,), (1377970228,), (1377970238,), (1377970326,), (1377970410,), (1377970415,), (1377970437,), (1377970453,), (1377970457,), (1377970462,), (1377970570,), (1377970598,), (1377970614,), (1377970686,), (1377970711,), (1377970760,), (1377970764,), (1377970818,), (1377970894,), (1377971669,), (1377971674,), (1377971677,), (1377971717,), (1377971720,), (1377971742,), (1377971745,), (1377971746,), (1377971793,), (1377971796,), (1377971903,), (1377971908,), (1377971933,), (1377971963,), (1377972040,), (1377972087,), (1377972107,), (1377972133,), (1377972137,), (1377972138,), (1377972155,), (1377972310,), (1377972331,), (1377972524,), (1377972752,), (1377972803,), (1377972804,), (1377972821,), (1377972886,), (1377973199,), (1377973293,), (1377973316,), (1377973819,), (1377973906,), (1377974755,), (1377974815,), (1377974864,), (1377974868,), (1377975031,), (1377975957,), (1377976109,), (1377976126,), (1377976800,), (1377977066,), (1377977081,), (1377977546,), (1377978228,), (1377978223,), (1377978606,), (1377978952,), (1377979005,), (1377979806,), (1377980040,), (1377980401,), (1377980679,), (1377981253,), (1377981250,), (1377981353,), (1377981580,), (1377981607,), (1377981935,), (1377981941,), (1377982057,), (1377982320,), (1377982353,), (1377982764,), (1377982743,), (1377983062,), (1377983821,), (1377983828,), (1377984121,), (1377984495,), (1377984499,), (1377984745,), (1377984741,), (1377984788,), (1377985103,), (1377985392,), (1377985402,), (1377985542,), (1377985601,), (1377985747,), (1377985978,), (1377985982,), (1377986253,), (1377986282,), (1377986380,), (1377986384,), (1377986528,), (1377986487,), (1377986692,), (1377986745,), (1377986899,), (1377986925,), (1377987453,), (1377987458,), (1377987623,), (1377987834,), (1377988358,), (1377988423,), (1377988741,), (1377988774,), (1377989024,), (1377989114,), (1377989119,), (1377989450,), (1377989678,), (1377990264,), (1377994181,), (1377994177,), (1377994220,), (1377994301,), (1377994389,), (1377994393,), (1377994395,), (1377994398,), (1377994401,), (1377994405,), (1377994421,), (1377994424,), (1377994426,), (1377994428,), (1377994500,), (1377994503,), (1377994561,), (1377994587,), (1377994634,), (1377994637,), (1377994639,), (1377994641,), (1377994644,), (1377994653,), (1377994710,), (1377994715,), (1377994718,), (1377994720,), (1377994735,), (1377994737,), (1377994758,), (1377994761,), (1377994762,), (1377994818,), (1377994836,), (1377994841,), (1377994914,), (1377994970,), (1377994972,), (1377994974,), (1377994977,), (1377994992,), (1377996701,), (1377996670,), (1377996676,), (1377997142,), (1377997163,), (1377997166,), (1377997169,), (1377997185,), (1377997311,), (1377997343,), (1377997386,), (1377997410,), (1377997462,), (1377997492,), (1377997831,), (1377997887,), (1377997952,), (1377997998,), (1377998208,), (1377998223,), (1377998225,), (1377998640,), (1377998665,), (1377998669,), (1377998672,), (1377998679,), (1377999040,), (1377998984,), (1377999026,), (1377999375,), (1377999427,), (1377999463,), (1377999831,), (1377999855,), (1378000236,), (1378000582,), (1378000587,), (1378000588,), (1378000597,), (1378000737,), (1378000780,), (1378000843,), (1378001240,), (1378001287,), (1378001346,), (1378001389,), (1378001965,), (1378002030,), (1378002075,), (1378002651,), (1378002695,), (1378002700,), (1378002703,), (1378002711,), (1378002714,), (1378002761,), (1378002796,), (1378002800,), (1378002945,), (1378003002,), (1378003026,), (1378003065,), (1378003090,), (1378003114,), (1378003219,), (1378003372,), (1378003402,), (1378003417,), (1378003426,), (1378003431,), (1378003500,), (1378003507,), (1378003529,), (1378003556,), (1378003603,), (1378003822,), (1378003826,), (1378003828,), (1378003830,), (1378003832,), (1378003835,), (1378003928,), (1378003952,), (1378003976,), (1378004368,), (1378004334,), (1378004337,), (1378004340,), (1378004343,), (1378004359,), (1378004535,), (1378004540,), (1378004550,), (1378004573,), (1378004621,), (1378004665,), (1378004825,), (1378004829,), (1378004838,), (1378005246,), (1378005272,), (1378005296,), (1378005323,), (1378005557,), (1378005564,), (1378005570,), (1378005574,), (1378005591,), (1378005627,), (1378005772,), (1378005806,), (1378005834,), (1378005862,), (1378006022,), (1378006036,), (1378006040,), (1378006055,), (1378006467,), (1378011952,), (1378011765,), (1378011799,), (1378012270,), (1378012282,), (1378012285,), (1378012290,), (1378012297,), (1378012319,), (1378012348,), (1378012352,), (1378012369,), (1378012372,), (1378012375,), (1378012581,), (1378012613,), (1378012645,), (1378012668,), (1378012695,), (1378012720,), (1378012921,), (1378012924,), (1378012926,), (1378012940,), (1378012948,), (1378012951,), (1378012966,), (1378012970,), (1378012973,), (1378012994,), (1378012998,), (1378013002,), (1378013022,), (1378013024,), (1378013027,), (1378013069,), (1378013095,), (1378013116,), (1378013139,), (1378013625,), (1378013631,), (1378013632,), (1378013635,), (1378013637,), (1378013605,), (1378013610,), (1378013615,), (1378013648,), (1378013653,), (1378013664,), (1378013689,), (1378013713,), (1378013738,), (1378013976,), (1378013997,), (1378014004,), (1378014031,), (1378014037,), (1378014041,), (1378014202,), (1378014227,), (1378014232,), (1378014237,), (1378014241,), (1378014252,), (1378014311,), (1378014317,), (1378014320,), (1378014325,), (1378014496,), (1378014513,), (1378014515,), (1378014520,), (1378014540,), (1378014564,), (1378014615,), (1378014621,), (1378014623,), (1378014627,), (1378014652,), (1378014675,), (1378014706,), (1378014711,), (1378014719,), (1378014759,), (1378014786,), (1378014815,), (1378014892,), (1378014992,), (1378015013,), (1378015040,), (1378015092,), (1378015351,), (1378015354,), (1378015356,), (1378015359,), (1378015382,), (1378015401,), (1378015584,), (1378015611,), (1378015637,), (1378015663,), (1378015831,), (1378015837,), (1378015839,), (1378015842,), (1378015865,), (1378015869,), (1378015906,), (1378015908,), (1378015922,), (1378015943,), (1378016055,), (1378016089,), (1378016135,), (1378016196,), (1378016249,), (1378016449,), (1378016452,), (1378016459,), (1378016462,), (1378016466,), (1378016658,), (1378016706,), (1378016709,), (1378016711,), (1378016732,), (1378017440,), (1378017432,), (1378017435,), (1378017437,), (1378017491,), (1378017496,), (1378017508,), (1378017511,), (1378017515,), (1378017644,), (1378017647,), (1378017649,), (1378017671,), (1378017694,), (1378018335,), (1378018566,), (1378018569,), (1378018588,), (1378018590,), (1378018593,), (1378018693,), (1378018716,), (1378018719,), (1378018732,), (1378018743,), (1378018749,), (1378018863,), (1378019084,), (1378019087,), (1378019088,), (1378019090,), (1378019092,), (1378019095,), (1378019153,), (1378019158,), (1378019162,), (1378019166,), (1378019170,), (1378019242,), (1378019245,), (1378019249,), (1378019253,), (1378019257,), (1378019311,), (1378019275,), (1378019285,), (1378019288,), (1378019291,), (1378019576,), (1378019600,), (1378019624,), (1378019652,), (1378019680,), (1378019729,), (1378019734,), (1378019737,), (1378019740,), (1378019743,), (1378019798,), (1378019810,), (1378019815,), (1378019819,), (1378019823,), (1378019840,), (1378019938,), (1378019958,), (1378019982,), (1378020012,), (1378020037,), (1378020375,), (1378020380,), (1378020394,), (1378020407,), (1378020412,), (1378020416,), (1378020529,), (1378020533,), (1378020536,), (1378020539,), (1378020542,), (1378020551,), (1378020612,), (1378020650,), (1378020655,), (1378020660,), (1378020666,), (1378020753,), (1378020779,), (1378020784,), (1378020790,), (1378020818,), (1378020845,), (1378021225,), (1378021280,), (1378021293,), (1378021295,), (1378021297,), (1378021362,), (1378021387,), (1378021413,), (1378021437,), (1378021464,), (1378021489,), (1378021651,), (1378021664,), (1378021667,), (1378021669,), (1378021844,), (1378021848,), (1378021851,), (1378021967,), (1378021994,), (1378022026,), (1378022041,), (1378022045,), (1378022049,), (1378022090,), (1378022092,), (1378022095,), (1378022098,), (1378022106,), (1378022114,), (1378022124,), (1378022129,), (1378022135,), (1378022146,), (1378022215,), (1378022255,), (1378022086,), (1378022088,), (1378022152,), (1378022162,), (1378022165,), (1378022171,), (1378022195,), (1378022353,), (1378022379,), (1378022401,), (1378022424,), (1378022472,), (1378022747,), (1378022774,), (1378022782,), (1378022908,), (1378022912,), (1378022914,), (1378022916,), (1378022919,), (1378022943,), (1378022947,), (1378022950,), (1378022953,), (1378022956,), (1378022960,), (1378023004,), (1378023005,), (1378023017,), (1378023026,), (1378023028,), (1378023044,), (1378023049,), (1378023089,), (1378023183,), (1378023205,), (1378023299,), (1378034895,), (1378045098,), (1378045129,), (1378045153,), (1378045177,), (1378045337,), (1378045339,), (1378045620,), (1378045726,), (1378045752,), (1378045779,), (1378045804,), (1378045825,), (1378046136,), (1378046176,), (1378046186,), (1378046190,), (1378046192,), (1378046195,), (1378046323,), (1378046327,), (1378046328,), (1378046330,), (1378046550,), (1378046553,), (1378046556,), (1378046560,), (1378046588,), (1378046618,), (1378046830,), (1378046871,), (1378046898,), (1378046927,), (1378047072,), (1378047075,), (1378047077,), (1378047081,), (1378047084,), (1378047110,), (1378047114,), (1378047117,), (1378047171,), (1378047190,), (1378047200,), (1378047202,), (1378047206,), (1378047215,), (1378047221,), (1378047395,), (1378047446,), (1378047492,), (1378047541,), (1378048142,), (1378048169,), (1378048194,), (1378048221,), (1378048666,), (1378048717,), (1378048773,), (1378048841,), (1378048912,), (1378049409,), (1378049213,), (1378049216,), (1378049233,), (1378049272,), (1378049342,), (1378049953,), (1378049979,), (1378050005,), (1378050047,), (1378050092,), (1378050163,), (1378050784,), (1378050827,), (1378050857,), (1378050874,), (1378051192,), (1378051228,), (1378051269,), (1378051319,), (1378051372,), (1378051418,), (1378051829,), (1378051854,), (1378051878,), (1378051907,), (1378052036,), (1378052063,), (1378052089,), (1378052112,), (1378052137,), (1378052154,), (1378052350,), (1378052374,), (1378052398,), (1378052423,), (1378052450,), (1378052680,), (1378052686,), (1378052706,), (1378052712,), (1378052755,), (1378052848,), (1378052852,), (1378052855,), (1378052881,), (1378053187,), (1378053214,), (1378053239,), (1378053264,), (1378053289,), (1378053315,), (1378053641,), (1378053668,), (1378053692,), (1378053897,), (1378053903,), (1378053906,), (1378054155,), (1378054210,), (1378054259,), (1378054310,), (1378054361,), (1378054409,), (1378054734,), (1378054744,), (1378054753,), (1378054781,), (1378055158,), (1378055257,), (1378055301,), (1378055356,), (1378055395,), (1378055399,), (1378055904,), (1378055647,), (1378055681,), (1378055735,), (1378055800,), (1378055854,), (1378056257,), (1378056259,), (1378056260,), (1378056371,), (1378056377,), (1378056381,), (1378056391,), (1378056417,), (1378056444,), (1378056714,), (1378056736,), (1378056738,), (1378056740,), (1378056742,), (1378056922,), (1378056934,), (1378056938,), (1378056942,), (1378056946,), (1378057268,), (1378057294,), (1378057325,), (1378057358,), (1378057361,), (1378057571,), (1378057598,), (1378057615,), (1378057617,), (1378057619,), (1378057620,), (1378057730,), (1378057733,), (1378057735,), (1378057738,), (1378057742,), (1378057778,), (1378057782,), (1378057787,), (1378057792,), (1378057795,), (1378057809,), (1378057821,), (1378057827,), (1378057830,), (1378057832,), (1378057834,), (1378057848,), (1378057852,), (1378057854,), (1378057858,), (1378057862,), (1378057897,), (1378057900,), (1378057921,), (1378057924,), (1378057932,), (1378057988,), (1378058001,), (1378058004,), (1378058006,), (1378058009,), (1378058035,), (1378058329,), (1378058353,), (1378058384,), (1378058431,), (1378058495,), (1378059113,), (1378059184,), (1378059249,), (1378059276,), (1378059621,), (1378059601,), (1378059618,), (1378059620,), (1378059717,), (1378059721,), (1378059742,), (1378059770,), (1378059799,), (1378060343,), (1378060392,), (1378060445,), (1378060507,), (1378060574,), (1378060626,), (1378063578,), (1378063624,), (1378063673,), (1378063719,), (1378064217,), (1378064271,), (1378064323,), (1378066221,), (1378066138,), (1378066172,), (1378066180,), (1378066203,), (1378066265,), (1378066310,), (1378066352,), (1378066390,), (1378066437,), (1378066715,), (1378066743,), (1378066768,), (1378066794,), (1378066820,), (1378067072,), (1378067075,), (1378067077,), (1378067078,), (1378067165,), (1378067219,), (1378067273,), (1378067322,), (1378067357,), (1378067385,), (1378067786,), (1378067812,), (1378067845,), (1378067894,), (1378067926,), (1378068195,), (1378068291,), (1378068319,), (1378068345,), (1378068374,), (1378068400,), (1378068721,), (1378068769,), (1378068815,), (1378068872,), (1378068918,), (1378069227,), (1378069255,), (1378069308,), (1378069369,), (1378069402,), (1378069448,), (1378069691,), (1378069698,), (1378069701,), (1378069786,), (1378069789,), (1378069790,), (1378069799,), (1378069848,), (1378069900,), (1378070113,), (1378070138,), (1378070141,), (1378070143,), (1378070153,), (1378070182,), (1378070272,), (1378070276,), (1378070278,), (1378070279,), (1378070366,), (1378070372,), (1378070381,), (1378070409,), (1378070992,), (1378071054,), (1378071094,), (1378071108,), (1378071136,), (1378071588,), (1378071506,), (1378071538,), (1378071563,), (1378071821,), (1378071855,), (1378071872,), (1378071894,), (1378071897,), (1378071919,), (1378072028,), (1378072036,), (1378072040,), (1378072044,), (1378072067,), (1378072072,), (1378072073,), (1378072074,), (1378072076,), (1378072091,), (1378072095,), (1378072137,), (1378072146,), (1378072150,), (1378072192,), (1378072207,), (1378072256,), (1378072280,), (1378072283,), (1378072398,), (1378072432,), (1378072463,), (1378072516,), (1378072570,), (1378072620,), (1378073193,), (1378073278,), (1378073340,), (1378073370,), (1378073377,), (1378073381,), (1378073548,), (1378073554,), (1378073570,), (1378073707,), (1378073711,), (1378073721,), (1378073725,), (1378074033,), (1378074065,), (1378074092,), (1378074117,), (1378074159,), (1378074478,), (1378074505,), (1378074530,), (1378074542,), (1378074545,), (1378074547,), (1378074601,), (1378074629,), (1378074654,), (1378074907,), (1378074910,), (1378074930,), (1378074980,), (1378075011,), (1378075300,), (1378075331,), (1378075361,), (1378075388,), (1378075412,), (1378075823,), (1378075712,), (1378075745,), (1378075770,), (1378075796,), (1378076163,), (1378076189,), (1378076214,), (1378076826,), (1378076854,), (1378076885,), (1378076934,), (1378076981,), (1378077012,), (1378077297,), (1378077347,), (1378077399,), (1378077458,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'20082025': {'nb_upload': 17, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26085320]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1378077458, 1378077399, 1378077347, 1378077297, 1378077012, 1378076981, 1378076934, 1378076885, 1378076854, 1378076826] map_info['map_portfolio_photo'] : {26085320: [1378077458, 1378077399, 1378077347, 1378077297, 1378077012, 1378076981, 1378076934, 1378076885, 1378076854, 1378076826, 1378076214, 1378076189, 1378076163, 1378075796, 1378075770, 1378075745, 1378075712]} final : True mtd_id 4302 list_pids : [1378077458, 1378077399, 1378077347, 1378077297, 1378077012, 1378076981, 1378076934, 1378076885, 1378076854, 1378076826] Looping around the photos to save general results len do output : 1 /26085320Didn'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, '3558844') ('4302', '26085320', '1378077458', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378077399', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378077347', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378077297', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378077012', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378076981', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378076934', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378076885', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378076854', None, None, None, None, None, '3558844') ('4302', None, None, None, None, None, None, None, '3558844') ('4302', '26085320', '1378076826', None, None, None, None, None, '3558844') 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', None, '26085320', 'None', None, None, None, None, '3558844'), ('4302', '26085320', '1378077458', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378077399', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378077347', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378077297', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378077012', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378076981', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378076934', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378076885', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378076854', None, None, None, None, None, '3558844'), ('4302', '26085320', '1378076826', None, None, None, None, None, '3558844')] time used for this insertion : 0.013566732406616211 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.0404369831085205 time spend to save output : 0.013751745223999023 total time spend for step 5 : 2.0541887283325195 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 (3558844) 1.96user 2.24system 0:09.46elapsed 44%CPU (0avgtext+0avgdata 158848maxresident)k 120inputs+6216outputs (14major+64226minor)pagefaults 0swaps