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 : 682095 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 (3599002) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3599002) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26228669 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3599002'] with mtr_portfolio_ids : ['26228669'] and first list_photo_ids : [] new path : /proc/682095/ Name: python3 Umask: 0002 State: R (running) Tgid: 682095 Ngid: 0 Pid: 682095 PPid: 682094 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 682095 NSpid: 682095 NSpgid: 679458 NSsid: 679458 VmPeak: 1107344 kB VmSize: 1107344 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98976 kB VmRSS: 98976 kB RssAnon: 60168 kB RssFile: 38808 kB RssShmem: 0 kB VmData: 866096 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 636 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: 65 nonvoluntary_ctxt_switches: 101 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '682095', 'Ngid': '0', 'Pid': '682095', 'PPid': '682094', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '682095', 'NSpid': '682095', 'NSpgid': '679458', 'NSsid': '679458', 'VmPeak': '1107344 kB', 'VmSize': '1107344 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98976 kB', 'VmRSS': '98976 kB', 'RssAnon': '60168 kB', 'RssFile': '38808 kB', 'RssShmem': '0 kB', 'VmData': '866096 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '636 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': '65', 'nonvoluntary_ctxt_switches': '101'} ('datou_batch_current', '682095', '1107344', '0', '1107344', '866096', '98976', b'', 'marlene', '3599002') 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 (26228669) 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 (3599002 ) ) 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 (26228669) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1379411073, 'portfolio_id': 26228669}, {'photo_id': 1379411072, 'portfolio_id': 26228669}, {'photo_id': 1379411071, 'portfolio_id': 26228669}, {'photo_id': 1379411070, 'portfolio_id': 26228669}, {'photo_id': 1379411069, 'portfolio_id': 26228669}, {'photo_id': 1379411037, 'portfolio_id': 26228669}, {'photo_id': 1379411036, 'portfolio_id': 26228669}, {'photo_id': 1379411035, 'portfolio_id': 26228669}, {'photo_id': 1379411034, 'portfolio_id': 26228669}, {'photo_id': 1379411007, 'portfolio_id': 26228669}, {'photo_id': 1379411006, 'portfolio_id': 26228669}, {'photo_id': 1379411005, 'portfolio_id': 26228669}, {'photo_id': 1379411004, 'portfolio_id': 26228669}, {'photo_id': 1379411003, 'portfolio_id': 26228669}, {'photo_id': 1379410883, 'portfolio_id': 26228669}, {'photo_id': 1379410882, 'portfolio_id': 26228669}, {'photo_id': 1379410881, 'portfolio_id': 26228669}, {'photo_id': 1379410880, 'portfolio_id': 26228669}, {'photo_id': 1379410802, 'portfolio_id': 26228669}, {'photo_id': 1379410801, 'portfolio_id': 26228669}, {'photo_id': 1379410800, 'portfolio_id': 26228669}, {'photo_id': 1379410799, 'portfolio_id': 26228669}, {'photo_id': 1379410798, 'portfolio_id': 26228669}, {'photo_id': 1379410797, 'portfolio_id': 26228669}, {'photo_id': 1379410646, 'portfolio_id': 26228669}, {'photo_id': 1379410644, 'portfolio_id': 26228669}, {'photo_id': 1379410642, 'portfolio_id': 26228669}, {'photo_id': 1379410640, 'portfolio_id': 26228669}, {'photo_id': 1379410638, 'portfolio_id': 26228669}, {'photo_id': 1379410417, 'portfolio_id': 26228669}, {'photo_id': 1379410415, 'portfolio_id': 26228669}, {'photo_id': 1379410413, 'portfolio_id': 26228669}, {'photo_id': 1379410411, 'portfolio_id': 26228669}, {'photo_id': 1379410140, 'portfolio_id': 26228669}, {'photo_id': 1379410139, 'portfolio_id': 26228669}, {'photo_id': 1379410138, 'portfolio_id': 26228669}, {'photo_id': 1379410137, 'portfolio_id': 26228669}, {'photo_id': 1379410136, 'portfolio_id': 26228669}, {'photo_id': 1379410135, 'portfolio_id': 26228669}, {'photo_id': 1379409757, 'portfolio_id': 26228669}, {'photo_id': 1379409755, 'portfolio_id': 26228669}, {'photo_id': 1379409753, 'portfolio_id': 26228669}, {'photo_id': 1379409337, 'portfolio_id': 26228669}, {'photo_id': 1379409102, 'portfolio_id': 26228669}, {'photo_id': 1379409100, 'portfolio_id': 26228669}, {'photo_id': 1379408689, 'portfolio_id': 26228669}, {'photo_id': 1379408687, 'portfolio_id': 26228669}, {'photo_id': 1379408190, 'portfolio_id': 26228669}, {'photo_id': 1379407804, 'portfolio_id': 26228669}, {'photo_id': 1379407802, 'portfolio_id': 26228669}, {'photo_id': 1379407800, 'portfolio_id': 26228669}, {'photo_id': 1379407798, 'portfolio_id': 26228669}] map_portfolio_id_photo_id: {26228669: [1379411073, 1379411072, 1379411071, 1379411070, 1379411069, 1379411037, 1379411036, 1379411035, 1379411034, 1379411007, 1379411006, 1379411005, 1379411004, 1379411003, 1379410883, 1379410882, 1379410881, 1379410880, 1379410802, 1379410801, 1379410800, 1379410799, 1379410798, 1379410797, 1379410646, 1379410644, 1379410642, 1379410640, 1379410638, 1379410417, 1379410415, 1379410413, 1379410411, 1379410140, 1379410139, 1379410138, 1379410137, 1379410136, 1379410135, 1379409757, 1379409755, 1379409753, 1379409337, 1379409102, 1379409100, 1379408689, 1379408687, 1379408190, 1379407804, 1379407802, 1379407800, 1379407798]} ##### 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.01512455940246582 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Tue Aug 26 11:14:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26228669) 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 : 26228669 get user id for portfolio 26228669 get sub ptf for main ptf 26228669, type 3726 and hashtags ['mal_croppe', 'flou', 'autre_refus', 'papier', 'cartonnette', 'metal', 'Carton_brun', 'plastique', 'Teint_Dans_La_Masse', 'Carton_gris', 'kraft', 'environnement'] 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`=26228669 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','autre_refus','papier','cartonnette','metal','Carton_brun','plastique','Teint_Dans_La_Masse','Carton_gris','kraft','environnement')) 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`=26228669 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','autre_refus','papier','cartonnette','metal','Carton_brun','plastique','Teint_Dans_La_Masse','Carton_gris','kraft','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 26228669, 'sub_port_id': 26228689, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658182, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 26)}, 'mal_croppe': {'main_port_id': 26228669, 'sub_port_id': 26228690, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658183, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 26)}, 'metal': {'main_port_id': 26228669, 'sub_port_id': 26228691, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658184, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 26)}, 'environnement': {'main_port_id': 26228669, 'sub_port_id': 26228692, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658185, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 26)}, 'plastique': {'main_port_id': 26228669, 'sub_port_id': 26228693, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658186, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 26)}, 'flou': {'main_port_id': 26228669, 'sub_port_id': 26228694, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658187, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 26)}, 'Carton_brun': {'main_port_id': 26228669, 'sub_port_id': 26228695, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658188, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 26)}, 'Carton_gris': {'main_port_id': 26228669, 'sub_port_id': 26228696, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658189, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 26)}, 'kraft': {'main_port_id': 26228669, 'sub_port_id': 26228697, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658190, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 26)}, 'Teint_Dans_La_Masse': {'main_port_id': 26228669, 'sub_port_id': 26228698, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658191, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 26)}, 'cartonnette': {'main_port_id': 26228669, 'sub_port_id': 26228699, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658192, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 26)}, 'autre_refus': {'main_port_id': 26228669, 'sub_port_id': 26228700, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658193, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 26)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26228689 , 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=26228669 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 (26228689) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26228669) result : ((1379407798,), (1379407800,), (1379407802,), (1379407804,), (1379408190,), (1379408687,), (1379408689,), (1379409100,), (1379409102,), (1379409337,), (1379409753,), (1379409755,), (1379409757,), (1379410135,), (1379410136,), (1379410137,), (1379410138,), (1379410139,), (1379410140,), (1379410411,), (1379410413,), (1379410415,), (1379410417,), (1379410638,), (1379410640,), (1379410642,), (1379410644,), (1379410646,), (1379410797,), (1379410798,), (1379410799,), (1379410800,), (1379410801,), (1379410802,), (1379410880,), (1379410881,), (1379410882,), (1379410883,), (1379411003,), (1379411004,), (1379411005,), (1379411006,), (1379411007,), (1379411034,), (1379411035,), (1379411036,), (1379411037,), (1379411069,), (1379411070,), (1379411071,), (1379411072,), (1379411073,)) 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 (1379407800,1379409100,1379410800) 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 26228690 , 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=26228669 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 (26228690) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26228669) result : ((1379407798,), (1379407800,), (1379407802,), (1379407804,), (1379408190,), (1379408687,), (1379408689,), (1379409100,), (1379409102,), (1379409337,), (1379409753,), (1379409755,), (1379409757,), (1379410135,), (1379410136,), (1379410137,), (1379410138,), (1379410139,), (1379410140,), (1379410411,), (1379410413,), (1379410415,), (1379410417,), (1379410638,), (1379410640,), (1379410642,), (1379410644,), (1379410646,), (1379410797,), (1379410798,), (1379410799,), (1379410800,), (1379410801,), (1379410802,), (1379410880,), (1379410881,), (1379410882,), (1379410883,), (1379411003,), (1379411004,), (1379411005,), (1379411006,), (1379411007,), (1379411034,), (1379411035,), (1379411036,), (1379411037,), (1379411069,), (1379411070,), (1379411071,), (1379411072,), (1379411073,)) 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 (1379407800,1379409100,1379410800) 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 26228691 , 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=26228669 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 (26228691) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26228669) result : ((1379407798,), (1379407800,), (1379407802,), (1379407804,), (1379408190,), (1379408687,), (1379408689,), (1379409100,), (1379409102,), (1379409337,), (1379409753,), (1379409755,), (1379409757,), (1379410135,), (1379410136,), (1379410137,), (1379410138,), (1379410139,), (1379410140,), (1379410411,), (1379410413,), (1379410415,), (1379410417,), (1379410638,), (1379410640,), (1379410642,), (1379410644,), (1379410646,), (1379410797,), (1379410798,), (1379410799,), (1379410800,), (1379410801,), (1379410802,), (1379410880,), (1379410881,), (1379410882,), (1379410883,), (1379411003,), (1379411004,), (1379411005,), (1379411006,), (1379411007,), (1379411034,), (1379411035,), (1379411036,), (1379411037,), (1379411069,), (1379411070,), (1379411071,), (1379411072,), (1379411073,)) 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 (1379407800,1379409100,1379410800) 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 26228692 , 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=26228669 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 (26228692) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26228669) result : ((1379407798,), (1379407800,), (1379407802,), (1379407804,), (1379408190,), (1379408687,), (1379408689,), (1379409100,), (1379409102,), (1379409337,), (1379409753,), (1379409755,), (1379409757,), (1379410135,), (1379410136,), (1379410137,), (1379410138,), (1379410139,), (1379410140,), (1379410411,), (1379410413,), (1379410415,), (1379410417,), (1379410638,), (1379410640,), (1379410642,), (1379410644,), (1379410646,), (1379410797,), (1379410798,), (1379410799,), (1379410800,), (1379410801,), (1379410802,), (1379410880,), (1379410881,), (1379410882,), (1379410883,), (1379411003,), (1379411004,), (1379411005,), (1379411006,), (1379411007,), (1379411034,), (1379411035,), (1379411036,), (1379411037,), (1379411069,), (1379411070,), (1379411071,), (1379411072,), (1379411073,)) 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 (1379407800,1379409100,1379410800) 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 26228693 , 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=26228669 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 (26228693) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26228669) result : ((1379407798,), (1379407800,), (1379407802,), (1379407804,), (1379408190,), (1379408687,), (1379408689,), (1379409100,), (1379409102,), (1379409337,), (1379409753,), (1379409755,), (1379409757,), (1379410135,), (1379410136,), (1379410137,), (1379410138,), (1379410139,), (1379410140,), (1379410411,), (1379410413,), (1379410415,), (1379410417,), (1379410638,), (1379410640,), (1379410642,), (1379410644,), (1379410646,), (1379410797,), (1379410798,), (1379410799,), (1379410800,), (1379410801,), (1379410802,), (1379410880,), (1379410881,), (1379410882,), (1379410883,), (1379411003,), (1379411004,), (1379411005,), (1379411006,), (1379411007,), (1379411034,), (1379411035,), (1379411036,), (1379411037,), (1379411069,), (1379411070,), (1379411071,), (1379411072,), (1379411073,)) 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 (1379407800,1379409100,1379410800) 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 26228694 , 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=26228669 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 (26228694) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26228669) result : ((1379407798,), (1379407800,), (1379407802,), (1379407804,), (1379408190,), (1379408687,), (1379408689,), (1379409100,), (1379409102,), (1379409337,), (1379409753,), (1379409755,), (1379409757,), (1379410135,), (1379410136,), (1379410137,), (1379410138,), (1379410139,), (1379410140,), (1379410411,), (1379410413,), (1379410415,), (1379410417,), (1379410638,), (1379410640,), (1379410642,), (1379410644,), (1379410646,), (1379410797,), (1379410798,), (1379410799,), (1379410800,), (1379410801,), (1379410802,), (1379410880,), (1379410881,), (1379410882,), (1379410883,), (1379411003,), (1379411004,), (1379411005,), (1379411006,), (1379411007,), (1379411034,), (1379411035,), (1379411036,), (1379411037,), (1379411069,), (1379411070,), (1379411071,), (1379411072,), (1379411073,)) 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 (1379407800,1379409100,1379410800) 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 26228695 , 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=26228669 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 (26228695) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26228669) result : ((1379407798,), (1379407800,), (1379407802,), (1379407804,), (1379408190,), (1379408687,), (1379408689,), (1379409100,), (1379409102,), (1379409337,), (1379409753,), (1379409755,), (1379409757,), (1379410135,), (1379410136,), (1379410137,), (1379410138,), (1379410139,), (1379410140,), (1379410411,), (1379410413,), (1379410415,), (1379410417,), (1379410638,), (1379410640,), (1379410642,), (1379410644,), (1379410646,), (1379410797,), (1379410798,), (1379410799,), (1379410800,), (1379410801,), (1379410802,), (1379410880,), (1379410881,), (1379410882,), (1379410883,), (1379411003,), (1379411004,), (1379411005,), (1379411006,), (1379411007,), (1379411034,), (1379411035,), (1379411036,), (1379411037,), (1379411069,), (1379411070,), (1379411071,), (1379411072,), (1379411073,)) 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 (1379407800,1379409100,1379410800) 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 26228696 , 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=26228669 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 (26228696) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26228669) result : ((1379407798,), (1379407800,), (1379407802,), (1379407804,), (1379408190,), (1379408687,), (1379408689,), (1379409100,), (1379409102,), (1379409337,), (1379409753,), (1379409755,), (1379409757,), (1379410135,), (1379410136,), (1379410137,), (1379410138,), (1379410139,), (1379410140,), (1379410411,), (1379410413,), (1379410415,), (1379410417,), (1379410638,), (1379410640,), (1379410642,), (1379410644,), (1379410646,), (1379410797,), (1379410798,), (1379410799,), (1379410800,), (1379410801,), (1379410802,), (1379410880,), (1379410881,), (1379410882,), (1379410883,), (1379411003,), (1379411004,), (1379411005,), (1379411006,), (1379411007,), (1379411034,), (1379411035,), (1379411036,), (1379411037,), (1379411069,), (1379411070,), (1379411071,), (1379411072,), (1379411073,)) 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 (1379407800,1379409100,1379410800) 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 26228697 , 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=26228669 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 (26228697) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26228669) result : ((1379407798,), (1379407800,), (1379407802,), (1379407804,), (1379408190,), (1379408687,), (1379408689,), (1379409100,), (1379409102,), (1379409337,), (1379409753,), (1379409755,), (1379409757,), (1379410135,), (1379410136,), (1379410137,), (1379410138,), (1379410139,), (1379410140,), (1379410411,), (1379410413,), (1379410415,), (1379410417,), (1379410638,), (1379410640,), (1379410642,), (1379410644,), (1379410646,), (1379410797,), (1379410798,), (1379410799,), (1379410800,), (1379410801,), (1379410802,), (1379410880,), (1379410881,), (1379410882,), (1379410883,), (1379411003,), (1379411004,), (1379411005,), (1379411006,), (1379411007,), (1379411034,), (1379411035,), (1379411036,), (1379411037,), (1379411069,), (1379411070,), (1379411071,), (1379411072,), (1379411073,)) 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 (1379407800,1379409100,1379410800) 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 26228698 , 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=26228669 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 (26228698) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26228669) result : ((1379407798,), (1379407800,), (1379407802,), (1379407804,), (1379408190,), (1379408687,), (1379408689,), (1379409100,), (1379409102,), (1379409337,), (1379409753,), (1379409755,), (1379409757,), (1379410135,), (1379410136,), (1379410137,), (1379410138,), (1379410139,), (1379410140,), (1379410411,), (1379410413,), (1379410415,), (1379410417,), (1379410638,), (1379410640,), (1379410642,), (1379410644,), (1379410646,), (1379410797,), (1379410798,), (1379410799,), (1379410800,), (1379410801,), (1379410802,), (1379410880,), (1379410881,), (1379410882,), (1379410883,), (1379411003,), (1379411004,), (1379411005,), (1379411006,), (1379411007,), (1379411034,), (1379411035,), (1379411036,), (1379411037,), (1379411069,), (1379411070,), (1379411071,), (1379411072,), (1379411073,)) 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 (1379407800,1379409100,1379410800) 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 26228699 , 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=26228669 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 (26228699) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26228669) result : ((1379407798,), (1379407800,), (1379407802,), (1379407804,), (1379408190,), (1379408687,), (1379408689,), (1379409100,), (1379409102,), (1379409337,), (1379409753,), (1379409755,), (1379409757,), (1379410135,), (1379410136,), (1379410137,), (1379410138,), (1379410139,), (1379410140,), (1379410411,), (1379410413,), (1379410415,), (1379410417,), (1379410638,), (1379410640,), (1379410642,), (1379410644,), (1379410646,), (1379410797,), (1379410798,), (1379410799,), (1379410800,), (1379410801,), (1379410802,), (1379410880,), (1379410881,), (1379410882,), (1379410883,), (1379411003,), (1379411004,), (1379411005,), (1379411006,), (1379411007,), (1379411034,), (1379411035,), (1379411036,), (1379411037,), (1379411069,), (1379411070,), (1379411071,), (1379411072,), (1379411073,)) 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 (1379407800,1379409100,1379410800) 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 26228700 , 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=26228669 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 (26228700) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26228669) result : ((1379407798,), (1379407800,), (1379407802,), (1379407804,), (1379408190,), (1379408687,), (1379408689,), (1379409100,), (1379409102,), (1379409337,), (1379409753,), (1379409755,), (1379409757,), (1379410135,), (1379410136,), (1379410137,), (1379410138,), (1379410139,), (1379410140,), (1379410411,), (1379410413,), (1379410415,), (1379410417,), (1379410638,), (1379410640,), (1379410642,), (1379410644,), (1379410646,), (1379410797,), (1379410798,), (1379410799,), (1379410800,), (1379410801,), (1379410802,), (1379410880,), (1379410881,), (1379410882,), (1379410883,), (1379411003,), (1379411004,), (1379411005,), (1379411006,), (1379411007,), (1379411034,), (1379411035,), (1379411036,), (1379411037,), (1379411069,), (1379411070,), (1379411071,), (1379411072,), (1379411073,)) 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 (1379407800,1379409100,1379410800) 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`=26228669 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','autre_refus','papier','cartonnette','metal','Carton_brun','plastique','Teint_Dans_La_Masse','Carton_gris','kraft','environnement')) 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`=26228669 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','autre_refus','papier','cartonnette','metal','Carton_brun','plastique','Teint_Dans_La_Masse','Carton_gris','kraft','environnement')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 26228669, 'sub_port_id': 26228701, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658194, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 27)}, 'mal_croppe': {'main_port_id': 26228669, 'sub_port_id': 26228702, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658195, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 27)}, 'metal': {'main_port_id': 26228669, 'sub_port_id': 26228703, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658196, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 27)}, 'environnement': {'main_port_id': 26228669, 'sub_port_id': 26228704, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658197, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 27)}, 'plastique': {'main_port_id': 26228669, 'sub_port_id': 26228705, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658198, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 27)}, 'flou': {'main_port_id': 26228669, 'sub_port_id': 26228706, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658199, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 27)}, 'Carton_brun': {'main_port_id': 26228669, 'sub_port_id': 26228707, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658200, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 27)}, 'Carton_gris': {'main_port_id': 26228669, 'sub_port_id': 26228708, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658201, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 27)}, 'kraft': {'main_port_id': 26228669, 'sub_port_id': 26228709, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658202, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 27)}, 'Teint_Dans_La_Masse': {'main_port_id': 26228669, 'sub_port_id': 26228710, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658203, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 27)}, 'cartonnette': {'main_port_id': 26228669, 'sub_port_id': 26228711, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658204, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 27)}, 'autre_refus': {'main_port_id': 26228669, 'sub_port_id': 26228712, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17658205, 'last_updated_at': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_desc': datetime.datetime(2025, 8, 26, 11, 12, 58), 'last_updated_at_asc': datetime.datetime(2025, 8, 26, 11, 3, 27)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26228701,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26228689 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26228702,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26228690 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26228703,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26228691 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26228704,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26228692 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26228705,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26228693 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26228706,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26228694 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26228707,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26228695 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26228708,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26228696 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26228709,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26228697 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26228710,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26228698 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26228711,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26228699 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26228712,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26228700 lien utilise dans velours : https://www.fotonower.com/velours/26228701,26228702,26228703,26228704,26228705,26228706,26228707,26228708,26228709,26228710,26228711,26228712?tags=papier,mal_croppe,metal,environnement,plastique,flou,Carton_brun,Carton_gris,kraft,Teint_Dans_La_Masse,cartonnette,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26228669]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1379411073, 1379411072, 1379411071, 1379411070, 1379411069, 1379411037, 1379411036, 1379411035, 1379411034] map_info['map_portfolio_photo'] : {26228669: [1379411073, 1379411072, 1379411071, 1379411070, 1379411069, 1379411037, 1379411036, 1379411035, 1379411034, 1379411007, 1379411006, 1379411005, 1379411004, 1379411003, 1379410883, 1379410882, 1379410881, 1379410880, 1379410802, 1379410801, 1379410800, 1379410799, 1379410798, 1379410797, 1379410646, 1379410644, 1379410642, 1379410640, 1379410638, 1379410417, 1379410415, 1379410413, 1379410411, 1379410140, 1379410139, 1379410138, 1379410137, 1379410136, 1379410135, 1379409757, 1379409755, 1379409753, 1379409337, 1379409102, 1379409100, 1379408689, 1379408687, 1379408190, 1379407804, 1379407802, 1379407800, 1379407798]} final : False mtd_id 4302 list_pids : [1379411073, 1379411072, 1379411071, 1379411070, 1379411069, 1379411037, 1379411036, 1379411035, 1379411034] Looping around the photos to save general results len do output : 1 /26228669. 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, '3599002') ('4302', '26228669', '1379411073', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411072', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411071', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411070', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411069', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411037', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411036', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411035', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411034', None, None, None, None, None, '3599002') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '26228669', "{'papier': 26228689, 'mal_croppe': 26228690, 'metal': 26228691, 'environnement': 26228692, 'plastique': 26228693, 'flou': 26228694, 'Carton_brun': 26228695, 'Carton_gris': 26228696, 'kraft': 26228697, 'Teint_Dans_La_Masse': 26228698, 'cartonnette': 26228699, 'autre_refus': 26228700}", None, None, None, None, '3599002'), ('4302', '26228669', '1379411073', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411072', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411071', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411070', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411069', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411037', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411036', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411035', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411034', None, None, None, None, None, '3599002')] time used for this insertion : 0.016719818115234375 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4174208641052246 time spend to save output : 0.017017602920532227 total time spend for step 1 : 0.43443846702575684 step2:final Tue Aug 26 11:15:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26228669) 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 26228669 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1379407804,1379407802,1379407800,1379407798,1379408190,1379408689,1379408687,1379409102,1379409100,1379409337,1379409757,1379410140,1379409755,1379410139,1379409753,1379410138,1379410137,1379410136,1379410135,1379410417,1379410415,1379410413,1379410411,1379410646,1379410644,1379410642,1379410640,1379410638,1379410802,1379410801,1379410800,1379410799,1379410798,1379410797,1379410883,1379410882,1379410881,1379410880,1379411007,1379411006,1379411005,1379411004,1379411003,1379411037,1379411036,1379411035,1379411034,1379411073,1379411072,1379411071,1379411070,1379411069); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26228669]) Inside saveOutput : final : False verbose : True original output for save of step final : {1379411073: ('0.0',), 1379411072: ('0.0',), 1379411071: ('0.0',), 1379411070: ('0.0',), 1379411069: ('0.0',), 1379411037: ('0.0',), 1379411036: ('0.0',), 1379411035: ('0.0',), 1379411034: ('0.0',)} new output for save of step final : {1379411073: ('0.0',), 1379411072: ('0.0',), 1379411071: ('0.0',), 1379411070: ('0.0',), 1379411069: ('0.0',), 1379411037: ('0.0',), 1379411036: ('0.0',), 1379411035: ('0.0',), 1379411034: ('0.0',)} [1379411073, 1379411072, 1379411071, 1379411070, 1379411069, 1379411037, 1379411036, 1379411035, 1379411034] map_info['map_portfolio_photo'] : {26228669: [1379411073, 1379411072, 1379411071, 1379411070, 1379411069, 1379411037, 1379411036, 1379411035, 1379411034, 1379411007, 1379411006, 1379411005, 1379411004, 1379411003, 1379410883, 1379410882, 1379410881, 1379410880, 1379410802, 1379410801, 1379410800, 1379410799, 1379410798, 1379410797, 1379410646, 1379410644, 1379410642, 1379410640, 1379410638, 1379410417, 1379410415, 1379410413, 1379410411, 1379410140, 1379410139, 1379410138, 1379410137, 1379410136, 1379410135, 1379409757, 1379409755, 1379409753, 1379409337, 1379409102, 1379409100, 1379408689, 1379408687, 1379408190, 1379407804, 1379407802, 1379407800, 1379407798]} final : False mtd_id 4302 list_pids : [1379411073, 1379411072, 1379411071, 1379411070, 1379411069, 1379411037, 1379411036, 1379411035, 1379411034] Looping around the photos to save general results len do output : 9 /1379411073.Didn't retrieve data . /1379411072.Didn't retrieve data . /1379411071.Didn't retrieve data . /1379411070.Didn't retrieve data . /1379411069.Didn't retrieve data . /1379411037.Didn't retrieve data . /1379411036.Didn't retrieve data . /1379411035.Didn't retrieve data . /1379411034.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, '3599002') ('4302', '26228669', '1379411073', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411072', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411071', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411070', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411069', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411037', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411036', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411035', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411034', None, None, None, None, None, '3599002') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '26228669', '1379411073', '0.0', None, None, None, None, '3599002'), ('4302', '26228669', '1379411072', '0.0', None, None, None, None, '3599002'), ('4302', '26228669', '1379411071', '0.0', None, None, None, None, '3599002'), ('4302', '26228669', '1379411070', '0.0', None, None, None, None, '3599002'), ('4302', '26228669', '1379411069', '0.0', None, None, None, None, '3599002'), ('4302', '26228669', '1379411037', '0.0', None, None, None, None, '3599002'), ('4302', '26228669', '1379411036', '0.0', None, None, None, None, '3599002'), ('4302', '26228669', '1379411035', '0.0', None, None, None, None, '3599002'), ('4302', '26228669', '1379411034', '0.0', None, None, None, None, '3599002')] time used for this insertion : 0.015915870666503906 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.05150151252746582 time spend to save output : 0.016443490982055664 total time spend for step 2 : 0.06794500350952148 step3:velours_tree Tue Aug 26 11:15: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 : {26228669: [{'papier': 26228689, 'mal_croppe': 26228690, 'metal': 26228691, 'environnement': 26228692, 'plastique': 26228693, 'flou': 26228694, 'Carton_brun': 26228695, 'Carton_gris': 26228696, 'kraft': 26228697, 'Teint_Dans_La_Masse': 26228698, 'cartonnette': 26228699, 'autre_refus': 26228700}]} input_args_next_step : {26228669: ()} output_args : {26228669: [{'papier': 26228689, 'mal_croppe': 26228690, 'metal': 26228691, 'environnement': 26228692, 'plastique': 26228693, 'flou': 26228694, 'Carton_brun': 26228695, 'Carton_gris': 26228696, 'kraft': 26228697, 'Teint_Dans_La_Masse': 26228698, 'cartonnette': 26228699, 'autre_refus': 26228700}]} args : 26228669 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 : ({'papier': 26228689, 'mal_croppe': 26228690, 'metal': 26228691, 'environnement': 26228692, 'plastique': 26228693, 'flou': 26228694, 'Carton_brun': 26228695, 'Carton_gris': 26228696, 'kraft': 26228697, 'Teint_Dans_La_Masse': 26228698, 'cartonnette': 26228699, 'autre_refus': 26228700},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26228669) 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([26228669]) 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.3656473159790039 time spend to save output : 7.319450378417969e-05 total time spend for step 3 : 0.3657205104827881 step4:send_mail_cod Tue Aug 26 11:15:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1379411073: ('0.0',), 1379411072: ('0.0',), 1379411071: ('0.0',), 1379411070: ('0.0',), 1379411069: ('0.0',), 1379411037: ('0.0',), 1379411036: ('0.0',), 1379411035: ('0.0',), 1379411034: ('0.0',)} input_args_next_step : {1379411073: ()} output_args : {1379411073: ('0.0',), 1379411072: ('0.0',), 1379411071: ('0.0',), 1379411070: ('0.0',), 1379411069: ('0.0',), 1379411037: ('0.0',), 1379411036: ('0.0',), 1379411035: ('0.0',), 1379411034: ('0.0',)} args : 1379411073 depend.output_id : 0 input_args_next_step : {1379411073: ('0.0',), 1379411072: ()} output_args : {1379411073: ('0.0',), 1379411072: ('0.0',), 1379411071: ('0.0',), 1379411070: ('0.0',), 1379411069: ('0.0',), 1379411037: ('0.0',), 1379411036: ('0.0',), 1379411035: ('0.0',), 1379411034: ('0.0',)} args : 1379411072 depend.output_id : 0 input_args_next_step : {1379411073: ('0.0',), 1379411072: ('0.0',), 1379411071: ()} output_args : {1379411073: ('0.0',), 1379411072: ('0.0',), 1379411071: ('0.0',), 1379411070: ('0.0',), 1379411069: ('0.0',), 1379411037: ('0.0',), 1379411036: ('0.0',), 1379411035: ('0.0',), 1379411034: ('0.0',)} args : 1379411071 depend.output_id : 0 input_args_next_step : {1379411073: ('0.0',), 1379411072: ('0.0',), 1379411071: ('0.0',), 1379411070: ()} output_args : {1379411073: ('0.0',), 1379411072: ('0.0',), 1379411071: ('0.0',), 1379411070: ('0.0',), 1379411069: ('0.0',), 1379411037: ('0.0',), 1379411036: ('0.0',), 1379411035: ('0.0',), 1379411034: ('0.0',)} args : 1379411070 depend.output_id : 0 input_args_next_step : {1379411073: ('0.0',), 1379411072: ('0.0',), 1379411071: ('0.0',), 1379411070: ('0.0',), 1379411069: ()} output_args : {1379411073: ('0.0',), 1379411072: ('0.0',), 1379411071: ('0.0',), 1379411070: ('0.0',), 1379411069: ('0.0',), 1379411037: ('0.0',), 1379411036: ('0.0',), 1379411035: ('0.0',), 1379411034: ('0.0',)} args : 1379411069 depend.output_id : 0 input_args_next_step : {1379411073: ('0.0',), 1379411072: ('0.0',), 1379411071: ('0.0',), 1379411070: ('0.0',), 1379411069: ('0.0',), 1379411037: ()} output_args : {1379411073: ('0.0',), 1379411072: ('0.0',), 1379411071: ('0.0',), 1379411070: ('0.0',), 1379411069: ('0.0',), 1379411037: ('0.0',), 1379411036: ('0.0',), 1379411035: ('0.0',), 1379411034: ('0.0',)} args : 1379411037 depend.output_id : 0 input_args_next_step : {1379411073: ('0.0',), 1379411072: ('0.0',), 1379411071: ('0.0',), 1379411070: ('0.0',), 1379411069: ('0.0',), 1379411037: ('0.0',), 1379411036: ()} output_args : {1379411073: ('0.0',), 1379411072: ('0.0',), 1379411071: ('0.0',), 1379411070: ('0.0',), 1379411069: ('0.0',), 1379411037: ('0.0',), 1379411036: ('0.0',), 1379411035: ('0.0',), 1379411034: ('0.0',)} args : 1379411036 depend.output_id : 0 input_args_next_step : {1379411073: ('0.0',), 1379411072: ('0.0',), 1379411071: ('0.0',), 1379411070: ('0.0',), 1379411069: ('0.0',), 1379411037: ('0.0',), 1379411036: ('0.0',), 1379411035: ()} output_args : {1379411073: ('0.0',), 1379411072: ('0.0',), 1379411071: ('0.0',), 1379411070: ('0.0',), 1379411069: ('0.0',), 1379411037: ('0.0',), 1379411036: ('0.0',), 1379411035: ('0.0',), 1379411034: ('0.0',)} args : 1379411035 depend.output_id : 0 input_args_next_step : {1379411073: ('0.0',), 1379411072: ('0.0',), 1379411071: ('0.0',), 1379411070: ('0.0',), 1379411069: ('0.0',), 1379411037: ('0.0',), 1379411036: ('0.0',), 1379411035: ('0.0',), 1379411034: ()} output_args : {1379411073: ('0.0',), 1379411072: ('0.0',), 1379411071: ('0.0',), 1379411070: ('0.0',), 1379411069: ('0.0',), 1379411037: ('0.0',), 1379411036: ('0.0',), 1379411035: ('0.0',), 1379411034: ('0.0',)} args : 1379411034 depend.output_id : 0 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 : {26228669: [{'papier': 26228689, 'mal_croppe': 26228690, 'metal': 26228691, 'environnement': 26228692, 'plastique': 26228693, 'flou': 26228694, 'Carton_brun': 26228695, 'Carton_gris': 26228696, 'kraft': 26228697, 'Teint_Dans_La_Masse': 26228698, 'cartonnette': 26228699, 'autre_refus': 26228700}]} input_args_next_step : {1379411073: ('0.0',), 1379411072: ('0.0',), 1379411071: ('0.0',), 1379411070: ('0.0',), 1379411069: ('0.0',), 1379411037: ('0.0',), 1379411036: ('0.0',), 1379411035: ('0.0',), 1379411034: ('0.0',), 26228669: ()} output_args : {26228669: [{'papier': 26228689, 'mal_croppe': 26228690, 'metal': 26228691, 'environnement': 26228692, 'plastique': 26228693, 'flou': 26228694, 'Carton_brun': 26228695, 'Carton_gris': 26228696, 'kraft': 26228697, 'Teint_Dans_La_Masse': 26228698, 'cartonnette': 26228699, 'autre_refus': 26228700}]} args : 26228669 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :10, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26228669) 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 (1379411073,1379411072,1379411071,1379411070,1379411069,1379411037,1379411036,1379411035,1379411034) Found this number of photos: 9 ##### Call download_photos : nb_thread : 5 begin to download photo : 1379411034 begin to download photo : 1379411036 begin to download photo : 1379411069 begin to download photo : 1379411071 begin to download photo : 1379411073 download finish for photo 1379411073 download finish for photo 1379411034 begin to download photo : 1379411035 download finish for photo 1379411071 begin to download photo : 1379411072 download finish for photo 1379411069 begin to download photo : 1379411070 download finish for photo 1379411036 begin to download photo : 1379411037 download finish for photo 1379411035 download finish for photo 1379411070 download finish for photo 1379411072 download finish for photo 1379411037 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette262286901756199701/ imagette262286911756199701/ imagette262286931756199701/ imagette262286941756199701/ imagette262286971756199701/ imagette262286991756199701/ imagette262287001756199701/ imagette262286951756199701/ imagette262286961756199701/ imagette262286981756199701/ length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 results_Auto_P26228669_26-08-2025_11_15_01.pdf 26228690 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=26228690 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262286901756199701 26228691 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=26228691 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262286911756199701 26228693 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=26228693 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262286931756199701 26228694 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=26228694 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262286941756199701 26228697 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=26228697 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262286971756199701 26228699 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=26228699 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262286991756199701 26228700 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=26228700 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262287001756199701 26228695 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=26228695 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262286951756199701 26228696 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=26228696 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262286961756199701 26228698 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=26228698 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette262286981756199701 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26228669 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26228701,26228702,26228703,26228704,26228705,26228706,26228707,26228708,26228709,26228710,26228711,26228712?tags=papier,mal_croppe,metal,environnement,plastique,flou,Carton_brun,Carton_gris,kraft,Teint_Dans_La_Masse,cartonnette,autre_refus your option no_mail is active, we will not send the real mail to your client args[1379411073] : ('0.0',) no score found for photo 1379411073 We are sending mail with results at report@fotonower.com args[1379411072] : ('0.0',) no score found for photo 1379411072 We are sending mail with results at report@fotonower.com args[1379411071] : ('0.0',) no score found for photo 1379411071 We are sending mail with results at report@fotonower.com args[1379411070] : ('0.0',) no score found for photo 1379411070 We are sending mail with results at report@fotonower.com args[1379411069] : ('0.0',) no score found for photo 1379411069 We are sending mail with results at report@fotonower.com args[1379411037] : ('0.0',) no score found for photo 1379411037 We are sending mail with results at report@fotonower.com args[1379411036] : ('0.0',) no score found for photo 1379411036 We are sending mail with results at report@fotonower.com args[1379411035] : ('0.0',) no score found for photo 1379411035 We are sending mail with results at report@fotonower.com args[1379411034] : ('0.0',) no score found for photo 1379411034 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=26228669 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_P26228669_26-08-2025_11_15_01.pdf results_Auto_P26228669_26-08-2025_11_15_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26228669_26-08-2025_11_15_01.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','26228669','results_Auto_P26228669_26-08-2025_11_15_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26228669_26-08-2025_11_15_01.pdf','pdf','','0.09','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26228669]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1379411073, 1379411072, 1379411071, 1379411070, 1379411069, 1379411037, 1379411036, 1379411035, 1379411034] map_info['map_portfolio_photo'] : {26228669: [1379411073, 1379411072, 1379411071, 1379411070, 1379411069, 1379411037, 1379411036, 1379411035, 1379411034, 1379411007, 1379411006, 1379411005, 1379411004, 1379411003, 1379410883, 1379410882, 1379410881, 1379410880, 1379410802, 1379410801, 1379410800, 1379410799, 1379410798, 1379410797, 1379410646, 1379410644, 1379410642, 1379410640, 1379410638, 1379410417, 1379410415, 1379410413, 1379410411, 1379410140, 1379410139, 1379410138, 1379410137, 1379410136, 1379410135, 1379409757, 1379409755, 1379409753, 1379409337, 1379409102, 1379409100, 1379408689, 1379408687, 1379408190, 1379407804, 1379407802, 1379407800, 1379407798]} final : False mtd_id 4302 list_pids : [1379411073, 1379411072, 1379411071, 1379411070, 1379411069, 1379411037, 1379411036, 1379411035, 1379411034] 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, '3599002') ('4302', '26228669', '1379411073', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411072', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411071', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411070', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411069', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411037', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411036', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411035', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411034', None, None, None, None, None, '3599002') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '26228669', '1379411073', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411072', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411071', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411070', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411069', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411037', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411036', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411035', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411034', None, None, None, None, None, '3599002')] time used for this insertion : 0.01563239097595215 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.3843011856079102 time spend to save output : 0.016055583953857422 total time spend for step 4 : 1.4003567695617676 step5:split_time_score Tue Aug 26 11:15:02 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['26228669'] 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 : [('26228669',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26228669) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1379411073: {'path': 'temp/1756199700_682095_1379411073_7166b678bf2cb5fbec5b0b62b02d745a_40781313.jpg', 'extension': 'jpg'}, 1379411034: {'path': 'temp/1756199700_682095_1379411034_960556e88cfcd29622b3caabf4326f24_82568434.jpg', 'extension': 'jpg'}, 1379411035: {'path': 'temp/1756199700_682095_1379411035_13a8e1428bd37261c4c3112eb678d3fa_51729175.jpg', 'extension': 'jpg'}, 1379411069: {'path': 'temp/1756199700_682095_1379411069_54e4bec88747acebd4cfe94ec6c80b89_27189903.jpg', 'extension': 'jpg'}, 1379411070: {'path': 'temp/1756199700_682095_1379411070_6522ef71677801f7696cb267013c534a_12514550.jpg', 'extension': 'jpg'}, 1379411071: {'path': 'temp/1756199700_682095_1379411071_971331ee958ae7efb5ba5397fe6af135_91995269.jpg', 'extension': 'jpg'}, 1379411072: {'path': 'temp/1756199700_682095_1379411072_ffb421d05fefa92baec29842069ff685_70490047.jpg', 'extension': 'jpg'}, 1379411036: {'path': 'temp/1756199700_682095_1379411036_c68b83beca5c25d300584b9941564078_141433.jpg', 'extension': 'jpg'}, 1379411037: {'path': 'temp/1756199700_682095_1379411037_8856a0b53284b304f2ef8aee4577cb18_14231529.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 = 26228669; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26228669 group by h (('11', 52),) 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=26228669 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 (26228669) 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 (26228669) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26082025 26228669 Nombre de photos uploadées : 52 / 23040 (0%) 26082025 26228669 Nombre de photos taguées (types de déchets): 0 / 52 (0%) 26082025 26228669 Nombre de photos taguées (volume) : 0 / 52 (0%) [{'photo_id': 1379407804, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/26/7d311be3c8401f9fe9c292f034ae3752_68668206.jpg', 'username': None, 'uploaded_at': 1756198872, 'text': 'image_26082025_11_00_14_10161.jpg'}, {'photo_id': 1379407802, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/26/7e43e11c4adc9bb7be0692cbc5b6af10_39814418.jpg', 'username': None, 'uploaded_at': 1756198872, 'text': 'image_26082025_11_00_24_10139.jpg'}, {'photo_id': 1379407800, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/26/1f102077e2171aec74fb64569c9303a6_26971012.jpg', 'username': None, 'uploaded_at': 1756198872, 'text': 'image_26082025_11_00_34_10154.jpg'}, {'photo_id': 1379407798, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/26/885d3eb6757a2f24e22a348818393fbf_25642164.jpg', 'username': None, 'uploaded_at': 1756198872, 'text': 'image_26082025_11_00_44_10139.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 1.3828277587890625e-05 ???????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.003222942352294922 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26228669, '2025-08-26' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-08-26' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2174217,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.23231029510498047 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= 2174217 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26218438, 'dashboard_result_id': 14298386, '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_P26218438_26-08-2025_06_07_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26218439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26218440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26218441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26218442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26218443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26218444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26218445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26218446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26218447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26218448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26218449, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26218450, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26218950, 'dashboard_result_id': 14298387, '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_P26218950_26-08-2025_06_07_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26218954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26218955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26218956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26218957, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26218958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26218959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26218960, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26218961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26218962, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26218963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26218964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26218965, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26219900, 'dashboard_result_id': 14298388, '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_P26219900_26-08-2025_06_09_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26219903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26219904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26219905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26219906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26219907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26219908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26219909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26219910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26219911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26219912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26219913, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26219914, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26219967, 'dashboard_result_id': 14298389, '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_P26219967_26-08-2025_06_09_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26219973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26219974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26219975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26219976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26219977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26219978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26219979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26219980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26219981, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26219982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26219983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26219984, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26220103, 'dashboard_result_id': 14298390, '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_P26220103_26-08-2025_06_09_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220139, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26220140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220147, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26220824, 'dashboard_result_id': 14298391, '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_P26220824_26-08-2025_06_10_28.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26220830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220841, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26220951, 'dashboard_result_id': 14298392, '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_P26220951_26-08-2025_06_11_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26220956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220967, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26221110, 'dashboard_result_id': 14298393, '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_P26221110_26-08-2025_06_11_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221143, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221144, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221152, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221154, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26221445, 'dashboard_result_id': 14298394, '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_P26221445_26-08-2025_06_12_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26221450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221457, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221461, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26221595, 'dashboard_result_id': 14298395, '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_P26221595_26-08-2025_06_13_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221606, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221608, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221611, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221612, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26221773, 'dashboard_result_id': 14298396, '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_P26221773_26-08-2025_04_05_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221790, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26221991, 'dashboard_result_id': 14298397, '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_P26221991_26-08-2025_05_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222004, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222015, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26222507, 'dashboard_result_id': 14298398, '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_P26222507_26-08-2025_06_14_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222513, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222515, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222520, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26222617, 'dashboard_result_id': 14298399, '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_P26222617_26-08-2025_06_14_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222622, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222625, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222632, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26222730, 'dashboard_result_id': 14298400, '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_P26222730_26-08-2025_06_03_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222743, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222744, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222746, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26222815, 'dashboard_result_id': 14298401, '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_P26222815_26-08-2025_06_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222825, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222835, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26223041, 'dashboard_result_id': 14298402, '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_P26223041_26-08-2025_06_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223053, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223064, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26223181, 'dashboard_result_id': 14298403, '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_P26223181_26-08-2025_06_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223193, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223204, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26223332, 'dashboard_result_id': 14298404, '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_P26223332_26-08-2025_07_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223345, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26224384, 'dashboard_result_id': 14298405, '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_P26224384_26-08-2025_07_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26224388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26224389, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26224390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26224391, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26224392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26224393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26224394, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26224395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26224396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26224397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26224398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26224399, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26224665, 'dashboard_result_id': 14298406, '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_P26224665_26-08-2025_08_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26224710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26224711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26224712, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26224713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26224714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26224715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26224716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26224717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26224718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26224719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26224720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26224721, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26225626, 'dashboard_result_id': 14298407, '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_P26225626_26-08-2025_09_01_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26225642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26225643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26225644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26225645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26225646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26225647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26225648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26225649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26225650, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26225651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26225652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26225653, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26225964, 'dashboard_result_id': 14298408, '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_P26225964_26-08-2025_09_01_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26225980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26225981, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26225982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26225983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26225984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26225985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26225986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26225987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26225988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26225989, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26225990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26225991, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26225966, 'dashboard_result_id': 14298409, '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_P26225966_26-08-2025_09_30_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26226024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26226025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26226026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26226027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26226028, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26226029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26226030, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26226031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26226032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26226033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26226034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26226035, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26226691, 'dashboard_result_id': 14298410, '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_P26226691_26-08-2025_09_48_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26226701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26226702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26226703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26226704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26226705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26226706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26226707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26226708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26226709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26226710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26226711, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26226712, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26227063, 'dashboard_result_id': 14298411, '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_P26227063_26-08-2025_10_02_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26227084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26227085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26227086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26227087, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26227088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26227089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26227090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26227091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26227092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26227093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26227094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26227095, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26227418, 'dashboard_result_id': 14298412, '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_P26227418_26-08-2025_10_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26227480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26227481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26227482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26227483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26227484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26227485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26227486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26227487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26227488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26227489, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26227490, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26227491, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26227847, 'dashboard_result_id': 14298413, '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_P26227847_26-08-2025_10_56_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26227869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26227870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26227871, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26227872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26227873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26227874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26227875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26227876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26227877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26227878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26227879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26227880, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26228615, 'dashboard_result_id': 14298414, '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_P26228615_26-08-2025_11_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26228621, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26228622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26228623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26228624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26228625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26228626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26228627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26228628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26228629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26228630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26228631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26228632, 'pht': 3726}}"}, {'dashboat_entry_day': 2174217, 'dashboard_run_id': 2183765, 'mtr_portfolio_id': 26228669, 'dashboard_result_id': 14298415, '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_P26228669_26-08-2025_11_10_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26228689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26228690, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26228691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26228692, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26228693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26228694, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26228695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26228696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26228697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26228698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26228699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26228700, '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 = 26218438 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 = 26218438 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 = 26218438 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26218438 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 = 26218438 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 = 26218438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26218438_26-08-2025_06_07_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218438 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_P26218438_26-08-2025_06_07_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26218439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26218440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26218441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26218442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26218443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26218444, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26218445, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26218446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26218447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26218448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26218449, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26218450, 'pht': 3726}}" where mtr_portfolio_id = 26218438 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26218950 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 = 26218950 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 = 26218950 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26218950 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 = 26218950 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 = 26218950 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26218950_26-08-2025_06_07_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218950 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_P26218950_26-08-2025_06_07_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26218954, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26218955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26218956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26218957, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26218958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26218959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26218960, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26218961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26218962, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26218963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26218964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26218965, 'pht': 3726}}" where mtr_portfolio_id = 26218950 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26219900 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 = 26219900 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 = 26219900 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26219900 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 = 26219900 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 = 26219900 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26219900_26-08-2025_06_09_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26219900 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_P26219900_26-08-2025_06_09_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26219903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26219904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26219905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26219906, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26219907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26219908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26219909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26219910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26219911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26219912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26219913, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26219914, 'pht': 3726}}" where mtr_portfolio_id = 26219900 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26219967 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 = 26219967 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 = 26219967 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26219967 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 = 26219967 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 = 26219967 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26219967_26-08-2025_06_09_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26219967 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_P26219967_26-08-2025_06_09_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26219973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26219974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26219975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26219976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26219977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26219978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26219979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26219980, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26219981, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26219982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26219983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26219984, 'pht': 3726}}" where mtr_portfolio_id = 26219967 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26220103 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 = 26220103 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 = 26220103 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26220103 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 = 26220103 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 = 26220103 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26220103_26-08-2025_06_09_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26220103 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_P26220103_26-08-2025_06_09_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220137, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220139, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26220140, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220143, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220147, 'pht': 3726}}" where mtr_portfolio_id = 26220103 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26220824 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 = 26220824 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 = 26220824 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26220824 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 = 26220824 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 = 26220824 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26220824_26-08-2025_06_10_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26220824 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_P26220824_26-08-2025_06_10_28.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26220830, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220837, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220841, 'pht': 3726}}" where mtr_portfolio_id = 26220824 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26220951 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 = 26220951 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 = 26220951 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26220951 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 = 26220951 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 = 26220951 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26220951_26-08-2025_06_11_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26220951 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_P26220951_26-08-2025_06_11_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26220956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26220957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26220958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26220959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26220960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26220961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26220962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26220963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26220964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26220965, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26220966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26220967, 'pht': 3726}}" where mtr_portfolio_id = 26220951 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26221110 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 = 26221110 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 = 26221110 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26221110 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 = 26221110 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 = 26221110 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221110_26-08-2025_06_11_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26221110 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_P26221110_26-08-2025_06_11_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221143, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221144, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221150, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221152, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221154, 'pht': 3726}}" where mtr_portfolio_id = 26221110 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26221445 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 = 26221445 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 = 26221445 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26221445 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 = 26221445 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 = 26221445 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221445_26-08-2025_06_12_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26221445 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_P26221445_26-08-2025_06_12_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26221450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221457, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221459, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221461, 'pht': 3726}}" where mtr_portfolio_id = 26221445 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26221595 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 = 26221595 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 = 26221595 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26221595 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 = 26221595 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 = 26221595 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221595_26-08-2025_06_13_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26221595 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_P26221595_26-08-2025_06_13_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221605, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221606, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221608, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221611, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221612, 'pht': 3726}}" where mtr_portfolio_id = 26221595 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26221773 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 = 26221773 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 = 26221773 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26221773 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 = 26221773 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 = 26221773 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221773_26-08-2025_04_05_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26221773 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_P26221773_26-08-2025_04_05_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26221779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26221780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26221781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26221782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26221783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26221784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26221785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26221786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26221787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26221788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26221789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26221790, 'pht': 3726}}" where mtr_portfolio_id = 26221773 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26221991 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 = 26221991 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 = 26221991 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26221991 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 = 26221991 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 = 26221991 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26221991_26-08-2025_05_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26221991 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_P26221991_26-08-2025_05_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222004, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222008, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222009, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222015, 'pht': 3726}}" where mtr_portfolio_id = 26221991 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26222507 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 = 26222507 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 = 26222507 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26222507 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 = 26222507 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 = 26222507 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222507_26-08-2025_06_14_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26222507 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_P26222507_26-08-2025_06_14_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222509, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222511, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222513, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222515, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222520, 'pht': 3726}}" where mtr_portfolio_id = 26222507 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26222617 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 = 26222617 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 = 26222617 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26222617 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 = 26222617 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 = 26222617 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222617_26-08-2025_06_14_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26222617 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_P26222617_26-08-2025_06_14_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222622, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222625, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222630, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222632, 'pht': 3726}}" where mtr_portfolio_id = 26222617 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26222730 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 = 26222730 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 = 26222730 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26222730 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 = 26222730 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 = 26222730 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222730_26-08-2025_06_03_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26222730 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_P26222730_26-08-2025_06_03_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222735, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222736, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222739, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222743, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222744, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222746, 'pht': 3726}}" where mtr_portfolio_id = 26222730 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26222815 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 = 26222815 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 = 26222815 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26222815 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 = 26222815 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 = 26222815 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26222815_26-08-2025_06_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26222815 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_P26222815_26-08-2025_06_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26222824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26222825, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26222826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26222827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26222828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26222829, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26222830, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26222831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26222832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26222833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26222834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26222835, 'pht': 3726}}" where mtr_portfolio_id = 26222815 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26223041 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 = 26223041 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 = 26223041 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26223041 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 = 26223041 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 = 26223041 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223041_26-08-2025_06_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223041 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_P26223041_26-08-2025_06_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223053, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223064, 'pht': 3726}}" where mtr_portfolio_id = 26223041 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26223181 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 = 26223181 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 = 26223181 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26223181 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 = 26223181 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 = 26223181 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223181_26-08-2025_06_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223181 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_P26223181_26-08-2025_06_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223193, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223196, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223199, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223202, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223204, 'pht': 3726}}" where mtr_portfolio_id = 26223181 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26223332 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 = 26223332 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 = 26223332 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26223332 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 = 26223332 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 = 26223332 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223332_26-08-2025_07_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223332 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_P26223332_26-08-2025_07_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26223334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26223335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26223336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26223337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26223338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26223339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26223340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26223341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26223342, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26223343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26223344, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26223345, 'pht': 3726}}" where mtr_portfolio_id = 26223332 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26224384 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 = 26224384 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 = 26224384 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26224384 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 = 26224384 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 = 26224384 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26224384_26-08-2025_07_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26224384 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_P26224384_26-08-2025_07_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26224388, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26224389, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26224390, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26224391, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26224392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26224393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26224394, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26224395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26224396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26224397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26224398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26224399, 'pht': 3726}}" where mtr_portfolio_id = 26224384 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26224665 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 = 26224665 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 = 26224665 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26224665 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 = 26224665 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 = 26224665 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26224665_26-08-2025_08_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26224665 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_P26224665_26-08-2025_08_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26224710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26224711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26224712, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26224713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26224714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26224715, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26224716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26224717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26224718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26224719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26224720, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26224721, 'pht': 3726}}" where mtr_portfolio_id = 26224665 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26225626 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 = 26225626 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 = 26225626 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26225626 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 = 26225626 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 = 26225626 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225626_26-08-2025_09_01_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26225626 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_P26225626_26-08-2025_09_01_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26225642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26225643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26225644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26225645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26225646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26225647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26225648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26225649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26225650, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26225651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26225652, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26225653, 'pht': 3726}}" where mtr_portfolio_id = 26225626 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26225964 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 = 26225964 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 = 26225964 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26225964 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 = 26225964 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 = 26225964 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225964_26-08-2025_09_01_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26225964 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_P26225964_26-08-2025_09_01_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26225980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26225981, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26225982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26225983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26225984, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26225985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26225986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26225987, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26225988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26225989, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26225990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26225991, 'pht': 3726}}" where mtr_portfolio_id = 26225964 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26225966 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 = 26225966 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 = 26225966 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26225966 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 = 26225966 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 = 26225966 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225966_26-08-2025_09_30_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26225966 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_P26225966_26-08-2025_09_30_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26226024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26226025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26226026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26226027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26226028, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26226029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26226030, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26226031, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26226032, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26226033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26226034, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26226035, 'pht': 3726}}" where mtr_portfolio_id = 26225966 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26226691 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 = 26226691 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 = 26226691 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26226691 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 = 26226691 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 = 26226691 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226691_26-08-2025_09_48_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26226691 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_P26226691_26-08-2025_09_48_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26226701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26226702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26226703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26226704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26226705, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26226706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26226707, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26226708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26226709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26226710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26226711, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26226712, 'pht': 3726}}" where mtr_portfolio_id = 26226691 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26227063 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 = 26227063 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 = 26227063 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26227063 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 = 26227063 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 = 26227063 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26227063_26-08-2025_10_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26227063 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_P26227063_26-08-2025_10_02_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26227084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26227085, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26227086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26227087, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26227088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26227089, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26227090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26227091, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26227092, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26227093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26227094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26227095, 'pht': 3726}}" where mtr_portfolio_id = 26227063 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26227418 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 = 26227418 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 = 26227418 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26227418 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 = 26227418 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 = 26227418 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26227418_26-08-2025_10_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26227418 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_P26227418_26-08-2025_10_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26227480, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26227481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26227482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26227483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26227484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26227485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26227486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26227487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26227488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26227489, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26227490, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26227491, 'pht': 3726}}" where mtr_portfolio_id = 26227418 and dashboard_run_id = 2183765 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26227847 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 = 26227847 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 = 26227847 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26227847 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 = 26227847 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 = 26227847 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26227847_26-08-2025_10_56_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26227847 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_P26227847_26-08-2025_10_56_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26227869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26227870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26227871, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26227872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26227873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26227874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26227875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26227876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26227877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26227878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26227879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26227880, 'pht': 3726}}" where mtr_portfolio_id = 26227847 and dashboard_run_id = 2183767 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26228615 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 = 26228615 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 = 26228615 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26228615 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 = 26228615 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 = 26228615 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26228615_26-08-2025_11_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26228615 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_P26228615_26-08-2025_11_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26228621, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26228622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26228623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26228624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26228625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26228626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26228627, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26228628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26228629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26228630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26228631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26228632, 'pht': 3726}}" where mtr_portfolio_id = 26228615 and dashboard_run_id = 2183767 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26228669 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 = 26228669 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 = 26228669 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26228669 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 = 26228669 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 = 26228669 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26228669_26-08-2025_11_15_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26228669 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_P26228669_26-08-2025_11_15_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26228689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26228690, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26228691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26228692, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26228693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26228694, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26228695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26228696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26228697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26228698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26228699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26228700, 'pht': 3726}}" where mtr_portfolio_id = 26228669 and dashboard_run_id = 2183767 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26218438,26218950,26219900,26219967,26220103,26220824,26220951,26221110,26221445,26221595,26221773,26221991,26222507,26222617,26222730,26222815,26223041,26223181,26223332,26224384,26224665,26225626,26225964,26225966,26226691,26227063,26227418,26227847,26228615,26228669) result : ((1379342854,), (1379342855,), (1379342870,), (1379342957,), (1379342959,), (1379344937,), (1379344940,), (1379345298,), (1379346354,), (1379347089,), (1379347411,), (1379347710,), (1379347711,), (1379347794,), (1379347795,), (1379347900,), (1379347958,), (1379348092,), (1379348173,), (1379352067,), (1379352068,), (1379352103,), (1379352125,), (1379352140,), (1379352141,), (1379352163,), (1379352164,), (1379352188,), (1379352210,), (1379352262,), (1379352319,), (1379352346,), (1379352347,), (1379352389,), (1379352387,), (1379352388,), (1379352440,), (1379352464,), (1379352600,), (1379352601,), (1379352602,), (1379352623,), (1379352648,), (1379352681,), (1379352682,), (1379352820,), (1379352821,), (1379352882,), (1379352884,), (1379352896,), (1379352897,), (1379352942,), (1379352941,), (1379353283,), (1379353284,), (1379353719,), (1379355085,), (1379355086,), (1379355111,), (1379355112,), (1379355127,), (1379355128,), (1379355280,), (1379355339,), (1379355340,), (1379355341,), (1379355383,), (1379355957,), (1379355998,), (1379356022,), (1379356109,), (1379356110,), (1379356130,), (1379356151,), (1379356196,), (1379356214,), (1379356278,), (1379356320,), (1379356379,), (1379356441,), (1379356442,), (1379356460,), (1379356461,), (1379356531,), (1379356532,), (1379356563,), (1379356564,), (1379356605,), (1379356990,), (1379356992,), (1379356994,), (1379358160,), (1379358553,), (1379358733,), (1379358735,), (1379358780,), (1379358781,), (1379358782,), (1379358783,), (1379358838,), (1379358911,), (1379358961,), (1379358960,), (1379358977,), (1379358978,), (1379359030,), (1379359052,), (1379359053,), (1379359115,), (1379359173,), (1379359174,), (1379359193,), (1379359194,), (1379359281,), (1379359342,), (1379359341,), (1379359383,), (1379359384,), (1379359429,), (1379359458,), (1379359493,), (1379359535,), (1379359576,), (1379359623,), (1379359624,), (1379359625,), (1379359689,), (1379359690,), (1379359720,), (1379359738,), (1379359776,), (1379359777,), (1379359836,), (1379359920,), (1379359940,), (1379359963,), (1379359983,), (1379359995,), (1379360559,), (1379360560,), (1379360568,), (1379361235,), (1379361233,), (1379361385,), (1379361668,), (1379361670,), (1379362176,), (1379362177,), (1379362236,), (1379362237,), (1379364945,), (1379365529,), (1379365730,), (1379365731,), (1379365751,), (1379365758,), (1379365759,), (1379365760,), (1379365812,), (1379365813,), (1379365814,), (1379365815,), (1379366262,), (1379365996,), (1379366284,), (1379366290,), (1379366291,), (1379366317,), (1379366371,), (1379366372,), (1379366373,), (1379367051,), (1379367191,), (1379367192,), (1379367252,), (1379367254,), (1379367257,), (1379367259,), (1379367261,), (1379367263,), (1379367653,), (1379367655,), (1379367657,), (1379367659,), (1379367838,), (1379367839,), (1379368118,), (1379368114,), (1379368116,), (1379368380,), (1379368381,), (1379368382,), (1379368383,), (1379368462,), (1379368463,), (1379368464,), (1379368465,), (1379368553,), (1379368555,), (1379368557,), (1379368559,), (1379368561,), (1379368918,), (1379368920,), (1379368923,), (1379368925,), (1379368927,), (1379369168,), (1379369170,), (1379369172,), (1379369174,), (1379369176,), (1379369178,), (1379369262,), (1379369263,), (1379369264,), (1379369266,), (1379369267,), (1379369268,), (1379369292,), (1379369294,), (1379369296,), (1379369298,), (1379369334,), (1379369335,), (1379369336,), (1379369337,), (1379369338,), (1379369339,), (1379369341,), (1379369342,), (1379369344,), (1379369357,), (1379369358,), (1379369386,), (1379369387,), (1379369388,), (1379369389,), (1379369390,), (1379369409,), (1379369410,), (1379369411,), (1379369412,), (1379369413,), (1379369414,), (1379369477,), (1379369478,), (1379369479,), (1379369480,), (1379369481,), (1379369502,), (1379369503,), (1379369504,), (1379369505,), (1379369506,), (1379369530,), (1379369532,), (1379369533,), (1379369534,), (1379369535,), (1379369557,), (1379369604,), (1379369554,), (1379369556,), (1379369584,), (1379369585,), (1379369586,), (1379369587,), (1379369588,), (1379369589,), (1379369603,), (1379369636,), (1379369637,), (1379369639,), (1379369640,), (1379369641,), (1379369668,), (1379369669,), (1379369670,), (1379369671,), (1379369672,), (1379369702,), (1379369703,), (1379369704,), (1379369724,), (1379369725,), (1379369726,), (1379369727,), (1379369754,), (1379369755,), (1379369756,), (1379369757,), (1379369758,), (1379369759,), (1379369805,), (1379369806,), (1379369807,), (1379369808,), (1379369833,), (1379369834,), (1379369835,), (1379369836,), (1379369837,), (1379369838,), (1379369861,), (1379369862,), (1379369863,), (1379369864,), (1379369865,), (1379369892,), (1379369893,), (1379369894,), (1379369895,), (1379369917,), (1379369918,), (1379369919,), (1379369920,), (1379369921,), (1379369922,), (1379369926,), (1379369929,), (1379369999,), (1379370000,), (1379370001,), (1379370002,), (1379370031,), (1379370032,), (1379370056,), (1379370057,), (1379370058,), (1379370059,), (1379370085,), (1379370082,), (1379370083,), (1379370084,), (1379370107,), (1379370108,), (1379370109,), (1379370110,), (1379370111,), (1379370112,), (1379370176,), (1379370177,), (1379370178,), (1379370179,), (1379370180,), (1379370205,), (1379370206,), (1379370207,), (1379370208,), (1379370209,), (1379370210,), (1379370231,), (1379370232,), (1379370233,), (1379370234,), (1379370235,), (1379370236,), (1379370258,), (1379370259,), (1379370260,), (1379370278,), (1379370279,), (1379370280,), (1379370281,), (1379370282,), (1379370284,), (1379370287,), (1379370288,), (1379370333,), (1379370334,), (1379370335,), (1379370336,), (1379370337,), (1379370338,), (1379370363,), (1379370364,), (1379370365,), (1379370366,), (1379370367,), (1379370395,), (1379370396,), (1379370397,), (1379370423,), (1379370424,), (1379370425,), (1379370426,), (1379370427,), (1379370428,), (1379370456,), (1379370457,), (1379370458,), (1379370459,), (1379370460,), (1379370487,), (1379370488,), (1379370489,), (1379370490,), (1379370491,), (1379370508,), (1379370509,), (1379370510,), (1379370536,), (1379370537,), (1379370538,), (1379370539,), (1379370562,), (1379370598,), (1379370557,), (1379370558,), (1379370559,), (1379370560,), (1379370586,), (1379370587,), (1379370588,), (1379370589,), (1379370590,), (1379370591,), (1379370596,), (1379370597,), (1379370665,), (1379370666,), (1379370667,), (1379370668,), (1379370671,), (1379370674,), (1379370700,), (1379370701,), (1379370702,), (1379370703,), (1379370704,), (1379370728,), (1379370729,), (1379370730,), (1379370731,), (1379370732,), (1379370733,), (1379370757,), (1379370758,), (1379370759,), (1379370760,), (1379370761,), (1379370762,), (1379370776,), (1379370777,), (1379370778,), (1379370779,), (1379370847,), (1379370848,), (1379370849,), (1379370850,), (1379370866,), (1379370867,), (1379370868,), (1379370869,), (1379370926,), (1379376598,), (1379376591,), (1379376592,), (1379376593,), (1379376594,), (1379376596,), (1379376676,), (1379376677,), (1379376728,), (1379377015,), (1379377017,), (1379377020,), (1379377022,), (1379377024,), (1379377026,), (1379377115,), (1379377116,), (1379377117,), (1379377118,), (1379377119,), (1379377221,), (1379377222,), (1379377223,), (1379377224,), (1379377225,), (1379377227,), (1379377231,), (1379377233,), (1379377238,), (1379377277,), (1379377278,), (1379377279,), (1379377280,), (1379377281,), (1379377350,), (1379377351,), (1379377352,), (1379377353,), (1379377354,), (1379377379,), (1379377380,), (1379377381,), (1379377442,), (1379377443,), (1379377444,), (1379377445,), (1379377584,), (1379377585,), (1379377586,), (1379377587,), (1379377588,), (1379377589,), (1379377643,), (1379377644,), (1379377645,), (1379377646,), (1379377647,), (1379377695,), (1379377696,), (1379378074,), (1379378077,), (1379378079,), (1379378572,), (1379378706,), (1379378564,), (1379378566,), (1379378568,), (1379378570,), (1379378685,), (1379378686,), (1379378687,), (1379378689,), (1379378690,), (1379378691,), (1379378702,), (1379378703,), (1379378704,), (1379378705,), (1379378765,), (1379378766,), (1379378767,), (1379378768,), (1379378794,), (1379378795,), (1379378796,), (1379378797,), (1379378798,), (1379378985,), (1379378988,), (1379378991,), (1379378994,), (1379378997,), (1379379000,), (1379379329,), (1379379331,), (1379379334,), (1379379337,), (1379379340,), (1379379343,), (1379379455,), (1379379456,), (1379379457,), (1379379458,), (1379379495,), (1379379496,), (1379379497,), (1379379498,), (1379379499,), (1379379534,), (1379379535,), (1379379536,), (1379379537,), (1379379538,), (1379379539,), (1379379602,), (1379379604,), (1379379606,), (1379379673,), (1379379675,), (1379379677,), (1379379679,), (1379379681,), (1379379790,), (1379379791,), (1379379792,), (1379379793,), (1379379794,), (1379379795,), (1379379803,), (1379379804,), (1379379805,), (1379379806,), (1379379807,), (1379379886,), (1379379887,), (1379379888,), (1379380552,), (1379380554,), (1379380556,), (1379380558,), (1379380830,), (1379380833,), (1379380908,), (1379380910,), (1379380911,), (1379386553,), (1379386554,), (1379386577,), (1379386578,), (1379386579,), (1379386580,), (1379386581,), (1379386613,), (1379386614,), (1379386615,), (1379386616,), (1379386617,), (1379386618,), (1379386644,), (1379386645,), (1379386646,), (1379388009,), (1379388007,), (1379388008,), (1379388120,), (1379388121,), (1379388122,), (1379388123,), (1379388303,), (1379388305,), (1379388307,), (1379388309,), (1379388311,), (1379388505,), (1379388506,), (1379388507,), (1379388706,), (1379388710,), (1379388714,), (1379388826,), (1379388827,), (1379388828,), (1379388829,), (1379388830,), (1379388858,), (1379388859,), (1379388860,), (1379388861,), (1379388862,), (1379388863,), (1379388889,), (1379388890,), (1379388891,), (1379389275,), (1379389276,), (1379389277,), (1379389360,), (1379389474,), (1379389358,), (1379389359,), (1379389462,), (1379389463,), (1379389464,), (1379389465,), (1379389466,), (1379389467,), (1379389473,), (1379389494,), (1379389495,), (1379389496,), (1379389497,), (1379389530,), (1379389531,), (1379389532,), (1379389533,), (1379389556,), (1379389557,), (1379389585,), (1379389586,), (1379389587,), (1379389588,), (1379389617,), (1379389618,), (1379389619,), (1379389620,), (1379389621,), (1379389622,), (1379389647,), (1379389648,), (1379389649,), (1379389650,), (1379389652,), (1379389730,), (1379389732,), (1379389734,), (1379389736,), (1379390052,), (1379390054,), (1379390074,), (1379390075,), (1379390076,), (1379390104,), (1379390105,), (1379393064,), (1379393109,), (1379393111,), (1379393304,), (1379393306,), (1379393415,), (1379393416,), (1379393417,), (1379393418,), (1379393578,), (1379393579,), (1379393781,), (1379393783,), (1379393785,), (1379393787,), (1379393789,), (1379393791,), (1379393952,), (1379393953,), (1379393954,), (1379393986,), (1379393987,), (1379393988,), (1379393989,), (1379393990,), (1379394110,), (1379394112,), (1379394116,), (1379394118,), (1379394256,), (1379394258,), (1379394316,), (1379394317,), (1379394401,), (1379394402,), (1379394403,), (1379394404,), (1379394405,), (1379394406,), (1379394569,), (1379394632,), (1379394635,), (1379394637,), (1379394923,), (1379394924,), (1379394925,), (1379395061,), (1379395063,), (1379395066,), (1379395067,), (1379395068,), (1379395069,), (1379395163,), (1379395165,), (1379395167,), (1379395169,), (1379395171,), (1379395173,), (1379395332,), (1379395537,), (1379395330,), (1379395331,), (1379395524,), (1379395525,), (1379395526,), (1379395527,), (1379395528,), (1379395529,), (1379395535,), (1379395569,), (1379395570,), (1379395571,), (1379395572,), (1379395573,), (1379395634,), (1379395635,), (1379395636,), (1379395637,), (1379395661,), (1379395663,), (1379395664,), (1379395938,), (1379395978,), (1379395979,), (1379395980,), (1379395981,), (1379395982,), (1379396172,), (1379396174,), (1379396176,), (1379396178,), (1379396352,), (1379396354,), (1379396356,), (1379396358,), (1379396500,), (1379396501,), (1379396502,), (1379396503,), (1379396614,), (1379396615,), (1379396958,), (1379396960,), (1379397084,), (1379397085,), (1379397117,), (1379397153,), (1379397158,), (1379397162,), (1379397393,), (1379397389,), (1379397391,), (1379397898,), (1379397901,), (1379398054,), (1379398364,), (1379398366,), (1379398437,), (1379398438,), (1379398469,), (1379398470,), (1379398492,), (1379398493,), (1379398494,), (1379398495,), (1379402462,), (1379402460,), (1379402772,), (1379402773,), (1379403036,), (1379403038,), (1379403104,), (1379403105,), (1379403106,), (1379403221,), (1379403222,), (1379403547,), (1379403548,), (1379404254,), (1379404257,), (1379404260,), (1379404263,), (1379406726,), (1379406723,), (1379407329,), (1379407333,), (1379407336,), (1379407338,), (1379407807,), (1379407798,), (1379407800,), (1379407802,), (1379407804,), (1379408190,), (1379408687,), (1379408689,), (1379409100,), (1379409102,), (1379409337,), (1379409753,), (1379409755,), (1379409757,), (1379410135,), (1379410136,), (1379410137,), (1379410138,), (1379410139,), (1379410140,), (1379410411,), (1379410413,), (1379410415,), (1379410417,), (1379410638,), (1379410640,), (1379410642,), (1379410644,), (1379410646,), (1379410797,), (1379410798,), (1379410799,), (1379410800,), (1379410801,), (1379410802,), (1379410880,), (1379410881,), (1379410882,), (1379410883,), (1379411003,), (1379411004,), (1379411005,), (1379411006,), (1379411007,), (1379411034,), (1379411035,), (1379411036,), (1379411037,), (1379411069,), (1379411070,), (1379411071,), (1379411072,), (1379411073,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26082025': {'nb_upload': 52, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26228669]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1379411073, 1379411072, 1379411071, 1379411070, 1379411069, 1379411037, 1379411036, 1379411035, 1379411034] map_info['map_portfolio_photo'] : {26228669: [1379411073, 1379411072, 1379411071, 1379411070, 1379411069, 1379411037, 1379411036, 1379411035, 1379411034, 1379411007, 1379411006, 1379411005, 1379411004, 1379411003, 1379410883, 1379410882, 1379410881, 1379410880, 1379410802, 1379410801, 1379410800, 1379410799, 1379410798, 1379410797, 1379410646, 1379410644, 1379410642, 1379410640, 1379410638, 1379410417, 1379410415, 1379410413, 1379410411, 1379410140, 1379410139, 1379410138, 1379410137, 1379410136, 1379410135, 1379409757, 1379409755, 1379409753, 1379409337, 1379409102, 1379409100, 1379408689, 1379408687, 1379408190, 1379407804, 1379407802, 1379407800, 1379407798]} final : True mtd_id 4302 list_pids : [1379411073, 1379411072, 1379411071, 1379411070, 1379411069, 1379411037, 1379411036, 1379411035, 1379411034] Looping around the photos to save general results len do output : 1 /26228669Didn'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, '3599002') ('4302', '26228669', '1379411073', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411072', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411071', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411070', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411069', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411037', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411036', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411035', None, None, None, None, None, '3599002') ('4302', None, None, None, None, None, None, None, '3599002') ('4302', '26228669', '1379411034', None, None, None, None, None, '3599002') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '26228669', 'None', None, None, None, None, '3599002'), ('4302', '26228669', '1379411073', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411072', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411071', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411070', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411069', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411037', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411036', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411035', None, None, None, None, None, '3599002'), ('4302', '26228669', '1379411034', None, None, None, None, None, '3599002')] time used for this insertion : 0.015138864517211914 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.3414678573608398 time spend to save output : 0.015329599380493164 total time spend for step 5 : 1.356797456741333 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 (3599002) 1.96user 2.22system 0:07.50elapsed 55%CPU (0avgtext+0avgdata 159312maxresident)k 4432inputs+4472outputs (10major+64154minor)pagefaults 0swaps