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 : 1995109 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 (3588364) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3588364) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26200335 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3588364'] with mtr_portfolio_ids : ['26200335'] and first list_photo_ids : [] new path : /proc/1995109/ Name: python3 Umask: 0002 State: R (running) Tgid: 1995109 Ngid: 0 Pid: 1995109 PPid: 1995108 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1995109 NSpid: 1995109 NSpgid: 1991985 NSsid: 1991985 VmPeak: 1107248 kB VmSize: 1107248 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99524 kB VmRSS: 99524 kB RssAnon: 60160 kB RssFile: 39364 kB RssShmem: 0 kB VmData: 866000 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 604 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 50 nonvoluntary_ctxt_switches: 92 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1995109', 'Ngid': '0', 'Pid': '1995109', 'PPid': '1995108', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1995109', 'NSpid': '1995109', 'NSpgid': '1991985', 'NSsid': '1991985', 'VmPeak': '1107248 kB', 'VmSize': '1107248 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99524 kB', 'VmRSS': '99524 kB', 'RssAnon': '60160 kB', 'RssFile': '39364 kB', 'RssShmem': '0 kB', 'VmData': '866000 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '604 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '50', 'nonvoluntary_ctxt_switches': '92'} ('datou_batch_current', '1995109', '1107248', '0', '1107248', '866000', '99524', b'', 'marlene', '3588364') 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 (26200335) 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 (3588364 ) ) 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 (26200335) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1379216881, 'portfolio_id': 26200335}, {'photo_id': 1379202901, 'portfolio_id': 26200335}, {'photo_id': 1379202900, 'portfolio_id': 26200335}, {'photo_id': 1379202417, 'portfolio_id': 26200335}, {'photo_id': 1379202414, 'portfolio_id': 26200335}, {'photo_id': 1379202410, 'portfolio_id': 26200335}, {'photo_id': 1379202407, 'portfolio_id': 26200335}, {'photo_id': 1379200351, 'portfolio_id': 26200335}, {'photo_id': 1379199249, 'portfolio_id': 26200335}, {'photo_id': 1379199248, 'portfolio_id': 26200335}, {'photo_id': 1379199247, 'portfolio_id': 26200335}] map_portfolio_id_photo_id: {26200335: [1379216881, 1379202901, 1379202900, 1379202417, 1379202414, 1379202410, 1379202407, 1379200351, 1379199249, 1379199248, 1379199247]} ##### 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.015874147415161133 #### 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 Mon Aug 25 15:20: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 (26200335) 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 : 26200335 get user id for portfolio 26200335 get sub ptf for main ptf 26200335, type 3726 and hashtags ['cartonnette', 'Teint_Dans_La_Masse', 'autre_refus', 'mal_croppe', 'Carton_brun', 'papier', 'Carton_gris', 'kraft', 'plastique', 'environnement', 'metal', 'flou'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26200335 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Teint_Dans_La_Masse','autre_refus','mal_croppe','Carton_brun','papier','Carton_gris','kraft','plastique','environnement','metal','flou')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26200335 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Teint_Dans_La_Masse','autre_refus','mal_croppe','Carton_brun','papier','Carton_gris','kraft','plastique','environnement','metal','flou')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 26200335, 'sub_port_id': 26200391, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643779, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 28)}, 'cartonnette': {'main_port_id': 26200335, 'sub_port_id': 26200392, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643780, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 28)}, 'flou': {'main_port_id': 26200335, 'sub_port_id': 26200393, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643781, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 28)}, 'kraft': {'main_port_id': 26200335, 'sub_port_id': 26200394, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643782, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 28)}, 'environnement': {'main_port_id': 26200335, 'sub_port_id': 26200395, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643783, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 28)}, 'mal_croppe': {'main_port_id': 26200335, 'sub_port_id': 26200396, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643784, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 28)}, 'autre_refus': {'main_port_id': 26200335, 'sub_port_id': 26200397, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643785, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 28)}, 'papier': {'main_port_id': 26200335, 'sub_port_id': 26200398, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643786, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 28)}, 'Carton_brun': {'main_port_id': 26200335, 'sub_port_id': 26200399, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643787, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 28)}, 'metal': {'main_port_id': 26200335, 'sub_port_id': 26200400, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643788, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 28)}, 'Carton_gris': {'main_port_id': 26200335, 'sub_port_id': 26200401, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643789, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 26200335, 'sub_port_id': 26200402, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643790, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26200391 , 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=26200335 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 (26200391) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26200335) result : ((1379199247,), (1379199248,), (1379199249,), (1379200351,), (1379202407,), (1379202410,), (1379202414,), (1379202417,), (1379202900,), (1379202901,), (1379216881,)) 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 (1379202900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26200392 , 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=26200335 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 (26200392) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26200335) result : ((1379199247,), (1379199248,), (1379199249,), (1379200351,), (1379202407,), (1379202410,), (1379202414,), (1379202417,), (1379202900,), (1379202901,), (1379216881,)) 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 (1379202900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26200393 , 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=26200335 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 (26200393) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26200335) result : ((1379199247,), (1379199248,), (1379199249,), (1379200351,), (1379202407,), (1379202410,), (1379202414,), (1379202417,), (1379202900,), (1379202901,), (1379216881,)) 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 (1379202900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26200394 , 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=26200335 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 (26200394) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26200335) result : ((1379199247,), (1379199248,), (1379199249,), (1379200351,), (1379202407,), (1379202410,), (1379202414,), (1379202417,), (1379202900,), (1379202901,), (1379216881,)) 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 (1379202900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26200395 , 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=26200335 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 (26200395) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26200335) result : ((1379199247,), (1379199248,), (1379199249,), (1379200351,), (1379202407,), (1379202410,), (1379202414,), (1379202417,), (1379202900,), (1379202901,), (1379216881,)) 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 (1379202900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26200396 , 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=26200335 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 (26200396) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26200335) result : ((1379199247,), (1379199248,), (1379199249,), (1379200351,), (1379202407,), (1379202410,), (1379202414,), (1379202417,), (1379202900,), (1379202901,), (1379216881,)) 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 (1379202900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26200397 , 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=26200335 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 (26200397) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26200335) result : ((1379199247,), (1379199248,), (1379199249,), (1379200351,), (1379202407,), (1379202410,), (1379202414,), (1379202417,), (1379202900,), (1379202901,), (1379216881,)) 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 (1379202900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26200398 , 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=26200335 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 (26200398) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26200335) result : ((1379199247,), (1379199248,), (1379199249,), (1379200351,), (1379202407,), (1379202410,), (1379202414,), (1379202417,), (1379202900,), (1379202901,), (1379216881,)) 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 (1379202900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26200399 , 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=26200335 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 (26200399) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26200335) result : ((1379199247,), (1379199248,), (1379199249,), (1379200351,), (1379202407,), (1379202410,), (1379202414,), (1379202417,), (1379202900,), (1379202901,), (1379216881,)) 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 (1379202900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26200400 , 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=26200335 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 (26200400) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26200335) result : ((1379199247,), (1379199248,), (1379199249,), (1379200351,), (1379202407,), (1379202410,), (1379202414,), (1379202417,), (1379202900,), (1379202901,), (1379216881,)) 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 (1379202900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26200401 , 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=26200335 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 (26200401) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26200335) result : ((1379199247,), (1379199248,), (1379199249,), (1379200351,), (1379202407,), (1379202410,), (1379202414,), (1379202417,), (1379202900,), (1379202901,), (1379216881,)) 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 (1379202900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26200402 , 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=26200335 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 (26200402) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26200335) result : ((1379199247,), (1379199248,), (1379199249,), (1379200351,), (1379202407,), (1379202410,), (1379202414,), (1379202417,), (1379202900,), (1379202901,), (1379216881,)) 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 (1379202900) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26200335 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Teint_Dans_La_Masse','autre_refus','mal_croppe','Carton_brun','papier','Carton_gris','kraft','plastique','environnement','metal','flou')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26200335 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Teint_Dans_La_Masse','autre_refus','mal_croppe','Carton_brun','papier','Carton_gris','kraft','plastique','environnement','metal','flou')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 26200335, 'sub_port_id': 26200404, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643791, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 29)}, 'cartonnette': {'main_port_id': 26200335, 'sub_port_id': 26200405, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643792, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 29)}, 'flou': {'main_port_id': 26200335, 'sub_port_id': 26200406, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643793, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 29)}, 'kraft': {'main_port_id': 26200335, 'sub_port_id': 26200407, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643794, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 29)}, 'environnement': {'main_port_id': 26200335, 'sub_port_id': 26200408, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643795, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 29)}, 'mal_croppe': {'main_port_id': 26200335, 'sub_port_id': 26200409, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643796, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 29)}, 'autre_refus': {'main_port_id': 26200335, 'sub_port_id': 26200411, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643797, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 29)}, 'papier': {'main_port_id': 26200335, 'sub_port_id': 26200412, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643798, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 29)}, 'Carton_brun': {'main_port_id': 26200335, 'sub_port_id': 26200413, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643799, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 29)}, 'metal': {'main_port_id': 26200335, 'sub_port_id': 26200414, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643800, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 29)}, 'Carton_gris': {'main_port_id': 26200335, 'sub_port_id': 26200415, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643801, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 3, 29), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 26200335, 'sub_port_id': 26200416, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17643802, 'last_updated_at': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_desc': datetime.datetime(2025, 8, 25, 12, 10, 30), 'last_updated_at_asc': datetime.datetime(2025, 8, 25, 12, 3, 29)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26200404,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26200391 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26200405,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26200392 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26200406,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26200393 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26200407,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26200394 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26200408,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26200395 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26200409,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26200396 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26200411,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26200397 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26200412,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26200398 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26200413,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26200399 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26200414,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26200400 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26200415,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26200401 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26200416,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26200402 lien utilise dans velours : https://www.fotonower.com/velours/26200404,26200405,26200406,26200407,26200408,26200409,26200411,26200412,26200413,26200414,26200415,26200416?tags=plastique,cartonnette,flou,kraft,environnement,mal_croppe,autre_refus,papier,Carton_brun,metal,Carton_gris,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26200335]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1379216881] map_info['map_portfolio_photo'] : {26200335: [1379216881, 1379202901, 1379202900, 1379202417, 1379202414, 1379202410, 1379202407, 1379200351, 1379199249, 1379199248, 1379199247]} final : False mtd_id 4302 list_pids : [1379216881] Looping around the photos to save general results len do output : 1 /26200335. 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, '3588364') ('4302', '26200335', '1379216881', None, None, None, None, None, '3588364') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 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, '26200335', "{'plastique': 26200391, 'cartonnette': 26200392, 'flou': 26200393, 'kraft': 26200394, 'environnement': 26200395, 'mal_croppe': 26200396, 'autre_refus': 26200397, 'papier': 26200398, 'Carton_brun': 26200399, 'metal': 26200400, 'Carton_gris': 26200401, 'Teint_Dans_La_Masse': 26200402}", None, None, None, None, '3588364'), ('4302', '26200335', '1379216881', None, None, None, None, None, '3588364')] time used for this insertion : 0.013766050338745117 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.406635046005249 time spend to save output : 0.014018774032592773 total time spend for step 1 : 0.4206538200378418 step2:final Mon Aug 25 15:20:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26200335) 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 26200335 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1379199249,1379199248,1379199247,1379200351,1379202417,1379202414,1379202410,1379202407,1379202901,1379202900,1379216881); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26200335]) Inside saveOutput : final : False verbose : True original output for save of step final : {1379216881: ('0.0',)} new output for save of step final : {1379216881: ('0.0',)} [1379216881] map_info['map_portfolio_photo'] : {26200335: [1379216881, 1379202901, 1379202900, 1379202417, 1379202414, 1379202410, 1379202407, 1379200351, 1379199249, 1379199248, 1379199247]} final : False mtd_id 4302 list_pids : [1379216881] Looping around the photos to save general results len do output : 1 /1379216881.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, '3588364') ('4302', '26200335', '1379216881', None, None, None, None, None, '3588364') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 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', '26200335', '1379216881', '0.0', None, None, None, None, '3588364')] time used for this insertion : 0.015782833099365234 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.04933953285217285 time spend to save output : 0.01600813865661621 total time spend for step 2 : 0.06534767150878906 step3:velours_tree Mon Aug 25 15:20:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {26200335: [{'plastique': 26200391, 'cartonnette': 26200392, 'flou': 26200393, 'kraft': 26200394, 'environnement': 26200395, 'mal_croppe': 26200396, 'autre_refus': 26200397, 'papier': 26200398, 'Carton_brun': 26200399, 'metal': 26200400, 'Carton_gris': 26200401, 'Teint_Dans_La_Masse': 26200402}]} input_args_next_step : {26200335: ()} output_args : {26200335: [{'plastique': 26200391, 'cartonnette': 26200392, 'flou': 26200393, 'kraft': 26200394, 'environnement': 26200395, 'mal_croppe': 26200396, 'autre_refus': 26200397, 'papier': 26200398, 'Carton_brun': 26200399, 'metal': 26200400, 'Carton_gris': 26200401, 'Teint_Dans_La_Masse': 26200402}]} args : 26200335 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 : ({'plastique': 26200391, 'cartonnette': 26200392, 'flou': 26200393, 'kraft': 26200394, 'environnement': 26200395, 'mal_croppe': 26200396, 'autre_refus': 26200397, 'papier': 26200398, 'Carton_brun': 26200399, 'metal': 26200400, 'Carton_gris': 26200401, 'Teint_Dans_La_Masse': 26200402},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26200335) 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([26200335]) 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.3096485137939453 time spend to save output : 5.054473876953125e-05 total time spend for step 3 : 0.30969905853271484 step4:send_mail_cod Mon Aug 25 15:20:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1379216881: ('0.0',)} input_args_next_step : {1379216881: ()} output_args : {1379216881: ('0.0',)} args : 1379216881 depend.output_id : 0 complete output_args for input 3 : {26200335: [{'plastique': 26200391, 'cartonnette': 26200392, 'flou': 26200393, 'kraft': 26200394, 'environnement': 26200395, 'mal_croppe': 26200396, 'autre_refus': 26200397, 'papier': 26200398, 'Carton_brun': 26200399, 'metal': 26200400, 'Carton_gris': 26200401, 'Teint_Dans_La_Masse': 26200402}]} input_args_next_step : {1379216881: ('0.0',), 26200335: ()} output_args : {26200335: [{'plastique': 26200391, 'cartonnette': 26200392, 'flou': 26200393, 'kraft': 26200394, 'environnement': 26200395, 'mal_croppe': 26200396, 'autre_refus': 26200397, 'papier': 26200398, 'Carton_brun': 26200399, 'metal': 26200400, 'Carton_gris': 26200401, 'Teint_Dans_La_Masse': 26200402}]} args : 26200335 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 :2, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26200335) 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 (1379216881) Found this number of photos: 1 ##### Call download_photos : nb_thread : 5 begin to download photo : 1379216881 download finish for photo 1379216881 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette262003911756128059/ imagette262003921756128059/ imagette262003931756128059/ imagette262003941756128059/ imagette262003961756128059/ imagette262003971756128059/ imagette262004001756128059/ imagette262003991756128059/ imagette262004011756128059/ imagette262004021756128059/ length of list_filenames : 1 ; length of list_pids : 1 ; length of list_args : 1 results_Auto_P26200335_25-08-2025_15_20_59.pdf 26200391 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=26200391 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262003911756128059 26200392 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=26200392 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262003921756128059 26200393 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=26200393 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262003931756128059 26200394 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=26200394 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262003941756128059 26200396 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=26200396 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262003961756128059 26200397 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=26200397 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262003971756128059 26200400 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=26200400 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262004001756128059 26200399 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=26200399 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262003991756128059 26200401 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=26200401 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262004011756128059 26200402 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=26200402 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262004021756128059 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26200335 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26200404,26200405,26200406,26200407,26200408,26200409,26200411,26200412,26200413,26200414,26200415,26200416?tags=plastique,cartonnette,flou,kraft,environnement,mal_croppe,autre_refus,papier,Carton_brun,metal,Carton_gris,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1379216881] : ('0.0',) no score found for photo 1379216881 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=26200335 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_P26200335_25-08-2025_15_20_59.pdf results_Auto_P26200335_25-08-2025_15_20_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26200335_25-08-2025_15_20_59.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','26200335','results_Auto_P26200335_25-08-2025_15_20_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26200335_25-08-2025_15_20_59.pdf','pdf','','0.04','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26200335]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1379216881] map_info['map_portfolio_photo'] : {26200335: [1379216881, 1379202901, 1379202900, 1379202417, 1379202414, 1379202410, 1379202407, 1379200351, 1379199249, 1379199248, 1379199247]} final : False mtd_id 4302 list_pids : [1379216881] 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, '3588364') ('4302', '26200335', '1379216881', None, None, None, None, None, '3588364') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 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', '26200335', '1379216881', None, None, None, None, None, '3588364')] time used for this insertion : 0.015017032623291016 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.0300488471984863 time spend to save output : 0.015184164047241211 total time spend for step 4 : 1.0452330112457275 step5:split_time_score Mon Aug 25 15:21: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 : ['26200335'] 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 : [('26200335',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26200335) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1379216881: {'path': 'temp/1756128058_1995109_1379216881_43702bc0827e90793c409e2ca02c924a_80545440.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 = 26200335; (('arc_en_ciel_jrm_bis',),) 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 = 26200335 group by h (('12', 11),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26200335 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 (26200335) 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 (26200335) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 25082025 26200335 Nombre de photos uploadées : 11 / 23040 (0%) 25082025 26200335 Nombre de photos taguées (types de déchets): 0 / 11 (0%) 25082025 26200335 Nombre de photos taguées (volume) : 0 / 11 (0%) [{'photo_id': 1379199249, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/25/8417e01899855dc89aa5b26d4feec983_53900308.jpg', 'username': None, 'uploaded_at': 1756116072, 'text': 'image_25082025_12_00_15_10135.jpg'}, {'photo_id': 1379199248, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/25/3af29b75ccd71aaa14bdeed7b6ebd697_5703992.jpg', 'username': None, 'uploaded_at': 1756116072, 'text': 'image_25082025_12_00_25_10138.jpg'}, {'photo_id': 1379199247, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/25/50481267713031b1a7163377f825fd1b_87353358.jpg', 'username': None, 'uploaded_at': 1756116072, 'text': 'image_25082025_12_00_44_10138.jpg'}, {'photo_id': 1379200351, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/25/1eed80710a524250158eb1faaf776ea1_58977051.jpg', 'username': None, 'uploaded_at': 1756116312, 'text': 'image_25082025_12_00_54_10138.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 8.344650268554688e-06 ??????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006184577941894531 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 216, 26200335, '2025-08-25' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 216 and date = '2025-08-25' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2167671,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2238466739654541 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= 2167671 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26190693, 'dashboard_result_id': 14259826, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26190693_25-08-2025_05_23_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26190694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26190695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26190696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26190697, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26190698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26190699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26190700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26190701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26190702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26190703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26190704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26190705, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26190838, 'dashboard_result_id': 14259827, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26190838_25-08-2025_05_34_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26190840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26190841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26190842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26190843, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26190844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26190845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26190846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26190847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26190848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26190849, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26190850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26190851, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26191029, 'dashboard_result_id': 14259828, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191029_25-08-2025_06_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26191038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191048, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26191180, 'dashboard_result_id': 14259829, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191180_25-08-2025_06_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26191191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191192, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26191444, 'dashboard_result_id': 14259830, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191444_25-08-2025_06_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191450, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26191452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191460, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191461, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26191624, 'dashboard_result_id': 14259831, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191624_25-08-2025_06_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26191637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191639, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191648, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26191825, 'dashboard_result_id': 14259832, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191825_25-08-2025_07_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26191830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191836, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191838, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26192047, 'dashboard_result_id': 14259833, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192047_25-08-2025_07_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26192060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26192061, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26192062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26192063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26192064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26192065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26192066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26192067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26192068, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26192069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26192070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26192071, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26192571, 'dashboard_result_id': 14259834, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192571_25-08-2025_07_33_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26192583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26192584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26192585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26192586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26192587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26192588, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26192589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26192590, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26192591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26192592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26192593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26192594, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26192848, 'dashboard_result_id': 14259835, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192848_25-08-2025_07_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26192873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26192874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26192875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26192876, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26192877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26192878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26192879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26192880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26192881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26192882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26192883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26192884, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26193178, 'dashboard_result_id': 14259836, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26193178_25-08-2025_08_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26193184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26193185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26193186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26193187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26193188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26193189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26193190, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26193191, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26193192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26193193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26193194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26193195, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26193504, 'dashboard_result_id': 14259837, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26193504_25-08-2025_08_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26193527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26193528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26193529, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26193530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26193531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26193532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26193533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26193534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26193535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26193536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26193537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26193538, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26194072, 'dashboard_result_id': 14259838, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26194072_25-08-2025_08_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26194117, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26194118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26194119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26194120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26194121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26194122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26194123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26194124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26194125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26194126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26194127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26194128, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26194424, 'dashboard_result_id': 14259839, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26194424_25-08-2025_08_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26194483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26194484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26194485, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26194486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26194487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26194488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26194489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26194490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26194491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26194492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26194493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26194494, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26195010, 'dashboard_result_id': 14259840, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26195010_25-08-2025_09_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26195042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26195043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26195044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26195045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26195046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26195047, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26195048, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26195049, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26195050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26195051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26195052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26195053, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26196382, 'dashboard_result_id': 14259841, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26196382_25-08-2025_09_46_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26196388, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26196389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26196390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26196391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26196392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26196393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26196394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26196395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26196396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26196397, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26196398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26196399, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26196724, 'dashboard_result_id': 14259842, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26196724_25-08-2025_10_02_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26196732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26196733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26196734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26196735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26196736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26196738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26196739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26196740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26196741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26196742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26196743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26196744, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26197261, 'dashboard_result_id': 14259843, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26197261_25-08-2025_10_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26197267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26197268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26197269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26197270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26197272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26197273, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26197274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26197276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26197277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26197278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26197280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26197281, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26198027, 'dashboard_result_id': 14259844, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26198027_25-08-2025_10_47_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26198084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26198085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26198086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26198087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26198088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26198089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26198090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26198091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26198093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26198094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26198095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26198096, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26198417, 'dashboard_result_id': 14259845, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26198417_25-08-2025_11_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26198473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26198474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26198475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26198476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26198477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26198478, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26198479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26198480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26198481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26198482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26198483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26198484, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26198801, 'dashboard_result_id': 14259846, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26198801_25-08-2025_11_17_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26198814, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26198815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26198816, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26198817, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26198818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26198819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26198820, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26198821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26198822, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26198823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26198824, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26198825, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26199106, 'dashboard_result_id': 14259847, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26199106_25-08-2025_11_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26199159, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26199160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26199161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26199162, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26199163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26199164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26199165, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26199166, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26199167, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26199168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26199169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26199170, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26199563, 'dashboard_result_id': 14259848, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26199563_25-08-2025_11_46_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26199575, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26199576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26199577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26199578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26199579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26199580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26199581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26199582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26199583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26199584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26199585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26199586, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26199958, 'dashboard_result_id': 14259849, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26199958_25-08-2025_12_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26199974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26199975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26199976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26199977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26199978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26199979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26199980, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26199981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26199982, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26199983, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26199984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26199985, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26200335, 'dashboard_result_id': 14259850, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26200335_25-08-2025_12_10_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26200391, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26200392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26200393, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26200394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26200395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26200396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26200397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26200398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26200399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26200400, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26200401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26200402, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26202393, 'dashboard_result_id': 14259851, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26202393_25-08-2025_13_46_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26202399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26202400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26202401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26202402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26202403, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26202404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26202405, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26202406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26202407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26202408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26202409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26202410, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26202540, 'dashboard_result_id': 14259852, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26202540_25-08-2025_14_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26202546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26202547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26202548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26202549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26202550, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26202551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26202552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26202553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26202554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26202555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26202556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26202557, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26202807, 'dashboard_result_id': 14259853, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26202807_25-08-2025_14_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26202921, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26202923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26202924, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26202925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26202926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26202927, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26202928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26202929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26202930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26202931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26202932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26202933, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26203254, 'dashboard_result_id': 14259854, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26203254_25-08-2025_14_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26203302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26203303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26203304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26203305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26203306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26203307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26203308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26203309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26203310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26203311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26203312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26203313, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26203612, 'dashboard_result_id': 14259855, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26203612_25-08-2025_14_46_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26203632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26203633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26203634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26203635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26203636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26203637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26203638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26203639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26203640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26203641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26203642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26203643, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26203963, 'dashboard_result_id': 14259856, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26203963_25-08-2025_15_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26203968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26203969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26203970, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26203971, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26203972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26203973, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26203974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26203975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26203976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26203977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26203978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26203979, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26204256, 'dashboard_result_id': 14259857, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26204256_25-08-2025_15_16_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26204317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26204318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26204319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26204320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26204321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26204322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26204323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26204324, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26204325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26204326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26204327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26204328, 'pht': 3726}}"}, {'dashboat_entry_day': 2167671, 'dashboard_run_id': 2178113, 'mtr_portfolio_id': 26204655, 'dashboard_result_id': 14259858, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26204655_25-08-2025_15_18_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26204681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26204682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26204684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26204685, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26204686, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26204687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26204688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26204689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26204690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26204691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26204692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26204693, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26190693 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3584565, 'mtr_portfolio_id': 26190693, 'created_at': datetime.datetime(2025, 8, 25, 5, 23, 30), 'result': '0.05132301580300638', 'result_long': None, 'result_double': None}] Qualite : 0.05132301580300638 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26190693 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26190693_25-08-2025_05_23_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26190693 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26190693_25-08-2025_05_23_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26190694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26190695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26190696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26190697, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26190698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26190699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26190700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26190701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26190702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26190703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26190704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26190705, 'pht': 3726}}" where mtr_portfolio_id = 26190693 and dashboard_run_id = 2178113 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26190693 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14259826, 0.05132301580300638, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26190693_25-08-2025_05_23_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26190694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26190695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26190696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26190697, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26190698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26190699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26190700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26190701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26190702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26190703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26190704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26190705, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26190838 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3584602, 'mtr_portfolio_id': 26190838, 'created_at': datetime.datetime(2025, 8, 25, 5, 34, 57), 'result': '0.003340568246483041', 'result_long': None, 'result_double': None}] Qualite : 0.003340568246483041 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26190838 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26190838_25-08-2025_05_34_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26190838 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26190838_25-08-2025_05_34_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26190840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26190841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26190842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26190843, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26190844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26190845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26190846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26190847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26190848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26190849, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26190850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26190851, 'pht': 3726}}" where mtr_portfolio_id = 26190838 and dashboard_run_id = 2178113 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26190838 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14259827, 0.003340568246483041, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26190838_25-08-2025_05_34_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26190840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26190841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26190842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26190843, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26190844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26190845, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26190846, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26190847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26190848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26190849, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26190850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26190851, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26191029 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26191029 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26191029 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26191029 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26191029 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26191029 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191029_25-08-2025_06_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26191029 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191029_25-08-2025_06_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26191038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191040, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191048, 'pht': 3726}}" where mtr_portfolio_id = 26191029 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26191180 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26191180 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26191180 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26191180 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26191180 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26191180 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191180_25-08-2025_06_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26191180 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191180_25-08-2025_06_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26191191, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191192, 'pht': 3726}}" where mtr_portfolio_id = 26191180 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26191444 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26191444 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26191444 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26191444 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26191444 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26191444 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191444_25-08-2025_06_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26191444 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191444_25-08-2025_06_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191450, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191451, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26191452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191455, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191459, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191460, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191461, 'pht': 3726}}" where mtr_portfolio_id = 26191444 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26191624 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26191624 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26191624 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26191624 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26191624 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26191624 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191624_25-08-2025_06_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26191624 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191624_25-08-2025_06_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26191637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191639, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191645, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191648, 'pht': 3726}}" where mtr_portfolio_id = 26191624 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26191825 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26191825 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26191825 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26191825 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26191825 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26191825 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191825_25-08-2025_07_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26191825 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26191825_25-08-2025_07_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26191827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26191828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26191829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26191830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26191831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26191832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26191833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26191834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26191835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26191836, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26191837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26191838, 'pht': 3726}}" where mtr_portfolio_id = 26191825 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26192047 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26192047 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26192047 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26192047 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26192047 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26192047 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192047_25-08-2025_07_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26192047 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192047_25-08-2025_07_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26192060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26192061, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26192062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26192063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26192064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26192065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26192066, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26192067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26192068, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26192069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26192070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26192071, 'pht': 3726}}" where mtr_portfolio_id = 26192047 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26192571 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26192571 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26192571 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26192571 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26192571 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26192571 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192571_25-08-2025_07_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26192571 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192571_25-08-2025_07_33_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26192583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26192584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26192585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26192586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26192587, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26192588, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26192589, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26192590, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26192591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26192592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26192593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26192594, 'pht': 3726}}" where mtr_portfolio_id = 26192571 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26192848 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26192848 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26192848 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26192848 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26192848 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26192848 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192848_25-08-2025_07_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26192848 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26192848_25-08-2025_07_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26192873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26192874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26192875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26192876, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26192877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26192878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26192879, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26192880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26192881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26192882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26192883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26192884, 'pht': 3726}}" where mtr_portfolio_id = 26192848 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26193178 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26193178 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26193178 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26193178 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26193178 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26193178 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26193178_25-08-2025_08_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26193178 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26193178_25-08-2025_08_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26193184, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26193185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26193186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26193187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26193188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26193189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26193190, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26193191, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26193192, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26193193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26193194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26193195, 'pht': 3726}}" where mtr_portfolio_id = 26193178 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26193504 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26193504 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26193504 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26193504 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26193504 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26193504 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26193504_25-08-2025_08_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26193504 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26193504_25-08-2025_08_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26193527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26193528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26193529, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26193530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26193531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26193532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26193533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26193534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26193535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26193536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26193537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26193538, 'pht': 3726}}" where mtr_portfolio_id = 26193504 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26194072 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26194072 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26194072 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26194072 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26194072 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26194072 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26194072_25-08-2025_08_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26194072 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26194072_25-08-2025_08_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26194117, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26194118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26194119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26194120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26194121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26194122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26194123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26194124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26194125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26194126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26194127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26194128, 'pht': 3726}}" where mtr_portfolio_id = 26194072 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26194424 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26194424 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26194424 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26194424 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26194424 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26194424 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26194424_25-08-2025_08_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26194424 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26194424_25-08-2025_08_49_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26194483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26194484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26194485, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26194486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26194487, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26194488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26194489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26194490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26194491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26194492, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26194493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26194494, 'pht': 3726}}" where mtr_portfolio_id = 26194424 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26195010 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26195010 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26195010 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26195010 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26195010 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26195010 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26195010_25-08-2025_09_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26195010 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26195010_25-08-2025_09_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26195042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26195043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26195044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26195045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26195046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26195047, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26195048, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26195049, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26195050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26195051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26195052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26195053, 'pht': 3726}}" where mtr_portfolio_id = 26195010 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26196382 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26196382 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26196382 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26196382 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26196382 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26196382 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26196382_25-08-2025_09_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26196382 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26196382_25-08-2025_09_46_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26196388, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26196389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26196390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26196391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26196392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26196393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26196394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26196395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26196396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26196397, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26196398, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26196399, 'pht': 3726}}" where mtr_portfolio_id = 26196382 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26196724 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26196724 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26196724 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26196724 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26196724 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26196724 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26196724_25-08-2025_10_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26196724 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26196724_25-08-2025_10_02_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26196732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26196733, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26196734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26196735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26196736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26196738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26196739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26196740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26196741, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26196742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26196743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26196744, 'pht': 3726}}" where mtr_portfolio_id = 26196724 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26197261 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26197261 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26197261 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26197261 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26197261 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26197261 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26197261_25-08-2025_10_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26197261 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26197261_25-08-2025_10_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26197267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26197268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26197269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26197270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26197272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26197273, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26197274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26197276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26197277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26197278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26197280, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26197281, 'pht': 3726}}" where mtr_portfolio_id = 26197261 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26198027 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26198027 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26198027 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26198027 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26198027 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26198027 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26198027_25-08-2025_10_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26198027 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26198027_25-08-2025_10_47_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26198084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26198085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26198086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26198087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26198088, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26198089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26198090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26198091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26198093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26198094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26198095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26198096, 'pht': 3726}}" where mtr_portfolio_id = 26198027 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26198417 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26198417 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26198417 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26198417 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26198417 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26198417 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26198417_25-08-2025_11_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26198417 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26198417_25-08-2025_11_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26198473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26198474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26198475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26198476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26198477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26198478, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26198479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26198480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26198481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26198482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26198483, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26198484, 'pht': 3726}}" where mtr_portfolio_id = 26198417 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26198801 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26198801 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26198801 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26198801 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26198801 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26198801 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26198801_25-08-2025_11_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26198801 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26198801_25-08-2025_11_17_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26198814, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26198815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26198816, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26198817, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26198818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26198819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26198820, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26198821, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26198822, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26198823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26198824, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26198825, 'pht': 3726}}" where mtr_portfolio_id = 26198801 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26199106 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26199106 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26199106 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26199106 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26199106 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26199106 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26199106_25-08-2025_11_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26199106 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26199106_25-08-2025_11_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26199159, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26199160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26199161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26199162, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26199163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26199164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26199165, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26199166, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26199167, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26199168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26199169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26199170, 'pht': 3726}}" where mtr_portfolio_id = 26199106 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26199563 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26199563 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26199563 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26199563 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26199563 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26199563 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26199563_25-08-2025_11_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26199563 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26199563_25-08-2025_11_46_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26199575, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26199576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26199577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26199578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26199579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26199580, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26199581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26199582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26199583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26199584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26199585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26199586, 'pht': 3726}}" where mtr_portfolio_id = 26199563 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26199958 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26199958 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26199958 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26199958 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26199958 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26199958 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26199958_25-08-2025_12_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26199958 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26199958_25-08-2025_12_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26199974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26199975, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26199976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26199977, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26199978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26199979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26199980, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26199981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26199982, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26199983, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26199984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26199985, 'pht': 3726}}" where mtr_portfolio_id = 26199958 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26200335 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26200335 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26200335 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26200335 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26200335 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26200335 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26200335_25-08-2025_15_20_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26200335 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26200335_25-08-2025_15_20_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26200391, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26200392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26200393, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26200394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26200395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26200396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26200397, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26200398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26200399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26200400, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26200401, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26200402, 'pht': 3726}}" where mtr_portfolio_id = 26200335 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26202393 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26202393 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26202393 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26202393 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26202393 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26202393 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26202393_25-08-2025_13_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26202393 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26202393_25-08-2025_13_46_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26202399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26202400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26202401, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26202402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26202403, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26202404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26202405, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26202406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26202407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26202408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26202409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26202410, 'pht': 3726}}" where mtr_portfolio_id = 26202393 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26202540 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26202540 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26202540 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26202540 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26202540 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26202540 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26202540_25-08-2025_14_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26202540 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26202540_25-08-2025_14_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26202546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26202547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26202548, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26202549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26202550, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26202551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26202552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26202553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26202554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26202555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26202556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26202557, 'pht': 3726}}" where mtr_portfolio_id = 26202540 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26202807 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26202807 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26202807 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26202807 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26202807 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26202807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26202807_25-08-2025_14_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26202807 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26202807_25-08-2025_14_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26202921, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26202923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26202924, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26202925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26202926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26202927, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26202928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26202929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26202930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26202931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26202932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26202933, 'pht': 3726}}" where mtr_portfolio_id = 26202807 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26203254 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26203254 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26203254 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26203254 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26203254 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26203254 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26203254_25-08-2025_14_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26203254 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26203254_25-08-2025_14_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26203302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26203303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26203304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26203305, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26203306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26203307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26203308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26203309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26203310, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26203311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26203312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26203313, 'pht': 3726}}" where mtr_portfolio_id = 26203254 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26203612 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26203612 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26203612 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26203612 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26203612 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26203612 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26203612_25-08-2025_14_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26203612 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26203612_25-08-2025_14_46_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26203632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26203633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26203634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26203635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26203636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26203637, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26203638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26203639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26203640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26203641, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26203642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26203643, 'pht': 3726}}" where mtr_portfolio_id = 26203612 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26203963 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26203963 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26203963 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26203963 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26203963 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26203963 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26203963_25-08-2025_15_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26203963 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26203963_25-08-2025_15_02_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26203968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26203969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26203970, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26203971, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26203972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26203973, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26203974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26203975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26203976, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26203977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26203978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26203979, 'pht': 3726}}" where mtr_portfolio_id = 26203963 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26204256 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26204256 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26204256 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26204256 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26204256 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26204256 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26204256_25-08-2025_15_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26204256 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26204256_25-08-2025_15_16_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26204317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26204318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26204319, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26204320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26204321, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26204322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26204323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26204324, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26204325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26204326, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26204327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26204328, 'pht': 3726}}" where mtr_portfolio_id = 26204256 and dashboard_run_id = 2178113 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26204655 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26204655 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26204655 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26204655 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26204655 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26204655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26204655_25-08-2025_15_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26204655 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26204655_25-08-2025_15_18_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26204681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26204682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26204684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26204685, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26204686, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26204687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26204688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26204689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26204690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26204691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26204692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26204693, 'pht': 3726}}" where mtr_portfolio_id = 26204655 and dashboard_run_id = 2178113 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26190693,26190838,26191029,26191180,26191444,26191624,26191825,26192047,26192571,26192848,26193178,26193504,26194072,26194424,26195010,26196382,26196724,26197261,26198027,26198417,26198801,26199106,26199563,26199958,26200335,26202393,26202540,26202807,26203254,26203612,26203963,26204256,26204655) result : ((1379139978,), (1379140082,), (1379140083,), (1379140095,), (1379140096,), (1379140097,), (1379140101,), (1379140110,), (1379140121,), (1379140129,), (1379140135,), (1379140176,), (1379140233,), (1379140184,), (1379140231,), (1379140232,), (1379140250,), (1379140251,), (1379140305,), (1379140307,), (1379140328,), (1379140329,), (1379140330,), (1379140331,), (1379140332,), (1379140363,), (1379140364,), (1379140365,), (1379140366,), (1379140372,), (1379140373,), (1379140374,), (1379140386,), (1379140387,), (1379140388,), (1379140398,), (1379140399,), (1379140400,), (1379140401,), (1379140402,), (1379140438,), (1379140562,), (1379140563,), (1379140566,), (1379140576,), (1379140577,), (1379140578,), (1379140579,), (1379140587,), (1379140588,), (1379140589,), (1379140590,), (1379140604,), (1379140605,), (1379140606,), (1379140608,), (1379140609,), (1379140610,), (1379140620,), (1379140621,), (1379140622,), (1379140623,), (1379140631,), (1379140632,), (1379140633,), (1379140634,), (1379140643,), (1379140644,), (1379140645,), (1379140646,), (1379140654,), (1379140655,), (1379140656,), (1379140657,), (1379140658,), (1379140670,), (1379140671,), (1379140672,), (1379140673,), (1379140674,), (1379140675,), (1379140685,), (1379140686,), (1379140687,), (1379140688,), (1379140689,), (1379140692,), (1379140693,), (1379140694,), (1379140698,), (1379141304,), (1379141307,), (1379141310,), (1379141397,), (1379141391,), (1379141393,), (1379141395,), (1379141784,), (1379141786,), (1379141788,), (1379142124,), (1379142126,), (1379142369,), (1379142370,), (1379142371,), (1379142372,), (1379142373,), (1379143158,), (1379143159,), (1379143160,), (1379143161,), (1379143162,), (1379143376,), (1379143377,), (1379143378,), (1379143379,), (1379143394,), (1379143395,), (1379143396,), (1379143413,), (1379143414,), (1379143415,), (1379143416,), (1379143417,), (1379143431,), (1379143432,), (1379143433,), (1379143434,), (1379143435,), (1379143443,), (1379143444,), (1379143538,), (1379143561,), (1379143562,), (1379143575,), (1379143576,), (1379143577,), (1379143585,), (1379143586,), (1379143620,), (1379143632,), (1379143633,), (1379143638,), (1379143639,), (1379143640,), (1379143641,), (1379143652,), (1379143653,), (1379143654,), (1379143669,), (1379143670,), (1379143671,), (1379143672,), (1379143686,), (1379143687,), (1379143688,), (1379143689,), (1379143702,), (1379143703,), (1379143704,), (1379143718,), (1379143719,), (1379143720,), (1379143726,), (1379143727,), (1379143728,), (1379143743,), (1379143744,), (1379143762,), (1379143760,), (1379143761,), (1379143786,), (1379143787,), (1379143788,), (1379143809,), (1379143810,), (1379143811,), (1379143813,), (1379143835,), (1379143836,), (1379143837,), (1379143856,), (1379143857,), (1379143858,), (1379143859,), (1379143879,), (1379143880,), (1379143881,), (1379143896,), (1379143897,), (1379143913,), (1379143914,), (1379143915,), (1379143932,), (1379143933,), (1379143934,), (1379143935,), (1379143936,), (1379143958,), (1379143959,), (1379143960,), (1379144007,), (1379144008,), (1379144009,), (1379144010,), (1379144030,), (1379144031,), (1379144032,), (1379144049,), (1379144051,), (1379144052,), (1379144068,), (1379144069,), (1379144070,), (1379144086,), (1379144087,), (1379144088,), (1379144109,), (1379144104,), (1379144105,), (1379144106,), (1379144107,), (1379144108,), (1379144133,), (1379144134,), (1379144135,), (1379144156,), (1379144157,), (1379144158,), (1379144159,), (1379144178,), (1379144179,), (1379144180,), (1379144181,), (1379144182,), (1379144183,), (1379144197,), (1379144198,), (1379144199,), (1379144220,), (1379144221,), (1379144222,), (1379144223,), (1379144224,), (1379144255,), (1379144256,), (1379144257,), (1379144258,), (1379144281,), (1379144282,), (1379144283,), (1379144284,), (1379144285,), (1379144305,), (1379144306,), (1379144307,), (1379144308,), (1379144309,), (1379144329,), (1379144330,), (1379144331,), (1379144332,), (1379144351,), (1379144352,), (1379144353,), (1379144378,), (1379144379,), (1379144380,), (1379144381,), (1379144382,), (1379144413,), (1379144438,), (1379144440,), (1379144443,), (1379145063,), (1379145065,), (1379145066,), (1379145067,), (1379145077,), (1379145079,), (1379145080,), (1379145081,), (1379145260,), (1379145257,), (1379145258,), (1379145259,), (1379145558,), (1379145561,), (1379145563,), (1379145565,), (1379145909,), (1379145911,), (1379145913,), (1379146003,), (1379146004,), (1379146005,), (1379146270,), (1379146271,), (1379146272,), (1379146273,), (1379147042,), (1379147046,), (1379147050,), (1379147054,), (1379147058,), (1379147339,), (1379147340,), (1379147341,), (1379147342,), (1379147368,), (1379147369,), (1379147370,), (1379147371,), (1379147372,), (1379147415,), (1379147416,), (1379147437,), (1379147438,), (1379147439,), (1379147440,), (1379147488,), (1379147489,), (1379147490,), (1379147491,), (1379147492,), (1379147612,), (1379147613,), (1379147614,), (1379147684,), (1379147685,), (1379147686,), (1379147687,), (1379147735,), (1379147736,), (1379147737,), (1379147786,), (1379147787,), (1379148051,), (1379147834,), (1379148050,), (1379148310,), (1379148311,), (1379148312,), (1379148313,), (1379148347,), (1379148348,), (1379148349,), (1379148350,), (1379148351,), (1379148352,), (1379148387,), (1379148388,), (1379148389,), (1379148433,), (1379148434,), (1379148435,), (1379148436,), (1379148468,), (1379148469,), (1379148470,), (1379148471,), (1379148507,), (1379148508,), (1379148509,), (1379148510,), (1379148701,), (1379148704,), (1379149045,), (1379149183,), (1379149218,), (1379149219,), (1379149256,), (1379149257,), (1379149311,), (1379149313,), (1379149315,), (1379149317,), (1379149463,), (1379149461,), (1379149462,), (1379149497,), (1379149498,), (1379149534,), (1379149535,), (1379149572,), (1379149573,), (1379149610,), (1379149611,), (1379149612,), (1379149785,), (1379149787,), (1379149916,), (1379149918,), (1379150055,), (1379150286,), (1379150287,), (1379150369,), (1379150370,), (1379150491,), (1379150493,), (1379150496,), (1379150498,), (1379150611,), (1379150612,), (1379150613,), (1379150641,), (1379150642,), (1379150711,), (1379150712,), (1379150771,), (1379150769,), (1379150770,), (1379150882,), (1379150908,), (1379150909,), (1379150910,), (1379150911,), (1379150945,), (1379150946,), (1379150980,), (1379150981,), (1379150982,), (1379151024,), (1379151025,), (1379151026,), (1379151027,), (1379151028,), (1379151117,), (1379151118,), (1379151119,), (1379151120,), (1379151154,), (1379151155,), (1379151156,), (1379151157,), (1379151189,), (1379151190,), (1379151191,), (1379151192,), (1379151233,), (1379151234,), (1379151235,), (1379151236,), (1379151237,), (1379151238,), (1379151293,), (1379151294,), (1379151295,), (1379151296,), (1379151297,), (1379151329,), (1379151330,), (1379151359,), (1379151360,), (1379151361,), (1379151362,), (1379152188,), (1379152190,), (1379152193,), (1379152195,), (1379152414,), (1379152408,), (1379152411,), (1379153153,), (1379153156,), (1379153159,), (1379153162,), (1379153582,), (1379153583,), (1379153584,), (1379153585,), (1379153855,), (1379153856,), (1379153857,), (1379153858,), (1379153859,), (1379153895,), (1379153896,), (1379153962,), (1379154351,), (1379154353,), (1379154355,), (1379154744,), (1379154963,), (1379154964,), (1379154965,), (1379155271,), (1379155272,), (1379155358,), (1379155359,), (1379155547,), (1379155552,), (1379155557,), (1379155826,), (1379156152,), (1379156154,), (1379156156,), (1379156158,), (1379156353,), (1379156355,), (1379156631,), (1379156705,), (1379156707,), (1379156709,), (1379156862,), (1379156863,), (1379156963,), (1379156967,), (1379156968,), (1379156969,), (1379157003,), (1379157004,), (1379157005,), (1379157048,), (1379157049,), (1379157050,), (1379157241,), (1379157243,), (1379157245,), (1379157247,), (1379157249,), (1379157251,), (1379157443,), (1379157444,), (1379157445,), (1379157556,), (1379157557,), (1379157558,), (1379157559,), (1379157560,), (1379157584,), (1379157585,), (1379157586,), (1379157587,), (1379157603,), (1379157604,), (1379157605,), (1379157606,), (1379157732,), (1379157733,), (1379157749,), (1379157752,), (1379157776,), (1379157775,), (1379157877,), (1379157879,), (1379158027,), (1379158028,), (1379158202,), (1379158204,), (1379158317,), (1379158318,), (1379158319,), (1379158410,), (1379158411,), (1379158412,), (1379158413,), (1379158414,), (1379158454,), (1379158455,), (1379158456,), (1379158457,), (1379158530,), (1379158531,), (1379158532,), (1379158533,), (1379158534,), (1379158535,), (1379158592,), (1379158593,), (1379158594,), (1379158831,), (1379158832,), (1379158833,), (1379158834,), (1379158835,), (1379158857,), (1379158858,), (1379158859,), (1379158860,), (1379158861,), (1379158862,), (1379158941,), (1379158942,), (1379158943,), (1379159207,), (1379159208,), (1379159338,), (1379159339,), (1379159340,), (1379159391,), (1379159411,), (1379159425,), (1379159545,), (1379159677,), (1379159838,), (1379159839,), (1379159929,), (1379159930,), (1379160026,), (1379160049,), (1379160050,), (1379160218,), (1379160221,), (1379160224,), (1379160227,), (1379160230,), (1379160769,), (1379160770,), (1379160771,), (1379168293,), (1379168591,), (1379168738,), (1379168764,), (1379168765,), (1379168766,), (1379168767,), (1379168984,), (1379168986,), (1379169420,), (1379169937,), (1379169939,), (1379169941,), (1379170394,), (1379170396,), (1379170398,), (1379170739,), (1379170740,), (1379170741,), (1379171012,), (1379171015,), (1379171298,), (1379171299,), (1379171300,), (1379171301,), (1379171406,), (1379171407,), (1379171408,), (1379171443,), (1379171577,), (1379171579,), (1379171672,), (1379171697,), (1379171698,), (1379171699,), (1379171726,), (1379171727,), (1379171744,), (1379171745,), (1379171746,), (1379171747,), (1379171748,), (1379171841,), (1379171845,), (1379171850,), (1379171854,), (1379171961,), (1379171962,), (1379172079,), (1379172203,), (1379172490,), (1379172492,), (1379172665,), (1379172667,), (1379173087,), (1379173089,), (1379173091,), (1379173611,), (1379173616,), (1379173620,), (1379174343,), (1379174346,), (1379174348,), (1379174559,), (1379174831,), (1379176544,), (1379176547,), (1379176550,), (1379177485,), (1379177489,), (1379177493,), (1379177497,), (1379177501,), (1379178275,), (1379178277,), (1379178279,), (1379178509,), (1379178510,), (1379178880,), (1379178884,), (1379178887,), (1379178890,), (1379179040,), (1379179130,), (1379179283,), (1379179285,), (1379179287,), (1379179506,), (1379183154,), (1379183515,), (1379183517,), (1379183519,), (1379183521,), (1379183523,), (1379183696,), (1379183697,), (1379183843,), (1379183844,), (1379183919,), (1379183920,), (1379183921,), (1379183922,), (1379184013,), (1379184014,), (1379184015,), (1379184016,), (1379184017,), (1379184179,), (1379184180,), (1379184201,), (1379184202,), (1379184203,), (1379184308,), (1379184309,), (1379184310,), (1379184563,), (1379184565,), (1379184567,), (1379184569,), (1379185103,), (1379185105,), (1379185107,), (1379185109,), (1379185335,), (1379185332,), (1379185333,), (1379185334,), (1379185677,), (1379185679,), (1379185893,), (1379185895,), (1379185898,), (1379185900,), (1379185902,), (1379185970,), (1379185971,), (1379185972,), (1379185974,), (1379185977,), (1379186272,), (1379186273,), (1379186274,), (1379186275,), (1379186276,), (1379186328,), (1379186329,), (1379186330,), (1379186331,), (1379186471,), (1379186472,), (1379186473,), (1379186474,), (1379186715,), (1379186717,), (1379186719,), (1379186772,), (1379186773,), (1379186774,), (1379186812,), (1379186813,), (1379186814,), (1379186815,), (1379186839,), (1379186840,), (1379186841,), (1379186842,), (1379186843,), (1379186882,), (1379186886,), (1379186887,), (1379186888,), (1379186889,), (1379186890,), (1379186974,), (1379186975,), (1379186976,), (1379186977,), (1379186978,), (1379187541,), (1379187543,), (1379187545,), (1379187659,), (1379187662,), (1379187665,), (1379187668,), (1379188103,), (1379188099,), (1379188100,), (1379188102,), (1379188323,), (1379188325,), (1379188327,), (1379188329,), (1379188533,), (1379188534,), (1379188535,), (1379188536,), (1379188537,), (1379188538,), (1379188849,), (1379188851,), (1379188853,), (1379188855,), (1379188857,), (1379188859,), (1379189300,), (1379189303,), (1379189305,), (1379189307,), (1379189697,), (1379189699,), (1379189701,), (1379189703,), (1379189953,), (1379189955,), (1379189957,), (1379189959,), (1379189961,), (1379190473,), (1379190476,), (1379190479,), (1379191170,), (1379191172,), (1379191174,), (1379191176,), (1379191665,), (1379191667,), (1379191669,), (1379191884,), (1379191885,), (1379191886,), (1379191887,), (1379191888,), (1379192257,), (1379192258,), (1379192259,), (1379192460,), (1379192461,), (1379192462,), (1379192463,), (1379192464,), (1379192494,), (1379192495,), (1379192530,), (1379192531,), (1379192532,), (1379192534,), (1379192535,), (1379192567,), (1379192563,), (1379192564,), (1379192565,), (1379192566,), (1379192691,), (1379192693,), (1379192695,), (1379192697,), (1379192795,), (1379193600,), (1379193601,), (1379193602,), (1379193756,), (1379193758,), (1379193760,), (1379193836,), (1379193837,), (1379193838,), (1379193840,), (1379193841,), (1379193842,), (1379193904,), (1379193905,), (1379193906,), (1379193907,), (1379193908,), (1379193978,), (1379193979,), (1379193980,), (1379193981,), (1379193983,), (1379193985,), (1379194071,), (1379194072,), (1379194073,), (1379194273,), (1379194274,), (1379194275,), (1379194276,), (1379194277,), (1379194278,), (1379194352,), (1379194347,), (1379194348,), (1379194349,), (1379194350,), (1379194351,), (1379194386,), (1379194388,), (1379194389,), (1379194569,), (1379194571,), (1379194573,), (1379194575,), (1379194577,), (1379194579,), (1379194683,), (1379194684,), (1379194685,), (1379194686,), (1379194687,), (1379194688,), (1379194751,), (1379194753,), (1379194755,), (1379194999,), (1379195000,), (1379195001,), (1379195002,), (1379195003,), (1379195004,), (1379195021,), (1379195022,), (1379195023,), (1379195024,), (1379195025,), (1379195026,), (1379195211,), (1379195212,), (1379195213,), (1379195327,), (1379195328,), (1379195329,), (1379195330,), (1379195331,), (1379195332,), (1379195357,), (1379195358,), (1379195359,), (1379195360,), (1379195361,), (1379195501,), (1379195503,), (1379195505,), (1379195507,), (1379195509,), (1379195652,), (1379195653,), (1379195654,), (1379195655,), (1379195656,), (1379195764,), (1379195765,), (1379195766,), (1379195767,), (1379195768,), (1379195881,), (1379195882,), (1379195883,), (1379195884,), (1379195885,), (1379196015,), (1379196016,), (1379196017,), (1379196018,), (1379196087,), (1379196076,), (1379196079,), (1379196081,), (1379196083,), (1379196085,), (1379196414,), (1379196416,), (1379196418,), (1379196420,), (1379196696,), (1379196697,), (1379196698,), (1379196700,), (1379196701,), (1379196783,), (1379196784,), (1379196785,), (1379196786,), (1379196787,), (1379196788,), (1379196825,), (1379196826,), (1379196827,), (1379196829,), (1379196923,), (1379196925,), (1379197230,), (1379197235,), (1379197501,), (1379197503,), (1379198126,), (1379198333,), (1379198334,), (1379198690,), (1379199169,), (1379199196,), (1379199250,), (1379199247,), (1379199248,), (1379199249,), (1379200351,), (1379202407,), (1379202410,), (1379202414,), (1379202417,), (1379202900,), (1379202901,), (1379216881,), (1379216908,), (1379217125,), (1379217126,), (1379217127,), (1379217128,), (1379217271,), (1379217272,), (1379217273,), (1379217422,), (1379217424,), (1379217426,), (1379217613,), (1379217615,), (1379217617,), (1379217620,), (1379217622,), (1379217624,), (1379217758,), (1379217759,), (1379217761,), (1379217789,), (1379217817,), (1379217837,), (1379217902,), (1379217903,), (1379217904,), (1379217905,), (1379217949,), (1379217950,), (1379217951,), (1379217952,), (1379217987,), (1379217988,), (1379217989,), (1379217990,), (1379217991,), (1379217992,), (1379218292,), (1379218295,), (1379218298,), (1379218301,), (1379218304,), (1379218307,), (1379218643,), (1379218644,), (1379218645,), (1379218647,), (1379218648,), (1379218778,), (1379218779,), (1379219041,), (1379219043,), (1379219045,), (1379219047,), (1379219049,), (1379219240,), (1379219241,), (1379219242,), (1379219243,), (1379219300,), (1379219301,), (1379219302,), (1379219326,), (1379219441,), (1379219443,), (1379219445,), (1379220096,), (1379220099,), (1379220645,), (1379220643,), (1379221047,), (1379221050,), (1379221055,), (1379221656,), (1379221658,), (1379221660,), (1379221662,), (1379221887,), (1379221888,), (1379222200,), (1379222201,), (1379222477,), (1379222478,), (1379222479,), (1379222622,), (1379222623,), (1379222624,), (1379222672,), (1379222673,), (1379222674,), (1379222675,), (1379222676,), (1379222677,), (1379222773,), (1379222775,), (1379222777,), (1379222955,), (1379222957,), (1379223477,), (1379223480,), (1379223931,), (1379223933,), (1379223935,), (1379224590,), (1379224592,), (1379224594,), (1379224596,), (1379225019,), (1379225020,), (1379225021,), (1379225206,), (1379225202,), (1379225203,), (1379225204,), (1379225205,), (1379225302,), (1379225303,), (1379225304,), (1379225305,), (1379225451,), (1379225452,), (1379225453,), (1379225954,), (1379225957,), (1379225960,), (1379225963,), (1379226321,), (1379226323,), (1379226453,), (1379226454,), (1379226455,), (1379226494,), (1379226495,), (1379226496,), (1379226497,), (1379226498,), (1379226499,), (1379226540,), (1379226541,), (1379226542,), (1379226543,), (1379226544,), (1379226568,), (1379226569,), (1379226570,), (1379226571,), (1379226603,), (1379226604,), (1379226605,), (1379226606,), (1379226634,), (1379226635,), (1379226656,), (1379226657,), (1379226658,), (1379226728,), (1379226729,), (1379226757,), (1379226758,), (1379226759,), (1379226760,), (1379226795,), (1379226796,), (1379226918,), (1379226917,), (1379226991,), (1379226992,), (1379226993,), (1379226994,), (1379227088,), (1379227089,), (1379227140,), (1379227141,), (1379227142,), (1379227143,), (1379227144,), (1379227174,), (1379227175,), (1379227176,), (1379227177,), (1379227178,), (1379227209,), (1379227210,), (1379227211,), (1379227212,), (1379227259,), (1379227260,), (1379227261,), (1379227262,), (1379227392,), (1379227393,), (1379227394,), (1379227395,), (1379227396,), (1379227547,), (1379227548,), (1379227549,), (1379227593,), (1379227594,), (1379227595,), (1379227596,), (1379227665,), (1379227666,), (1379227668,), (1379227670,), (1379227717,), (1379227718,), (1379227719,), (1379227945,), (1379227946,), (1379227947,), (1379227948,), (1379228085,), (1379228086,), (1379228087,), (1379228088,), (1379228122,), (1379228123,), (1379228124,), (1379228125,), (1379228126,), (1379228145,), (1379228144,), (1379228388,), (1379228389,), (1379228390,), (1379228391,), (1379228392,), (1379228393,), (1379228494,), (1379228495,), (1379228497,), (1379228538,), (1379228539,), (1379228540,), (1379228541,), (1379228542,), (1379228543,), (1379228569,), (1379228570,), (1379228571,), (1379228572,), (1379228626,), (1379228627,), (1379228628,), (1379228629,), (1379228689,), (1379228690,), (1379228691,), (1379228692,), (1379228865,), (1379228866,), (1379228867,), (1379228901,), (1379228902,), (1379228903,), (1379228904,), (1379228905,), (1379228939,), (1379228940,), (1379228941,), (1379228942,), (1379228943,), (1379229009,), (1379229010,), (1379229037,), (1379229039,), (1379229041,), (1379229042,), (1379229043,), (1379229229,), (1379229231,), (1379229233,), (1379229235,), (1379229237,), (1379229793,), (1379229795,), (1379229797,), (1379229798,), (1379229943,), (1379229939,), (1379229940,), (1379229941,), (1379229942,), (1379230017,), (1379230018,), (1379230019,), (1379230020,), (1379230260,), (1379230262,), (1379230265,), (1379230267,), (1379230269,), (1379230271,), (1379230648,), (1379230650,), (1379230652,), (1379230654,), (1379230656,), (1379231043,), (1379231046,), (1379231049,), (1379231051,), (1379231658,), (1379231661,), (1379231664,), (1379231667,), (1379231670,), (1379231673,), (1379232147,), (1379232149,), (1379232152,), (1379232273,), (1379232274,), (1379232275,), (1379232276,), (1379232277,), (1379232278,), (1379232599,), (1379232600,), (1379232602,), (1379232603,), (1379232604,), (1379232736,), (1379232737,), (1379232738,), (1379232739,), (1379232794,), (1379232796,), (1379232797,), (1379232798,), (1379232799,), (1379232800,), (1379232846,), (1379232848,), (1379232850,), (1379233060,), (1379233061,), (1379233062,), (1379233063,), (1379233064,), (1379233213,), (1379233214,), (1379233215,), (1379233216,), (1379233217,), (1379233520,), (1379233522,), (1379233525,), (1379233527,), (1379233694,), (1379233690,), (1379233691,), (1379233692,), (1379233693,), (1379233776,), (1379233777,), (1379233778,), (1379233779,), (1379233780,), (1379233879,), (1379233880,), (1379233881,), (1379233882,), (1379233883,), (1379233884,), (1379234062,), (1379234148,), (1379234149,), (1379234150,), (1379234151,), (1379234152,), (1379234153,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'25082025': {'nb_upload': 11, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26200335]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1379216881] map_info['map_portfolio_photo'] : {26200335: [1379216881, 1379202901, 1379202900, 1379202417, 1379202414, 1379202410, 1379202407, 1379200351, 1379199249, 1379199248, 1379199247]} final : True mtd_id 4302 list_pids : [1379216881] Looping around the photos to save general results len do output : 1 /26200335Didn'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, '3588364') ('4302', '26200335', '1379216881', None, None, None, None, None, '3588364') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 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, '26200335', 'None', None, None, None, None, '3588364'), ('4302', '26200335', '1379216881', None, None, None, None, None, '3588364')] time used for this insertion : 0.012549400329589844 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4689967632293701 time spend to save output : 0.012730121612548828 total time spend for step 5 : 1.481726884841919 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 (3588364) 1.86user 2.52system 0:05.42elapsed 80%CPU (0avgtext+0avgdata 156576maxresident)k 336inputs+1296outputs (4major+61949minor)pagefaults 0swaps