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 : 810417 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 (3952765) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3952765) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872616 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3952765'] with mtr_portfolio_ids : ['27872616'] and first list_photo_ids : [] new path : /proc/810417/ Name: python3 Umask: 0002 State: R (running) Tgid: 810417 Ngid: 0 Pid: 810417 PPid: 810414 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 810417 NSpid: 810417 NSpgid: 809477 NSsid: 809477 VmPeak: 1106856 kB VmSize: 1106856 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100256 kB VmRSS: 100256 kB RssAnon: 59852 kB RssFile: 40404 kB RssShmem: 0 kB VmData: 865608 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 596 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: 55 nonvoluntary_ctxt_switches: 105 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '810417', 'Ngid': '0', 'Pid': '810417', 'PPid': '810414', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '810417', 'NSpid': '810417', 'NSpgid': '809477', 'NSsid': '809477', 'VmPeak': '1106856 kB', 'VmSize': '1106856 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100256 kB', 'VmRSS': '100256 kB', 'RssAnon': '59852 kB', 'RssFile': '40404 kB', 'RssShmem': '0 kB', 'VmData': '865608 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '596 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': '55', 'nonvoluntary_ctxt_switches': '105'} ('datou_batch_current', '810417', '1106856', '0', '1106856', '865608', '100256', b'', 'marlene', '3952765') 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_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (27872616) 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 (3952765 ) ) 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 (27872616) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1389776418, 'portfolio_id': 27872616}, {'photo_id': 1389768774, 'portfolio_id': 27872616}, {'photo_id': 1389768715, 'portfolio_id': 27872616}, {'photo_id': 1389768674, 'portfolio_id': 27872616}, {'photo_id': 1389768634, 'portfolio_id': 27872616}, {'photo_id': 1389768574, 'portfolio_id': 27872616}, {'photo_id': 1389768521, 'portfolio_id': 27872616}, {'photo_id': 1389768463, 'portfolio_id': 27872616}, {'photo_id': 1389768413, 'portfolio_id': 27872616}, {'photo_id': 1389768344, 'portfolio_id': 27872616}, {'photo_id': 1389768268, 'portfolio_id': 27872616}] map_portfolio_id_photo_id: {27872616: [1389776418, 1389768774, 1389768715, 1389768674, 1389768634, 1389768574, 1389768521, 1389768463, 1389768413, 1389768344, 1389768268]} ##### 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.05390501022338867 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Oct 17 11:08:47 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 (27872616) 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 : 27872616 get user id for portfolio 27872616 get sub ptf for main ptf 27872616, type 3726 and hashtags ['kraft', 'cartonnette', 'metal', 'flou', 'environnement', 'mal_croppe', 'Carton_gris', 'papier', 'Carton_brun', 'autre_refus', 'plastique', 'Teint_Dans_La_Masse'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27872616 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','cartonnette','metal','flou','environnement','mal_croppe','Carton_gris','papier','Carton_brun','autre_refus','plastique','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27872616 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','cartonnette','metal','flou','environnement','mal_croppe','Carton_gris','papier','Carton_brun','autre_refus','plastique','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 27872616, 'sub_port_id': 27872629, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813845, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 30, 26)}, 'flou': {'main_port_id': 27872616, 'sub_port_id': 27872632, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813846, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 30, 26)}, 'environnement': {'main_port_id': 27872616, 'sub_port_id': 27872634, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813847, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 30, 26)}, 'autre_refus': {'main_port_id': 27872616, 'sub_port_id': 27872637, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813848, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 30, 26)}, 'Carton_gris': {'main_port_id': 27872616, 'sub_port_id': 27872639, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813849, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 30, 26)}, 'mal_croppe': {'main_port_id': 27872616, 'sub_port_id': 27872641, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813850, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 30, 26)}, 'plastique': {'main_port_id': 27872616, 'sub_port_id': 27872644, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813851, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 30, 26)}, 'kraft': {'main_port_id': 27872616, 'sub_port_id': 27872646, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813852, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 30, 26)}, 'metal': {'main_port_id': 27872616, 'sub_port_id': 27872647, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813853, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 30, 26)}, 'cartonnette': {'main_port_id': 27872616, 'sub_port_id': 27872650, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813854, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 30, 26)}, 'Carton_brun': {'main_port_id': 27872616, 'sub_port_id': 27872653, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813855, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 30, 26)}, 'Teint_Dans_La_Masse': {'main_port_id': 27872616, 'sub_port_id': 27872656, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813856, 'last_updated_at': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 10, 47, 16), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 30, 26)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27872629 , 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=27872616 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 (27872629) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872616) result : ((1389768268,), (1389768344,), (1389768413,), (1389768463,), (1389768521,), (1389768574,), (1389768634,), (1389768674,), (1389768715,), (1389768774,), (1389776418,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27872632 , 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=27872616 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 (27872632) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872616) result : ((1389768268,), (1389768344,), (1389768413,), (1389768463,), (1389768521,), (1389768574,), (1389768634,), (1389768674,), (1389768715,), (1389768774,), (1389776418,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27872634 , 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=27872616 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 (27872634) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872616) result : ((1389768268,), (1389768344,), (1389768413,), (1389768463,), (1389768521,), (1389768574,), (1389768634,), (1389768674,), (1389768715,), (1389768774,), (1389776418,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27872637 , 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=27872616 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 (27872637) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872616) result : ((1389768268,), (1389768344,), (1389768413,), (1389768463,), (1389768521,), (1389768574,), (1389768634,), (1389768674,), (1389768715,), (1389768774,), (1389776418,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27872639 , 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=27872616 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 (27872639) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872616) result : ((1389768268,), (1389768344,), (1389768413,), (1389768463,), (1389768521,), (1389768574,), (1389768634,), (1389768674,), (1389768715,), (1389768774,), (1389776418,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27872641 , 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=27872616 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 (27872641) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872616) result : ((1389768268,), (1389768344,), (1389768413,), (1389768463,), (1389768521,), (1389768574,), (1389768634,), (1389768674,), (1389768715,), (1389768774,), (1389776418,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27872644 , 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=27872616 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 (27872644) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872616) result : ((1389768268,), (1389768344,), (1389768413,), (1389768463,), (1389768521,), (1389768574,), (1389768634,), (1389768674,), (1389768715,), (1389768774,), (1389776418,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27872646 , 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=27872616 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 (27872646) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872616) result : ((1389768268,), (1389768344,), (1389768413,), (1389768463,), (1389768521,), (1389768574,), (1389768634,), (1389768674,), (1389768715,), (1389768774,), (1389776418,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27872647 , 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=27872616 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 (27872647) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872616) result : ((1389768268,), (1389768344,), (1389768413,), (1389768463,), (1389768521,), (1389768574,), (1389768634,), (1389768674,), (1389768715,), (1389768774,), (1389776418,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27872650 , 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=27872616 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 (27872650) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872616) result : ((1389768268,), (1389768344,), (1389768413,), (1389768463,), (1389768521,), (1389768574,), (1389768634,), (1389768674,), (1389768715,), (1389768774,), (1389776418,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27872653 , 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=27872616 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 (27872653) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872616) result : ((1389768268,), (1389768344,), (1389768413,), (1389768463,), (1389768521,), (1389768574,), (1389768634,), (1389768674,), (1389768715,), (1389768774,), (1389776418,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27872656 , 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=27872616 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 (27872656) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27872616) result : ((1389768268,), (1389768344,), (1389768413,), (1389768463,), (1389768521,), (1389768574,), (1389768634,), (1389768674,), (1389768715,), (1389768774,), (1389776418,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27872616 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','cartonnette','metal','flou','environnement','mal_croppe','Carton_gris','papier','Carton_brun','autre_refus','plastique','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27872616 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','cartonnette','metal','flou','environnement','mal_croppe','Carton_gris','papier','Carton_brun','autre_refus','plastique','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 27872616, 'sub_port_id': 27872659, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813869, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 31, 44)}, 'flou': {'main_port_id': 27872616, 'sub_port_id': 27872660, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813870, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 31, 44)}, 'environnement': {'main_port_id': 27872616, 'sub_port_id': 27872661, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813871, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 31, 44)}, 'autre_refus': {'main_port_id': 27872616, 'sub_port_id': 27872662, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813872, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 31, 44)}, 'Carton_gris': {'main_port_id': 27872616, 'sub_port_id': 27872663, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813873, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 31, 44)}, 'mal_croppe': {'main_port_id': 27872616, 'sub_port_id': 27872665, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813874, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 31, 44)}, 'plastique': {'main_port_id': 27872616, 'sub_port_id': 27872666, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813875, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 31, 44)}, 'kraft': {'main_port_id': 27872616, 'sub_port_id': 27872668, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813876, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 31, 44)}, 'metal': {'main_port_id': 27872616, 'sub_port_id': 27872670, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813877, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 31, 44)}, 'cartonnette': {'main_port_id': 27872616, 'sub_port_id': 27872672, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813878, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 31, 44)}, 'Carton_brun': {'main_port_id': 27872616, 'sub_port_id': 27872673, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813879, 'last_updated_at': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 9, 31, 44), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 31, 44)}, 'Teint_Dans_La_Masse': {'main_port_id': 27872616, 'sub_port_id': 27872675, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18813880, 'last_updated_at': datetime.datetime(2025, 10, 17, 11, 8, 49), 'last_updated_at_desc': datetime.datetime(2025, 10, 17, 11, 8, 49), 'last_updated_at_asc': datetime.datetime(2025, 10, 17, 9, 31, 44)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872659,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872629 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872660,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872632 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872661,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872634 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872662,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872637 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872663,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872639 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872665,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872641 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872666,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872644 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872668,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872646 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872670,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872647 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872672,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872650 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872673,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872653 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27872675,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27872656 lien utilise dans velours : https://marlene.fotonower.com/velours/27872659,27872660,27872661,27872662,27872663,27872665,27872666,27872668,27872670,27872672,27872673,27872675?tags=papier,flou,environnement,autre_refus,Carton_gris,mal_croppe,plastique,kraft,metal,cartonnette,Carton_brun,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27872616]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1389776418] map_info['map_portfolio_photo'] : {27872616: [1389776418, 1389768774, 1389768715, 1389768674, 1389768634, 1389768574, 1389768521, 1389768463, 1389768413, 1389768344, 1389768268]} final : False mtd_id 4302 list_pids : [1389776418] Looping around the photos to save general results len do output : 1 /27872616. 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, '3952765') ('4302', '27872616', '1389776418', None, None, None, None, None, '3952765') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '27872616', "{'papier': 27872629, 'flou': 27872632, 'environnement': 27872634, 'autre_refus': 27872637, 'Carton_gris': 27872639, 'mal_croppe': 27872641, 'plastique': 27872644, 'kraft': 27872646, 'metal': 27872647, 'cartonnette': 27872650, 'Carton_brun': 27872653, 'Teint_Dans_La_Masse': 27872656}", None, None, None, None, '3952765'), ('4302', '27872616', '1389776418', None, None, None, None, None, '3952765')] time used for this insertion : 1.3429365158081055 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.692835807800293 time spend to save output : 1.3432812690734863 total time spend for step 1 : 14.03611707687378 step2:final Fri Oct 17 11:09:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 (27872616) 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 27872616 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1389768268,1389768344,1389768413,1389768463,1389768521,1389768574,1389768634,1389768674,1389768715,1389768774,1389776418); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27872616]) Inside saveOutput : final : False verbose : True original output for save of step final : {1389776418: ('0.0',)} new output for save of step final : {1389776418: ('0.0',)} [1389776418] map_info['map_portfolio_photo'] : {27872616: [1389776418, 1389768774, 1389768715, 1389768674, 1389768634, 1389768574, 1389768521, 1389768463, 1389768413, 1389768344, 1389768268]} final : False mtd_id 4302 list_pids : [1389776418] Looping around the photos to save general results len do output : 1 /1389776418.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, '3952765') ('4302', '27872616', '1389776418', None, None, None, None, None, '3952765') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '27872616', '1389776418', '0.0', None, None, None, None, '3952765')] time used for this insertion : 4.161668539047241 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.20302915573120117 time spend to save output : 4.161905527114868 total time spend for step 2 : 4.364934682846069 step3:velours_tree Fri Oct 17 11:09:05 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 : {27872616: [{'papier': 27872629, 'flou': 27872632, 'environnement': 27872634, 'autre_refus': 27872637, 'Carton_gris': 27872639, 'mal_croppe': 27872641, 'plastique': 27872644, 'kraft': 27872646, 'metal': 27872647, 'cartonnette': 27872650, 'Carton_brun': 27872653, 'Teint_Dans_La_Masse': 27872656}]} input_args_next_step : {27872616: ()} output_args : {27872616: [{'papier': 27872629, 'flou': 27872632, 'environnement': 27872634, 'autre_refus': 27872637, 'Carton_gris': 27872639, 'mal_croppe': 27872641, 'plastique': 27872644, 'kraft': 27872646, 'metal': 27872647, 'cartonnette': 27872650, 'Carton_brun': 27872653, 'Teint_Dans_La_Masse': 27872656}]} args : 27872616 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': 27872629, 'flou': 27872632, 'environnement': 27872634, 'autre_refus': 27872637, 'Carton_gris': 27872639, 'mal_croppe': 27872641, 'plastique': 27872644, 'kraft': 27872646, 'metal': 27872647, 'cartonnette': 27872650, 'Carton_brun': 27872653, 'Teint_Dans_La_Masse': 27872656},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27872616) 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([27872616]) 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.41202330589294434 time spend to save output : 0.00012183189392089844 total time spend for step 3 : 0.41214513778686523 step4:send_mail_cod Fri Oct 17 11:09:06 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 : {1389776418: ('0.0',)} input_args_next_step : {1389776418: ()} output_args : {1389776418: ('0.0',)} args : 1389776418 depend.output_id : 0 complete output_args for input 3 : {27872616: [{'papier': 27872629, 'flou': 27872632, 'environnement': 27872634, 'autre_refus': 27872637, 'Carton_gris': 27872639, 'mal_croppe': 27872641, 'plastique': 27872644, 'kraft': 27872646, 'metal': 27872647, 'cartonnette': 27872650, 'Carton_brun': 27872653, 'Teint_Dans_La_Masse': 27872656}]} input_args_next_step : {1389776418: ('0.0',), 27872616: ()} output_args : {27872616: [{'papier': 27872629, 'flou': 27872632, 'environnement': 27872634, 'autre_refus': 27872637, 'Carton_gris': 27872639, 'mal_croppe': 27872641, 'plastique': 27872644, 'kraft': 27872646, 'metal': 27872647, 'cartonnette': 27872650, 'Carton_brun': 27872653, 'Teint_Dans_La_Masse': 27872656}]} args : 27872616 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :2, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27872616) 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_view ph WHERE photo_id IN (1389776418) Found this number of photos: 1 ##### Call download_photos : nb_thread : 5 begin to download photo : 1389776418 download finish for photo 1389776418 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette278726321760692146/ imagette278726371760692146/ imagette278726411760692146/ imagette278726441760692146/ imagette278726461760692146/ imagette278726471760692146/ imagette278726501760692146/ imagette278726391760692146/ imagette278726531760692146/ imagette278726561760692146/ length of list_filenames : 1 ; length of list_pids : 1 ; length of list_args : 1 results_Auto_P27872616_17-10-2025_11_09_06.pdf 27872632 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872632 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278726321760692146 27872637 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872637 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278726371760692146 27872641 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872641 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278726411760692146 27872644 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872644 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278726441760692146 27872646 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872646 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278726461760692146 27872647 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872647 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278726471760692146 27872650 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872650 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278726501760692146 27872639 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872639 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278726391760692146 27872653 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872653 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278726531760692146 27872656 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872656 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette278726561760692146 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27872616 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27872659,27872660,27872661,27872662,27872663,27872665,27872666,27872668,27872670,27872672,27872673,27872675?tags=papier,flou,environnement,autre_refus,Carton_gris,mal_croppe,plastique,kraft,metal,cartonnette,Carton_brun,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1389776418] : ('0.0',) no score found for photo 1389776418 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_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872616 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_P27872616_17-10-2025_11_09_06.pdf results_Auto_P27872616_17-10-2025_11_09_06.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872616_17-10-2025_11_09_06.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','27872616','results_Auto_P27872616_17-10-2025_11_09_06.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872616_17-10-2025_11_09_06.pdf','pdf','','0.04','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27872616]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1389776418] map_info['map_portfolio_photo'] : {27872616: [1389776418, 1389768774, 1389768715, 1389768674, 1389768634, 1389768574, 1389768521, 1389768463, 1389768413, 1389768344, 1389768268]} final : False mtd_id 4302 list_pids : [1389776418] 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, '3952765') ('4302', '27872616', '1389776418', None, None, None, None, None, '3952765') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '27872616', '1389776418', None, None, None, None, None, '3952765')] time used for this insertion : 5.232239007949829 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.435126304626465 time spend to save output : 5.232453346252441 total time spend for step 4 : 7.667579650878906 step5:split_time_score Fri Oct 17 11:09:13 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 : ['27872616'] 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 : [('27872616',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27872616) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1389776418: {'path': 'temp/1760692146_810417_1389776418_a97874159c4baf607b663875e2e6ee26.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 = 27872616; (('arc_en_ciel_jrm_bis',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27872616 group by h (('09', 11),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27872616 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 (27872616) 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 (27872616) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17102025 27872616 Nombre de photos uploadées : 11 / 23040 (0%) 17102025 27872616 Nombre de photos taguées (types de déchets): 0 / 11 (0%) 17102025 27872616 Nombre de photos taguées (volume) : 0 / 11 (0%) [{'photo_id': 1389768268, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/2b415d14c50fc911ef979367be92ff2d.jpg', 'username': None, 'uploaded_at': 1760685703, 'text': 'image_17102025_09_20_54_10137.jpg'}, {'photo_id': 1389768344, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/e2976c224b4de323d38003cae187f2d3.jpg', 'username': None, 'uploaded_at': 1760685767, 'text': 'image_17102025_09_20_54_10137.jpg'}, {'photo_id': 1389768413, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/abf86d2ba7442ad31bf026dd5bbd6900.jpg', 'username': None, 'uploaded_at': 1760685832, 'text': 'image_17102025_09_20_54_10137.jpg'}, {'photo_id': 1389768463, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/17/6dce3a8d351c97648d46736a007850b0.jpg', 'username': None, 'uploaded_at': 1760685897, 'text': 'image_17102025_09_20_54_10137.jpg'}] 0 [] Catched exception ! (1213, 'Deadlock found when trying to get lock; try restarting transaction') Connect or reconnect ! elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 2.765655517578125e-05 ??????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006694793701171875 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27872616, '2025-10-17' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2461577,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 13.851075887680054 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= 2461577 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27870991, 'dashboard_result_id': 16462852, '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_P27870991_17-10-2025_09_13_08.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871685, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871719, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27873027, 'dashboard_result_id': 16462855, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27873029, 'dashboard_result_id': 16462856, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27871053, 'dashboard_result_id': 16462858, '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_P27871053_17-10-2025_09_13_13.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871745, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27873031, 'dashboard_result_id': 16462859, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27873033, 'dashboard_result_id': 16462861, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27873035, 'dashboard_result_id': 16462862, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27873037, 'dashboard_result_id': 16462864, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27871396, 'dashboard_result_id': 16462865, '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_P27871396_17-10-2025_09_13_41.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27871754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871799, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871812, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871817, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27873039, 'dashboard_result_id': 16462866, '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_P27873039_17-10-2025_10_02_04.pdf'}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27873041, 'dashboard_result_id': 16462870, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27871526, 'dashboard_result_id': 16462872, '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_P27871526_17-10-2025_09_14_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871808, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871867, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27873044, 'dashboard_result_id': 16462875, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27871534, 'dashboard_result_id': 16462877, '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_P27871534_17-10-2025_09_21_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872379, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27871543, 'dashboard_result_id': 16462879, '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_P27871543_17-10-2025_09_20_20.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27872283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872307, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872323, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27871551, 'dashboard_result_id': 16462882, '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_P27871551_17-10-2025_09_14_14.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871864, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871904, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871908, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27871561, 'dashboard_result_id': 16462884, '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_P27871561_17-10-2025_09_20_07.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27872253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872302, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27871572, 'dashboard_result_id': 16462886, '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_P27871572_17-10-2025_09_18_54.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872231, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872243, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27871576, 'dashboard_result_id': 16462889, '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_P27871576_17-10-2025_09_18_40.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872183, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872220, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27871581, 'dashboard_result_id': 16462891, '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_P27871581_17-10-2025_09_18_27.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872108, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872138, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872172, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27871590, 'dashboard_result_id': 16462893, '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_P27871590_17-10-2025_09_18_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872170, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27871598, 'dashboard_result_id': 16462895, '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_P27871598_17-10-2025_09_17_46.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872105, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872107, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872113, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872147, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27871605, 'dashboard_result_id': 16462898, '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_P27871605_17-10-2025_09_14_49.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871930, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871969, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27871619, 'dashboard_result_id': 16462901, '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_P27871619_17-10-2025_09_14_56.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871979, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27871638, 'dashboard_result_id': 16462904, '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_P27871638_17-10-2025_09_17_24.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27872054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872067, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872096, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27871656, 'dashboard_result_id': 16462906, '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_P27871656_17-10-2025_09_16_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27872023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872043, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872052, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27870700, 'dashboard_result_id': 16462908, '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_P27870700_17-10-2025_08_40_17.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870952, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27870807, 'dashboard_result_id': 16462910, '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_P27870807_17-10-2025_08_40_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870889, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27870679, 'dashboard_result_id': 16462912, '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_P27870679_17-10-2025_09_11_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870753, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27870695, 'dashboard_result_id': 16462913, '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_P27870695_17-10-2025_09_20_55.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870720, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27871137, 'dashboard_result_id': 16462916, '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_P27871137_17-10-2025_10_01_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871158, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27871563, 'dashboard_result_id': 16462917, '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_P27871563_17-10-2025_11_04_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871599, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27872616, 'dashboard_result_id': 16462920, '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_P27872616_17-10-2025_10_47_24.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27872629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872656, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27872805, 'dashboard_result_id': 16462922, '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_P27872805_17-10-2025_10_23_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872877, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27872807, 'dashboard_result_id': 16462924, '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_P27872807_17-10-2025_09_58_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872821, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27874123, 'dashboard_result_id': 16462926, '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_P27874123_17-10-2025_10_33_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27874130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27874131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27874132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27874133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27874134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27874135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27874136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27874137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27874138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27874139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27874140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27874141, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27874825, 'dashboard_result_id': 16462933, '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_P27874825_17-10-2025_10_52_12.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27874853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27874866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27874867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27874868, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27874869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27874870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27874871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27874872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27874885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27874886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27874887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27874888, 'pht': 3726}}"}, {'dashboat_entry_day': 2461577, 'dashboard_run_id': 2469835, 'mtr_portfolio_id': 27875457, 'dashboard_result_id': 16462936, '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_P27875457_17-10-2025_10_55_21.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27875516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27875521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27875524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27875528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27875533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27875538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27875544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27875549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27875555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27875559, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27875564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27875568, '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 = 27870991 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 = 27870991 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 = 27870991 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870991 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 = 27870991 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 = 27870991 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870991_17-10-2025_09_13_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870991 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_P27870991_17-10-2025_09_13_08.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871685, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871719, 'pht': 3726}}" where mtr_portfolio_id = 27870991 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873027 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 = 27873027 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 = 27873027 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873027 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 = 27873027 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 = 27873027 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873027_17-10-2025_10_06_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873027 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_P27873027_17-10-2025_10_06_09.pdf'}" where mtr_portfolio_id = 27873027 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873029 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 = 27873029 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 = 27873029 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873029 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 = 27873029 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 = 27873029 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873029_17-10-2025_10_06_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873029 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_P27873029_17-10-2025_10_06_35.pdf'}" where mtr_portfolio_id = 27873029 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871053 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 = 27871053 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 = 27871053 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871053 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 = 27871053 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 = 27871053 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871053_17-10-2025_09_13_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871053 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_P27871053_17-10-2025_09_13_13.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871708, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871731, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871745, 'pht': 3726}}" where mtr_portfolio_id = 27871053 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873031 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 = 27873031 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 = 27873031 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873031 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 = 27873031 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 = 27873031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873031_17-10-2025_10_06_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873031 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_P27873031_17-10-2025_10_06_07.pdf'}" where mtr_portfolio_id = 27873031 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873033 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 = 27873033 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 = 27873033 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873033 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 = 27873033 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 = 27873033 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873033_17-10-2025_10_05_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873033 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_P27873033_17-10-2025_10_05_38.pdf'}" where mtr_portfolio_id = 27873033 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873035 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 = 27873035 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 = 27873035 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873035 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 = 27873035 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 = 27873035 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873035_17-10-2025_10_04_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873035 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_P27873035_17-10-2025_10_04_39.pdf'}" where mtr_portfolio_id = 27873035 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873037 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 = 27873037 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 = 27873037 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873037 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 = 27873037 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 = 27873037 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873037_17-10-2025_10_04_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873037 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_P27873037_17-10-2025_10_04_07.pdf'}" where mtr_portfolio_id = 27873037 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871396 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 = 27871396 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 = 27871396 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871396 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 = 27871396 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 = 27871396 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871396_17-10-2025_09_13_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871396 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_P27871396_17-10-2025_09_13_41.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27871754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871760, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871773, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871793, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871799, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871806, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871812, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871817, 'pht': 3726}}" where mtr_portfolio_id = 27871396 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873039 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 = 27873039 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 = 27873039 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873039 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 = 27873039 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 = 27873039 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873039_17-10-2025_10_02_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873039 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_P27873039_17-10-2025_10_02_04.pdf'}" where mtr_portfolio_id = 27873039 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873041 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 = 27873041 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 = 27873041 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873041 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 = 27873041 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 = 27873041 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873041_17-10-2025_10_02_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873041 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_P27873041_17-10-2025_10_02_38.pdf'}" where mtr_portfolio_id = 27873041 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871526 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 = 27871526 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 = 27871526 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871526 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 = 27871526 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 = 27871526 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871526_17-10-2025_09_14_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871526 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_P27871526_17-10-2025_09_14_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871808, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871826, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871867, 'pht': 3726}}" where mtr_portfolio_id = 27871526 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873044 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 = 27873044 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 = 27873044 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27873044 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 = 27873044 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 = 27873044 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27873044_17-10-2025_10_03_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27873044 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_P27873044_17-10-2025_10_03_38.pdf'}" where mtr_portfolio_id = 27873044 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871534 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 = 27871534 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 = 27871534 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871534 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 = 27871534 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 = 27871534 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871534_17-10-2025_09_21_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871534 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_P27871534_17-10-2025_09_21_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872379, 'pht': 3726}}" where mtr_portfolio_id = 27871534 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871543 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 = 27871543 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 = 27871543 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871543 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 = 27871543 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 = 27871543 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871543_17-10-2025_09_20_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871543 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_P27871543_17-10-2025_09_20_20.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27872283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872307, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872312, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872315, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872323, 'pht': 3726}}" where mtr_portfolio_id = 27871543 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871551 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 = 27871551 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 = 27871551 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871551 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 = 27871551 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 = 27871551 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871551_17-10-2025_09_14_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871551 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_P27871551_17-10-2025_09_14_14.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871864, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871898, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871904, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871908, 'pht': 3726}}" where mtr_portfolio_id = 27871551 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871561 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 = 27871561 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 = 27871561 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871561 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 = 27871561 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 = 27871561 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871561_17-10-2025_09_20_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871561 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_P27871561_17-10-2025_09_20_07.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27872253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872298, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872302, 'pht': 3726}}" where mtr_portfolio_id = 27871561 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871572 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 = 27871572 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 = 27871572 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871572 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 = 27871572 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 = 27871572 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871572_17-10-2025_09_18_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871572 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_P27871572_17-10-2025_09_18_54.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872193, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872207, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872231, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872243, 'pht': 3726}}" where mtr_portfolio_id = 27871572 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871576 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 = 27871576 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 = 27871576 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871576 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 = 27871576 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 = 27871576 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871576_17-10-2025_09_18_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871576 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_P27871576_17-10-2025_09_18_40.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872166, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872176, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872183, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872208, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872220, 'pht': 3726}}" where mtr_portfolio_id = 27871576 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871581 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 = 27871581 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 = 27871581 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871581 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 = 27871581 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 = 27871581 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871581_17-10-2025_09_18_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871581 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_P27871581_17-10-2025_09_18_27.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872108, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872115, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872138, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872172, 'pht': 3726}}" where mtr_portfolio_id = 27871581 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871590 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 = 27871590 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 = 27871590 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871590 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 = 27871590 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 = 27871590 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871590_17-10-2025_09_18_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871590 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_P27871590_17-10-2025_09_18_27.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872141, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872170, 'pht': 3726}}" where mtr_portfolio_id = 27871590 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871598 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 = 27871598 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 = 27871598 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871598 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 = 27871598 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 = 27871598 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871598_17-10-2025_09_17_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871598 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_P27871598_17-10-2025_09_17_46.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872105, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872107, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872113, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872118, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872136, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872147, 'pht': 3726}}" where mtr_portfolio_id = 27871598 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871605 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 = 27871605 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 = 27871605 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871605 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 = 27871605 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 = 27871605 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871605_17-10-2025_09_14_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871605 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_P27871605_17-10-2025_09_14_49.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871930, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871958, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871969, 'pht': 3726}}" where mtr_portfolio_id = 27871605 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871619 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 = 27871619 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 = 27871619 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871619 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 = 27871619 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 = 27871619 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871619_17-10-2025_09_14_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871619 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_P27871619_17-10-2025_09_14_56.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871946, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871951, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871956, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871960, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871979, 'pht': 3726}}" where mtr_portfolio_id = 27871619 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871638 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 = 27871638 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 = 27871638 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871638 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 = 27871638 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 = 27871638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871638_17-10-2025_09_17_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871638 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_P27871638_17-10-2025_09_17_24.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27872054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872067, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872096, 'pht': 3726}}" where mtr_portfolio_id = 27871638 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871656 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 = 27871656 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 = 27871656 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871656 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 = 27871656 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 = 27871656 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871656_17-10-2025_09_16_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871656 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_P27871656_17-10-2025_09_16_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27872023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872043, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872052, 'pht': 3726}}" where mtr_portfolio_id = 27871656 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870700 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 = 27870700 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 = 27870700 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870700 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 = 27870700 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 = 27870700 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870700_17-10-2025_08_40_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870700 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_P27870700_17-10-2025_08_40_17.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870934, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870935, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870943, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870945, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870952, 'pht': 3726}}" where mtr_portfolio_id = 27870700 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870807 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 = 27870807 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 = 27870807 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870807 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 = 27870807 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 = 27870807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870807_17-10-2025_08_40_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870807 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_P27870807_17-10-2025_08_40_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870876, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870889, 'pht': 3726}}" where mtr_portfolio_id = 27870807 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870679 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952473, 'mtr_portfolio_id': 27870679, 'created_at': datetime.datetime(2025, 10, 17, 9, 11, 39), 'result': '0.026132705072848785', 'result_long': None, 'result_double': None}] Qualite : 0.026132705072848785 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27870679 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870679_17-10-2025_09_11_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870679 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_P27870679_17-10-2025_09_11_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870753, 'pht': 3726}}" where mtr_portfolio_id = 27870679 and dashboard_run_id = 2469857 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27870679 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16462912, 0.026132705072848785, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870679_17-10-2025_09_11_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870737, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870750, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870753, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27870695 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952474, 'mtr_portfolio_id': 27870695, 'created_at': datetime.datetime(2025, 10, 17, 9, 20, 45), 'result': '0.03953099328767383', 'result_long': None, 'result_double': None}] Qualite : 0.03953099328767383 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27870695 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870695_17-10-2025_09_20_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27870695 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_P27870695_17-10-2025_09_20_55.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870720, 'pht': 3726}}" where mtr_portfolio_id = 27870695 and dashboard_run_id = 2469857 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27870695 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16462913, 0.03953099328767383, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27870695_17-10-2025_09_20_55.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27870707, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27870708, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27870709, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27870711, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27870712, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27870713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27870714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27870716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27870717, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27870718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27870719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27870720, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871137 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952569, 'mtr_portfolio_id': 27871137, 'created_at': datetime.datetime(2025, 10, 17, 10, 1, 32), 'result': '0.04809880323696534', 'result_long': None, 'result_double': None}] Qualite : 0.04809880323696534 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871137 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871137_17-10-2025_11_10_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871137 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_P27871137_17-10-2025_11_10_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871158, 'pht': 3726}}" where mtr_portfolio_id = 27871137 and dashboard_run_id = 2469857 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27871137 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16462916, 0.04809880323696534, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871137_17-10-2025_11_10_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871149, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871154, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871158, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871563 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 = 27871563 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 = 27871563 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27871563 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 = 27871563 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952649, 'mtr_portfolio_id': 27871563, 'created_at': datetime.datetime(2025, 10, 17, 11, 4, 23), 'result': 0.0, 'result_long': None, 'result_double': None}] Qualite : 0.0 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27871563 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871563_17-10-2025_11_04_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27871563 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_P27871563_17-10-2025_11_04_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871599, 'pht': 3726}}" where mtr_portfolio_id = 27871563 and dashboard_run_id = 2469857 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27871563 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16462917, 0.0, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27871563_17-10-2025_11_04_28.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27871582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27871583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27871585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27871586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27871587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27871588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27871589, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27871591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27871594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27871596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27871597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27871599, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872616 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 = 27872616 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 = 27872616 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872616 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 = 27872616 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 = 27872616 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872616_17-10-2025_11_09_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27872616 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_P27872616_17-10-2025_11_09_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27872629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872650, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872656, 'pht': 3726}}" where mtr_portfolio_id = 27872616 and dashboard_run_id = 2469857 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872805 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952854, 'mtr_portfolio_id': 27872805, 'created_at': datetime.datetime(2025, 10, 17, 10, 23, 5), 'result': '0.05071978763234181', 'result_long': None, 'result_double': None}] Qualite : 0.05071978763234181 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27872805 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872805_17-10-2025_10_23_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27872805 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_P27872805_17-10-2025_10_23_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872877, 'pht': 3726}}" where mtr_portfolio_id = 27872805 and dashboard_run_id = 2469857 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27872805 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16462922, 0.05071978763234181, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872805_17-10-2025_10_23_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872867, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872872, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872873, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872877, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27872807 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3952855, 'mtr_portfolio_id': 27872807, 'created_at': datetime.datetime(2025, 10, 17, 9, 58, 34), 'result': '0.11114385508006443', 'result_long': None, 'result_double': None}] Qualite : 0.11114385508006443 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27872807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872807_17-10-2025_09_58_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27872807 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_P27872807_17-10-2025_09_58_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872821, 'pht': 3726}}" where mtr_portfolio_id = 27872807 and dashboard_run_id = 2469857 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27872807 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16462924, 0.11114385508006443, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27872807_17-10-2025_09_58_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27872810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27872811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27872812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27872813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27872814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27872815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27872816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27872817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27872818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27872819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27872820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27872821, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27874123 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3953099, 'mtr_portfolio_id': 27874123, 'created_at': datetime.datetime(2025, 10, 17, 10, 33, 3), 'result': '0.03435365559906634', 'result_long': None, 'result_double': None}] Qualite : 0.03435365559906634 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27874123 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874123_17-10-2025_10_33_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27874123 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_P27874123_17-10-2025_10_33_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27874130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27874131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27874132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27874133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27874134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27874135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27874136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27874137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27874138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27874139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27874140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27874141, 'pht': 3726}}" where mtr_portfolio_id = 27874123 and dashboard_run_id = 2469857 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27874123 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16462926, 0.03435365559906634, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874123_17-10-2025_10_33_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27874130, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27874131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27874132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27874133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27874134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27874135, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27874136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27874137, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27874138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27874139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27874140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27874141, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27874825 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3953315, 'mtr_portfolio_id': 27874825, 'created_at': datetime.datetime(2025, 10, 17, 10, 52, 9), 'result': '0.049161845133898444', 'result_long': None, 'result_double': None}] Qualite : 0.049161845133898444 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27874825 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874825_17-10-2025_10_52_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27874825 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_P27874825_17-10-2025_10_52_12.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27874853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27874866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27874867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27874868, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27874869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27874870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27874871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27874872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27874885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27874886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27874887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27874888, 'pht': 3726}}" where mtr_portfolio_id = 27874825 and dashboard_run_id = 2469857 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27874825 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (16462933, 0.049161845133898444, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27874825_17-10-2025_10_52_12.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27874853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27874866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27874867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27874868, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27874869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27874870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27874871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27874872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27874885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27874886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27874887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27874888, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27875457 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 = 27875457 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 = 27875457 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27875457 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 = 27875457 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 = 27875457 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27875457_17-10-2025_10_55_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27875457 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_P27875457_17-10-2025_10_55_21.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27875516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27875521, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27875524, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27875528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27875533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27875538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27875544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27875549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27875555, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27875559, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27875564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27875568, 'pht': 3726}}" where mtr_portfolio_id = 27875457 and dashboard_run_id = 2469857 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27870991,27873027,27873029,27871053,27873031,27873033,27873035,27873037,27871396,27873039,27873041,27871526,27873044,27871534,27871543,27871551,27871561,27871572,27871576,27871581,27871590,27871598,27871605,27871619,27871638,27871656,27870700,27870807,27870679,27870695,27871137,27871563,27872616,27872805,27872807,27874123,27874825,27875457) result : ((1389765808,), (1389765811,), (1389765817,), (1389765830,), (1389765833,), (1389765834,), (1389765835,), (1389765836,), (1389765838,), (1389765844,), (1389765846,), (1389765848,), (1389765859,), (1389765862,), (1389765864,), (1389765865,), (1389765877,), (1389765880,), (1389765883,), (1389765885,), (1389765887,), (1389765889,), (1389765898,), (1389765903,), (1389765906,), (1389765910,), (1389765919,), (1389765922,), (1389765925,), (1389765928,), (1389765930,), (1389765933,), (1389765940,), (1389765943,), (1389765947,), (1389765962,), (1389765964,), (1389765967,), (1389765970,), (1389765973,), (1389765975,), (1389765993,), (1389765996,), (1389766000,), (1389766001,), (1389766002,), (1389766019,), (1389766023,), (1389766027,), (1389766031,), (1389766034,), (1389766037,), (1389766048,), (1389766051,), (1389766057,), (1389766060,), (1389766063,), (1389766075,), (1389766077,), (1389766080,), (1389766084,), (1389766088,), (1389766090,), (1389766095,), (1389766097,), (1389766099,), (1389766102,), (1389766105,), (1389766109,), (1389766112,), (1389766115,), (1389766118,), (1389766124,), (1389766125,), (1389766126,), (1389766131,), (1389766134,), (1389766138,), (1389766153,), (1389766157,), (1389766159,), (1389766164,), (1389766203,), (1389766186,), (1389766188,), (1389766190,), (1389766194,), (1389766198,), (1389766212,), (1389766214,), (1389766215,), (1389766219,), (1389766233,), (1389766234,), (1389766236,), (1389766239,), (1389766243,), (1389766248,), (1389766281,), (1389766284,), (1389766287,), (1389766289,), (1389766292,), (1389766300,), (1389766302,), (1389766306,), (1389766308,), (1389766311,), (1389766315,), (1389766320,), (1389766323,), (1389766325,), (1389766331,), (1389766340,), (1389766346,), (1389766352,), (1389766357,), (1389766369,), (1389766374,), (1389766375,), (1389766380,), (1389766383,), (1389766390,), (1389766395,), (1389766406,), (1389766414,), (1389766416,), (1389766423,), (1389766430,), (1389766439,), (1389766446,), (1389766456,), (1389766470,), (1389766471,), (1389766476,), (1389766477,), (1389766489,), (1389766491,), (1389766492,), (1389766495,), (1389766496,), (1389766499,), (1389766505,), (1389766506,), (1389766511,), (1389766519,), (1389766523,), (1389766526,), (1389766531,), (1389766534,), (1389766535,), (1389766537,), (1389766542,), (1389766543,), (1389766547,), (1389766548,), (1389766551,), (1389766552,), (1389766556,), (1389766557,), (1389766561,), (1389766566,), (1389766569,), (1389766574,), (1389766582,), (1389766588,), (1389766596,), (1389766599,), (1389766604,), (1389766613,), (1389766624,), (1389766632,), (1389766640,), (1389766649,), (1389766661,), (1389766670,), (1389765082,), (1389765084,), (1389765085,), (1389765088,), (1389765091,), (1389765102,), (1389765105,), (1389765110,), (1389765113,), (1389765116,), (1389765118,), (1389765123,), (1389765125,), (1389765128,), (1389765134,), (1389765136,), (1389765142,), (1389765145,), (1389765147,), (1389765149,), (1389765156,), (1389765160,), (1389765163,), (1389765168,), (1389765172,), (1389765174,), (1389765182,), (1389765185,), (1389765187,), (1389765191,), (1389765205,), (1389765208,), (1389765211,), (1389765215,), (1389765218,), (1389765221,), (1389765233,), (1389765235,), (1389765239,), (1389765241,), (1389765255,), (1389765257,), (1389765260,), (1389765267,), (1389765270,), (1389765273,), (1389765284,), (1389765288,), (1389765289,), (1389765290,), (1389765292,), (1389765295,), (1389765302,), (1389765308,), (1389765317,), (1389765319,), (1389765322,), (1389765324,), (1389765326,), (1389765328,), (1389765335,), (1389765339,), (1389765342,), (1389765345,), (1389765347,), (1389765359,), (1389765363,), (1389765367,), (1389765371,), (1389765372,), (1389765375,), (1389765382,), (1389765385,), (1389765390,), (1389765393,), (1389765396,), (1389765400,), (1389765402,), (1389765404,), (1389765406,), (1389765415,), (1389765418,), (1389765429,), (1389765433,), (1389765435,), (1389765437,), (1389765463,), (1389765449,), (1389765454,), (1389765457,), (1389765461,), (1389765477,), (1389765481,), (1389765485,), (1389765487,), (1389765497,), (1389765499,), (1389765501,), (1389765505,), (1389765520,), (1389765523,), (1389765526,), (1389765529,), (1389765531,), (1389765534,), (1389765542,), (1389765544,), (1389765546,), (1389765549,), (1389765560,), (1389765564,), (1389765566,), (1389765571,), (1389765574,), (1389765576,), (1389765590,), (1389765593,), (1389765597,), (1389765601,), (1389765605,), (1389765607,), (1389765611,), (1389765614,), (1389765617,), (1389765620,), (1389765623,), (1389765625,), (1389765628,), (1389765631,), (1389765634,), (1389765640,), (1389765641,), (1389765642,), (1389765645,), (1389765647,), (1389765651,), (1389765663,), (1389765665,), (1389765667,), (1389765670,), (1389765686,), (1389765689,), (1389765692,), (1389765695,), (1389765698,), (1389765701,), (1389765717,), (1389765722,), (1389765725,), (1389765726,), (1389765743,), (1389765746,), (1389765748,), (1389765750,), (1389765751,), (1389765752,), (1389765764,), (1389765768,), (1389765772,), (1389765774,), (1389765786,), (1389765789,), (1389765792,), (1389765795,), (1389765798,), (1389765800,), (1389765820,), (1389765852,), (1389754273,), (1389754275,), (1389754277,), (1389754279,), (1389754283,), (1389754288,), (1389754291,), (1389754294,), (1389754322,), (1389754327,), (1389754332,), (1389754335,), (1389754339,), (1389754343,), (1389754348,), (1389754351,), (1389754353,), (1389754356,), (1389754358,), (1389754361,), (1389754389,), (1389754390,), (1389754393,), (1389754394,), (1389754396,), (1389754397,), (1389754400,), (1389754401,), (1389754404,), (1389754405,), (1389754409,), (1389754411,), (1389754414,), (1389754417,), (1389754420,), (1389754449,), (1389754450,), (1389754452,), (1389754453,), (1389754456,), (1389754457,), (1389754460,), (1389754461,), (1389754465,), (1389754466,), (1389754470,), (1389754473,), (1389754476,), (1389754479,), (1389754504,), (1389754593,), (1389754595,), (1389754596,), (1389754597,), (1389754601,), (1389754604,), (1389754607,), (1389754610,), (1389754614,), (1389754615,), (1389754638,), (1389754640,), (1389754642,), (1389754670,), (1389754673,), (1389754675,), (1389754687,), (1389755557,), (1389755560,), (1389755562,), (1389755563,), (1389755571,), (1389755575,), (1389755579,), (1389755582,), (1389755585,), (1389755587,), (1389755612,), (1389755614,), (1389755617,), (1389755621,), (1389755623,), (1389755625,), (1389755626,), (1389755629,), (1389755654,), (1389755658,), (1389755662,), (1389755666,), (1389755669,), (1389755673,), (1389755697,), (1389755701,), (1389755704,), (1389755712,), (1389755714,), (1389755715,), (1389755717,), (1389755719,), (1389755744,), (1389755747,), (1389755750,), (1389755753,), (1389755756,), (1389755758,), (1389755766,), (1389755769,), (1389755773,), (1389755777,), (1389755803,), (1389755806,), (1389755809,), (1389755812,), (1389755815,), (1389755841,), (1389755843,), (1389755847,), (1389755851,), (1389755855,), (1389755858,), (1389755887,), (1389755889,), (1389755891,), (1389755893,), (1389755911,), (1389755914,), (1389755918,), (1389755922,), (1389755926,), (1389755931,), (1389755935,), (1389756809,), (1389766630,), (1389766636,), (1389766645,), (1389766652,), (1389766658,), (1389766666,), (1389766673,), (1389766679,), (1389766683,), (1389766688,), (1389766689,), (1389766692,), (1389766698,), (1389766701,), (1389766705,), (1389766706,), (1389766710,), (1389766711,), (1389766717,), (1389766718,), (1389766719,), (1389766724,), (1389766725,), (1389766729,), (1389766730,), (1389766734,), (1389766738,), (1389766740,), (1389766743,), (1389766746,), (1389766747,), (1389766751,), (1389766752,), (1389766754,), (1389766761,), (1389766762,), (1389766763,), (1389766770,), (1389766771,), (1389766773,), (1389766774,), (1389766781,), (1389766784,), (1389766786,), (1389766797,), (1389766798,), (1389766801,), (1389766810,), (1389766811,), (1389766813,), (1389766817,), (1389766827,), (1389766831,), (1389766838,), (1389766843,), (1389766848,), (1389766852,), (1389766861,), (1389766867,), (1389766871,), (1389766876,), (1389766878,), (1389766885,), (1389766886,), (1389766893,), (1389766894,), (1389766904,), (1389766907,), (1389766908,), (1389766916,), (1389766919,), (1389766929,), (1389766934,), (1389766944,), (1389766954,), (1389766956,), (1389766971,), (1389766977,), (1389766988,), (1389767006,), (1389767023,), (1389767030,), (1389767044,), (1389767049,), (1389767063,), (1389767077,), (1389767090,), (1389767092,), (1389767106,), (1389767112,), (1389767136,), (1389767143,), (1389767169,), (1389767175,), (1389767190,), (1389767196,), (1389767210,), (1389767214,), (1389767223,), (1389767235,), (1389767244,), (1389767256,), (1389767280,), (1389767302,), (1389767325,), (1389767347,), (1389767369,), (1389767394,), (1389767407,), (1389767412,), (1389767413,), (1389767427,), (1389767434,), (1389767449,), (1389767454,), (1389767474,), (1389767477,), (1389767486,), (1389767493,), (1389767500,), (1389767508,), (1389767530,), (1389767537,), (1389767549,), (1389767558,), (1389767577,), (1389767585,), (1389767598,), (1389767606,), (1389767622,), (1389767629,), (1389767636,), (1389767645,), (1389767659,), (1389767669,), (1389767677,), (1389767682,), (1389767698,), (1389767707,), (1389767713,), (1389767741,), (1389767772,), (1389767775,), (1389767790,), (1389767803,), (1389767819,), (1389767851,), (1389767866,), (1389767875,), (1389767895,), (1389767924,), (1389767954,), (1389767962,), (1389767987,), (1389767994,), (1389768018,), (1389768026,), (1389768051,), (1389768058,), (1389768077,), (1389768088,), (1389768119,), (1389768135,), (1389768153,), (1389768165,), (1389768199,), (1389768205,), (1389768206,), (1389768207,), (1389768239,), (1389768244,), (1389768245,), (1389768275,), (1389768276,), (1389768289,), (1389768298,), (1389768309,), (1389768322,), (1389768350,), (1389768366,), (1389768396,), (1389768401,), (1389768423,), (1389768427,), (1389768453,), (1389768482,), (1389768492,), (1389768525,), (1389768548,), (1389768560,), (1389768576,), (1389768608,), (1389768610,), (1389768644,), (1389768675,), (1389768677,), (1389768719,), (1389768738,), (1389768755,), (1389768775,), (1389768787,), (1389768808,), (1389768819,), (1389768820,), (1389768852,), (1389768855,), (1389768888,), (1389768910,), (1389768941,), (1389776450,), (1389776455,), (1389776459,), (1389777045,), (1389777253,), (1389777256,), (1389777290,), (1389777301,), (1389777660,), (1389777674,), (1389777677,), (1389777679,), (1389777737,), (1389777771,), (1389777884,), (1389777887,), (1389777892,), (1389778484,), (1389778485,), (1389778489,), (1389778495,), (1389778497,), (1389778499,), (1389780127,), (1389780133,), (1389780184,), (1389780228,), (1389780231,), (1389780237,), (1389780243,), (1389781823,), (1389781888,), (1389781966,), (1389782216,), (1389782235,), (1389782242,), (1389782244,), (1389782248,), (1389782252,), (1389782255,), (1389758111,), (1389758114,), (1389758130,), (1389758132,), (1389758134,), (1389758137,), (1389758140,), (1389758143,), (1389758151,), (1389758154,), (1389758157,), (1389758160,), (1389758163,), (1389758174,), (1389758176,), (1389758179,), (1389758181,), (1389758184,), (1389758193,), (1389758194,), (1389758197,), (1389758215,), (1389758217,), (1389758219,), (1389758222,), (1389758224,), (1389758235,), (1389758236,), (1389758237,), (1389758241,), (1389758244,), (1389758247,), (1389758255,), (1389758257,), (1389758260,), (1389758273,), (1389758281,), (1389758284,), (1389758288,), (1389758291,), (1389758293,), (1389758298,), (1389758300,), (1389758303,), (1389758306,), (1389758319,), (1389758322,), (1389758324,), (1389758328,), (1389758331,), (1389758340,), (1389758342,), (1389758360,), (1389758363,), (1389758367,), (1389758369,), (1389758382,), (1389758386,), (1389758390,), (1389758393,), (1389758401,), (1389758403,), (1389758405,), (1389758409,), (1389758414,), (1389758435,), (1389759049,), (1389759052,), (1389759055,), (1389759058,), (1389759071,), (1389759073,), (1389759075,), (1389759079,), (1389759090,), (1389759093,), (1389759097,), (1389759101,), (1389759104,), (1389759112,), (1389759115,), (1389759118,), (1389759121,), (1389759123,), (1389759127,), (1389759135,), (1389759137,), (1389759141,), (1389759145,), (1389759154,), (1389759157,), (1389759161,), (1389759165,), (1389759168,), (1389759176,), (1389759179,), (1389759182,), (1389759185,), (1389759187,), (1389759198,), (1389759201,), (1389759204,), (1389759217,), (1389759220,), (1389759221,), (1389759224,), (1389759227,), (1389759239,), (1389759243,), (1389759248,), (1389759252,), (1389759256,), (1389759258,), (1389759262,), (1389759265,), (1389759268,), (1389759273,), (1389759283,), (1389759286,), (1389759289,), (1389759292,), (1389759295,), (1389759297,), (1389759308,), (1389759311,), (1389759315,), (1389759318,), (1389759328,), (1389759330,), (1389759334,), (1389759338,), (1389759341,), (1389759344,), (1389759353,), (1389759356,), (1389759359,), (1389759361,), (1389759364,), (1389759380,), (1389759686,), (1389759689,), (1389759692,), (1389759695,), (1389759698,), (1389759709,), (1389759713,), (1389759717,), (1389759719,), (1389759721,), (1389759725,), (1389759732,), (1389759734,), (1389759738,), (1389759741,), (1389759751,), (1389759754,), (1389759758,), (1389759762,), (1389759764,), (1389759776,), (1389759779,), (1389759782,), (1389759784,), (1389759785,), (1389759787,), (1389759798,), (1389759800,), (1389759801,), (1389759804,), (1389759818,), (1389759820,), (1389759823,), (1389759826,), (1389759828,), (1389759841,), (1389759844,), (1389759846,), (1389759847,), (1389759850,), (1389759865,), (1389759867,), (1389759870,), (1389759873,), (1389759885,), (1389759889,), (1389759892,), (1389759895,), (1389759900,), (1389759912,), (1389759914,), (1389759916,), (1389759919,), (1389759921,), (1389759924,), (1389759933,), (1389759934,), (1389759936,), (1389759952,), (1389759955,), (1389759959,), (1389759963,), (1389759966,), (1389759969,), (1389759976,), (1389759981,), (1389759986,), (1389759989,), (1389759995,), (1389759996,), (1389759999,), (1389760002,), (1389760004,), (1389760022,), (1389760010,), (1389760015,), (1389760020,), (1389760034,), (1389760037,), (1389760041,), (1389760045,), (1389760057,), (1389760061,), (1389760065,), (1389760070,), (1389760075,), (1389760085,), (1389760088,), (1389760092,), (1389760096,), (1389760099,), (1389760109,), (1389760112,), (1389760131,), (1389760135,), (1389760140,), (1389760145,), (1389760148,), (1389760159,), (1389760162,), (1389760165,), (1389760169,), (1389760173,), (1389760186,), (1389760190,), (1389760194,), (1389760198,), (1389760202,), (1389760203,), (1389760206,), (1389760207,), (1389760211,), (1389760218,), (1389760221,), (1389760224,), (1389760227,), (1389760229,), (1389760232,), (1389760247,), (1389760252,), (1389760256,), (1389760259,), (1389760262,), (1389761298,), (1389761317,), (1389761358,), (1389761373,), (1389761402,), (1389761405,), (1389761422,), (1389761425,), (1389761429,), (1389761433,), (1389761439,), (1389761442,), (1389761452,), (1389761455,), (1389761532,), (1389761535,), (1389761538,), (1389761559,), (1389761562,), (1389761567,), (1389761570,), (1389761572,), (1389761574,), (1389761582,), (1389761592,), (1389761597,), (1389761600,), (1389761603,), (1389761608,), (1389761612,), (1389761618,), (1389761753,), (1389761749,), (1389761751,), (1389761763,), (1389761771,), (1389761775,), (1389761779,), (1389761781,), (1389761792,), (1389761794,), (1389761797,), (1389761800,), (1389761801,), (1389761803,), (1389761818,), (1389761822,), (1389761826,), (1389761838,), (1389761842,), (1389761846,), (1389761850,), (1389761853,), (1389761855,), (1389761869,), (1389761872,), (1389761874,), (1389761875,), (1389761876,), (1389761878,), (1389761884,), (1389761887,), (1389761890,), (1389761892,), (1389761895,), (1389761897,), (1389761901,), (1389761904,), (1389761906,), (1389761908,), (1389761914,), (1389761918,), (1389761937,), (1389761941,), (1389761945,), (1389761947,), (1389761950,), (1389761953,), (1389761968,), (1389762008,), (1389767119,), (1389767187,), (1389767295,), (1389767385,), (1389767388,), (1389767463,), (1389767515,), (1389767579,), (1389767611,), (1389767655,), (1389767719,), (1389767754,), (1389767813,), (1389767842,), (1389767901,), (1389767926,), (1389767931,), (1389767959,), (1389768004,), (1389768038,), (1389768065,), (1389768100,), (1389768134,), (1389768136,), (1389768167,), (1389768173,), (1389768234,), (1389768264,), (1389768299,), (1389768331,), (1389768371,), (1389768402,), (1389768438,), (1389768462,), (1389768493,), (1389768514,), (1389768550,), (1389768583,), (1389768611,), (1389768645,), (1389768668,), (1389768703,), (1389768716,), (1389768751,), (1389768754,), (1389768788,), (1389768810,), (1389768849,), (1389768880,), (1389776421,), (1389776423,), (1389776445,), (1389761962,), (1389761965,), (1389761983,), (1389761986,), (1389761990,), (1389761993,), (1389761996,), (1389761999,), (1389762002,), (1389762004,), (1389762013,), (1389762172,), (1389762188,), (1389762192,), (1389762196,), (1389762199,), (1389762201,), (1389762208,), (1389762211,), (1389762243,), (1389762271,), (1389762229,), (1389762232,), (1389762236,), (1389762240,), (1389762255,), (1389762257,), (1389762259,), (1389762261,), (1389762263,), (1389762266,), (1389762270,), (1389762279,), (1389762281,), (1389762283,), (1389762286,), (1389762288,), (1389762290,), (1389762300,), (1389762304,), (1389762307,), (1389762310,), (1389762324,), (1389762327,), (1389762343,), (1389762346,), (1389762349,), (1389762353,), (1389762363,), (1389762366,), (1389762370,), (1389762373,), (1389762377,), (1389762379,), (1389762394,), (1389762397,), (1389762398,), (1389762410,), (1389762412,), (1389762416,), (1389762417,), (1389762420,), (1389762421,), (1389762433,), (1389762437,), (1389762441,), (1389762444,), (1389762447,), (1389762449,), (1389762460,), (1389762463,), (1389762467,), (1389762469,), (1389762471,), (1389762482,), (1389762484,), (1389762487,), (1389762490,), (1389762492,), (1389762494,), (1389762498,), (1389762500,), (1389762502,), (1389762506,), (1389762511,), (1389762518,), (1389762521,), (1389762523,), (1389762524,), (1389762525,), (1389762530,), (1389762534,), (1389762538,), (1389762543,), (1389762547,), (1389762553,), (1389762554,), (1389762557,), (1389762559,), (1389762583,), (1389762585,), (1389762665,), (1389762668,), (1389762671,), (1389762672,), (1389762673,), (1389762575,), (1389762577,), (1389762579,), (1389762581,), (1389762598,), (1389762599,), (1389762600,), (1389762603,), (1389762607,), (1389762611,), (1389762617,), (1389762618,), (1389762619,), (1389762621,), (1389762623,), (1389762627,), (1389762636,), (1389762639,), (1389762642,), (1389762644,), (1389762646,), (1389762647,), (1389762653,), (1389762655,), (1389762657,), (1389762661,), (1389762680,), (1389762682,), (1389762686,), (1389762689,), (1389762692,), (1389762701,), (1389762704,), (1389762707,), (1389762709,), (1389762710,), (1389762711,), (1389762716,), (1389762720,), (1389762722,), (1389762725,), (1389762727,), (1389762731,), (1389762734,), (1389762742,), (1389762746,), (1389762749,), (1389762751,), (1389762754,), (1389762758,), (1389762765,), (1389762767,), (1389762770,), (1389762774,), (1389762777,), (1389762780,), (1389762787,), (1389762790,), (1389762794,), (1389762798,), (1389762807,), (1389762810,), (1389762814,), (1389762817,), (1389762819,), (1389762822,), (1389762831,), (1389762835,), (1389762839,), (1389762849,), (1389762852,), (1389762856,), (1389762860,), (1389762870,), (1389762873,), (1389762876,), (1389762878,), (1389762881,), (1389762884,), (1389762902,), (1389762934,), (1389762893,), (1389762896,), (1389762899,), (1389762914,), (1389762916,), (1389762920,), (1389762924,), (1389762927,), (1389762930,), (1389762937,), (1389762939,), (1389762941,), (1389762944,), (1389762948,), (1389762951,), (1389762958,), (1389762961,), (1389762964,), (1389762967,), (1389762980,), (1389762984,), (1389762987,), (1389762995,), (1389762998,), (1389763003,), (1389763008,), (1389763011,), (1389763015,), (1389763021,), (1389763024,), (1389763028,), (1389763031,), (1389763033,), (1389763036,), (1389763043,), (1389763046,), (1389763049,), (1389763053,), (1389763063,), (1389763066,), (1389763069,), (1389763073,), (1389763077,), (1389763080,), (1389763090,), (1389763094,), (1389763098,), (1389763103,), (1389763107,), (1389763109,), (1389763115,), (1389763118,), (1389763121,), (1389763125,), (1389763138,), (1389763141,), (1389763144,), (1389763145,), (1389763148,), (1389763151,), (1389763153,), (1389763155,), (1389763157,), (1389763161,), (1389763168,), (1389763171,), (1389763174,), (1389763176,), (1389763186,), (1389763190,), (1389763194,), (1389763197,), (1389763200,), (1389763203,), (1389763212,), (1389763215,), (1389763217,), (1389763221,), (1389763226,), (1389763228,), (1389763245,), (1389763240,), (1389763242,), (1389763265,), (1389763267,), (1389763270,), (1389763274,), (1389763278,), (1389763281,), (1389763289,), (1389763291,), (1389763293,), (1389763296,), (1389763297,), (1389763310,), (1389763313,), (1389763315,), (1389763318,), (1389763333,), (1389763334,), (1389763336,), (1389763340,), (1389763343,), (1389763346,), (1389763354,), (1389763355,), (1389763357,), (1389763362,), (1389763378,), (1389763380,), (1389763382,), (1389763385,), (1389763388,), (1389763390,), (1389763396,), (1389763399,), (1389763402,), (1389763406,), (1389763411,), (1389763412,), (1389763413,), (1389763415,), (1389763420,), (1389763425,), (1389763435,), (1389763440,), (1389763442,), (1389763457,), (1389763459,), (1389763460,), (1389763463,), (1389763477,), (1389763481,), (1389763485,), (1389763489,), (1389763491,), (1389763505,), (1389763508,), (1389763510,), (1389763511,), (1389763513,), (1389763528,), (1389763530,), (1389763534,), (1389763538,), (1389763540,), (1389763551,), (1389763554,), (1389763556,), (1389763558,), (1389763562,), (1389763563,), (1389763575,), (1389763577,), (1389763580,), (1389763583,), (1389763584,), (1389763611,), (1389763653,), (1389763600,), (1389763602,), (1389763606,), (1389763608,), (1389763609,), (1389763624,), (1389763626,), (1389763628,), (1389763631,), (1389763632,), (1389763634,), (1389763639,), (1389763642,), (1389763646,), (1389763650,), (1389763654,), (1389763656,), (1389763659,), (1389763662,), (1389763666,), (1389763677,), (1389763680,), (1389763681,), (1389763682,), (1389763684,), (1389763686,), (1389763699,), (1389763700,), (1389763703,), (1389763705,), (1389763721,), (1389763725,), (1389763734,), (1389763735,), (1389763737,), (1389763740,), (1389763750,), (1389763754,), (1389763756,), (1389763758,), (1389763760,), (1389763762,), (1389763772,), (1389763774,), (1389763775,), (1389763788,), (1389763791,), (1389763793,), (1389763795,), (1389763797,), (1389763800,), (1389763811,), (1389763815,), (1389763818,), (1389763822,), (1389763834,), (1389763837,), (1389763841,), (1389763844,), (1389763846,), (1389763849,), (1389763857,), (1389763859,), (1389763865,), (1389763867,), (1389763870,), (1389763874,), (1389763878,), (1389763880,), (1389763882,), (1389763885,), (1389763893,), (1389763895,), (1389763898,), (1389763899,), (1389763902,), (1389763919,), (1389763924,), (1389763927,), (1389763932,), (1389763936,), (1389763943,), (1389763945,), (1389763948,), (1389763951,), (1389763985,), (1389763964,), (1389763968,), (1389763971,), (1389763977,), (1389763981,), (1389763997,), (1389763999,), (1389764002,), (1389764006,), (1389764018,), (1389764021,), (1389764025,), (1389764029,), (1389764032,), (1389764034,), (1389764043,), (1389764048,), (1389764052,), (1389764055,), (1389764073,), (1389764076,), (1389764079,), (1389764082,), (1389764084,), (1389764088,), (1389764101,), (1389764103,), (1389764105,), (1389764108,), (1389764112,), (1389764126,), (1389764129,), (1389764133,), (1389764137,), (1389764141,), (1389764143,), (1389764145,), (1389764146,), (1389764147,), (1389764155,), (1389764159,), (1389764163,), (1389764167,), (1389764170,), (1389764171,), (1389764181,), (1389764187,), (1389764191,), (1389764196,), (1389764200,), (1389764201,), (1389764223,), (1389764226,), (1389764230,), (1389764233,), (1389764236,), (1389764239,), (1389764241,), (1389764243,), (1389764246,), (1389764252,), (1389764254,), (1389764257,), (1389764261,), (1389764266,), (1389764269,), (1389764272,), (1389764276,), (1389764280,), (1389764282,), (1389764290,), (1389764294,), (1389764298,), (1389764302,), (1389764304,), (1389764312,), (1389764315,), (1389764319,), (1389764323,), (1389764352,), (1389764392,), (1389764334,), (1389764338,), (1389764342,), (1389764345,), (1389764349,), (1389764361,), (1389764365,), (1389764369,), (1389764373,), (1389764375,), (1389764376,), (1389764380,), (1389764384,), (1389764390,), (1389764397,), (1389764401,), (1389764403,), (1389764406,), (1389764409,), (1389764414,), (1389764421,), (1389764425,), (1389764429,), (1389764431,), (1389764437,), (1389764441,), (1389764445,), (1389764448,), (1389764451,), (1389764454,), (1389764463,), (1389764467,), (1389764471,), (1389764475,), (1389764485,), (1389764489,), (1389764493,), (1389764496,), (1389764498,), (1389764500,), (1389764510,), (1389764512,), (1389764516,), (1389764519,), (1389764533,), (1389764535,), (1389764537,), (1389764541,), (1389764544,), (1389764548,), (1389764555,), (1389764558,), (1389764562,), (1389764567,), (1389764580,), (1389764583,), (1389764586,), (1389764591,), (1389764595,), (1389764599,), (1389764612,), (1389764616,), (1389764618,), (1389764623,), (1389764627,), (1389764630,), (1389764635,), (1389764637,), (1389764639,), (1389764641,), (1389764647,), (1389764648,), (1389764651,), (1389764652,), (1389764656,), (1389764657,), (1389764661,), (1389764662,), (1389764665,), (1389764666,), (1389764668,), (1389764669,), (1389764677,), (1389764680,), (1389764684,), (1389764687,), (1389764699,), (1389764705,), (1389764709,), (1389764712,), (1389764715,), (1389764717,), (1389764740,), (1389764728,), (1389764736,), (1389764738,), (1389764753,), (1389764756,), (1389764759,), (1389764762,), (1389764764,), (1389764766,), (1389764775,), (1389764778,), (1389764781,), (1389764797,), (1389764801,), (1389764806,), (1389764810,), (1389764812,), (1389764813,), (1389764824,), (1389764827,), (1389764830,), (1389764832,), (1389764843,), (1389764845,), (1389764848,), (1389764850,), (1389764854,), (1389764856,), (1389764869,), (1389764873,), (1389764876,), (1389764879,), (1389764881,), (1389764883,), (1389764888,), (1389764891,), (1389764895,), (1389764897,), (1389764899,), (1389764901,), (1389764904,), (1389764907,), (1389764910,), (1389764914,), (1389764918,), (1389764928,), (1389764931,), (1389764934,), (1389764938,), (1389764941,), (1389764949,), (1389764952,), (1389764954,), (1389764958,), (1389764962,), (1389764964,), (1389764971,), (1389764973,), (1389764976,), (1389764979,), (1389764993,), (1389764995,), (1389764998,), (1389765001,), (1389765004,), (1389765006,), (1389765017,), (1389765019,), (1389765021,), (1389765023,), (1389765036,), (1389765039,), (1389765041,), (1389765045,), (1389765048,), (1389765060,), (1389765063,), (1389765064,), (1389765067,), (1389765094,), (1389765131,), (1389768268,), (1389768344,), (1389768413,), (1389768463,), (1389768521,), (1389768574,), (1389768634,), (1389768674,), (1389768715,), (1389768774,), (1389776418,), (1389768811,), (1389768812,), (1389768847,), (1389768848,), (1389768878,), (1389768881,), (1389768911,), (1389768914,), (1389768942,), (1389768950,), (1389768975,), (1389768981,), (1389770304,), (1389770312,), (1389770320,), (1389770322,), (1389770325,), (1389770773,), (1389770785,), (1389770994,), (1389772012,), (1389772015,), (1389772017,), (1389772202,), (1389772209,), (1389772214,), (1389772218,), (1389772221,), (1389772226,), (1389772865,), (1389773027,), (1389773168,), (1389773206,), (1389773244,), (1389773261,), (1389773265,), (1389773281,), (1389773282,), (1389773328,), (1389773677,), (1389773827,), (1389773842,), (1389773853,), (1389773857,), (1389773862,), (1389773867,), (1389773870,), (1389774284,), (1389774308,), (1389774315,), (1389774318,), (1389774325,), (1389774332,), (1389774344,), (1389774367,), (1389774936,), (1389774939,), (1389775333,), (1389775335,), (1389775338,), (1389775354,), (1389775356,), (1389775358,), (1389775378,), (1389776002,), (1389776006,), (1389776014,), (1389776021,), (1389776022,), (1389776023,), (1389776320,), (1389776323,), (1389776413,), (1389776414,), (1389776415,), (1389769027,), (1389769029,), (1389769033,), (1389769040,), (1389769051,), (1389769053,), (1389769054,), (1389769056,), (1389769060,), (1389769064,), (1389769068,), (1389769072,), (1389769079,), (1389769080,), (1389769082,), (1389769085,), (1389769089,), (1389769093,), (1389769103,), (1389769106,), (1389769109,), (1389769114,), (1389769119,), (1389769123,), (1389769129,), (1389769133,), (1389769136,), (1389769137,), (1389769141,), (1389769144,), (1389769152,), (1389769157,), (1389769161,), (1389769164,), (1389769167,), (1389769170,), (1389769194,), (1389769195,), (1389769203,), (1389769204,), (1389769214,), (1389769225,), (1389769227,), (1389769228,), (1389769232,), (1389769233,), (1389769234,), (1389769235,), (1389769268,), (1389769273,), (1389769278,), (1389769283,), (1389769288,), (1389769290,), (1389769295,), (1389769298,), (1389769300,), (1389769303,), (1389769306,), (1389769308,), (1389769336,), (1389769346,), (1389769352,), (1389769359,), (1389769364,), (1389769371,), (1389769379,), (1389769383,), (1389769387,), (1389769391,), (1389769395,), (1389769399,), (1389769916,), (1389769920,), (1389770043,), (1389770048,), (1389770082,), (1389770084,), (1389770088,), (1389770141,), (1389770233,), (1389770236,), (1389770296,), (1389754680,), (1389754683,), (1389754685,), (1389754710,), (1389754711,), (1389754713,), (1389754715,), (1389754717,), (1389754745,), (1389754746,), (1389754748,), (1389754753,), (1389754757,), (1389754760,), (1389754798,), (1389754801,), (1389754803,), (1389754804,), (1389754829,), (1389754833,), (1389754837,), (1389754841,), (1389754844,), (1389754846,), (1389754849,), (1389754853,), (1389754857,), (1389754860,), (1389754883,), (1389754887,), (1389754890,), (1389754913,), (1389754916,), (1389754921,), (1389754925,), (1389754956,), (1389754959,), (1389754960,), (1389754961,), (1389754962,), (1389754968,), (1389754972,), (1389754975,), (1389754978,), (1389754998,), (1389755000,), (1389755003,), (1389755024,), (1389755025,), (1389755027,), (1389755028,), (1389755052,), (1389755055,), (1389755059,), (1389755061,), (1389755064,), (1389755070,), (1389755072,), (1389755073,), (1389755074,), (1389755077,), (1389755095,), (1389755098,), (1389755102,), (1389755109,), (1389755113,), (1389755117,), (1389755089,), (1389755091,), (1389755093,), (1389755127,), (1389755128,), (1389755131,), (1389755132,), (1389755134,), (1389755135,), (1389755137,), (1389755138,), (1389755140,), (1389755141,), (1389755144,), (1389755145,), (1389755150,), (1389755152,), (1389755155,), (1389755158,), (1389755190,), (1389755192,), (1389755195,), (1389755196,), (1389755200,), (1389755201,), (1389755205,), (1389755206,), (1389755210,), (1389755212,), (1389755217,), (1389755218,), (1389755221,), (1389755252,), (1389755255,), (1389755258,), (1389755261,), (1389755284,), (1389755286,), (1389755288,), (1389755291,), (1389755298,), (1389755303,), (1389755307,), (1389755330,), (1389755333,), (1389755337,), (1389755341,), (1389755369,), (1389755371,), (1389755373,), (1389755375,), (1389755378,), (1389755380,), (1389755389,), (1389755391,), (1389755423,), (1389755427,), (1389755431,), (1389755435,), (1389755437,), (1389755459,), (1389755462,), (1389755465,), (1389755468,), (1389755471,), (1389755475,), (1389755481,), (1389755484,), (1389755488,), (1389755515,), (1389755518,), (1389755519,), (1389755522,), (1389755524,), (1389755564,), (1389756807,), (1389756808,), (1389756814,), (1389756817,), (1389756820,), (1389756823,), (1389756825,), (1389756842,), (1389756844,), (1389756865,), (1389756868,), (1389756871,), (1389756874,), (1389756877,), (1389756879,), (1389756882,), (1389756884,), (1389756887,), (1389756890,), (1389756893,), (1389756912,), (1389756916,), (1389756918,), (1389756920,), (1389756923,), (1389756946,), (1389756948,), (1389756950,), (1389756952,), (1389756954,), (1389756958,), (1389756961,), (1389756963,), (1389756966,), (1389756987,), (1389756988,), (1389756989,), (1389756990,), (1389756991,), (1389756992,), (1389756994,), (1389756997,), (1389756998,), (1389757001,), (1389757007,), (1389757008,), (1389757011,), (1389757031,), (1389757034,), (1389757038,), (1389757041,), (1389757045,), (1389757047,), (1389757071,), (1389757074,), (1389757079,), (1389757082,), (1389757085,), (1389757089,), (1389757091,), (1389757094,), (1389757097,), (1389757123,), (1389757125,), (1389757126,), (1389757128,), (1389757130,), (1389757149,), (1389757137,), (1389757140,), (1389757142,), (1389757144,), (1389757147,), (1389757153,), (1389757156,), (1389757159,), (1389757181,), (1389757185,), (1389757188,), (1389757192,), (1389757195,), (1389757196,), (1389757216,), (1389757219,), (1389757222,), (1389757228,), (1389757231,), (1389757236,), (1389757238,), (1389757241,), (1389757266,), (1389757267,), (1389757270,), (1389757271,), (1389757274,), (1389757275,), (1389757278,), (1389757279,), (1389757281,), (1389757282,), (1389757283,), (1389757284,), (1389757289,), (1389757293,), (1389757295,), (1389757298,), (1389757300,), (1389757302,), (1389757326,), (1389757328,), (1389757330,), (1389757334,), (1389757337,), (1389757340,), (1389757342,), (1389757344,), (1389757345,), (1389757346,), (1389757347,), (1389757348,), (1389757349,), (1389757351,), (1389757352,), (1389757354,), (1389757355,), (1389757357,), (1389757360,), (1389757362,), (1389757364,), (1389757365,), (1389757369,), (1389757370,), (1389757373,), (1389757374,), (1389757376,), (1389757377,), (1389757380,), (1389757385,), (1389757389,), (1389757392,), (1389757395,), (1389757398,), (1389757400,), (1389757408,), (1389757412,), (1389757415,), (1389757418,), (1389757421,), (1389757425,), (1389757430,), (1389757432,), (1389757435,), (1389757459,), (1389757444,), (1389757448,), (1389757451,), (1389757454,), (1389757457,), (1389757482,), (1389757485,), (1389757488,), (1389757489,), (1389757491,), (1389757494,), (1389757504,), (1389757506,), (1389757524,), (1389757526,), (1389757528,), (1389757530,), (1389757534,), (1389757543,), (1389757546,), (1389757549,), (1389757552,), (1389757554,), (1389757555,), (1389757566,), (1389757569,), (1389757571,), (1389757574,), (1389757587,), (1389757590,), (1389757593,), (1389757595,), (1389757596,), (1389757598,), (1389757609,), (1389757610,), (1389757613,), (1389757616,), (1389757619,), (1389757621,), (1389757630,), (1389757633,), (1389757636,), (1389757651,), (1389757653,), (1389757656,), (1389757659,), (1389757671,), (1389757672,), (1389757674,), (1389757678,), (1389757680,), (1389757691,), (1389757695,), (1389757698,), (1389757701,), (1389757715,), (1389757717,), (1389757718,), (1389757720,), (1389757724,), (1389757739,), (1389757742,), (1389757746,), (1389757749,), (1389757751,), (1389757754,), (1389757762,), (1389757766,), (1389757770,), (1389757774,), (1389757777,), (1389757780,), (1389757785,), (1389757787,), (1389757789,), (1389757790,), (1389757791,), (1389757814,), (1389757815,), (1389757794,), (1389757795,), (1389757798,), (1389757800,), (1389757803,), (1389757804,), (1389757806,), (1389757808,), (1389757811,), (1389757812,), (1389757819,), (1389757823,), (1389757825,), (1389757827,), (1389757832,), (1389757838,), (1389757840,), (1389757843,), (1389757846,), (1389757849,), (1389757861,), (1389757864,), (1389757867,), (1389757870,), (1389757873,), (1389757876,), (1389757883,), (1389757885,), (1389757889,), (1389757893,), (1389757896,), (1389757899,), (1389757907,), (1389757911,), (1389757916,), (1389757919,), (1389757933,), (1389757937,), (1389757941,), (1389757944,), (1389757948,), (1389757951,), (1389757956,), (1389757958,), (1389757961,), (1389757964,), (1389757968,), (1389757976,), (1389757978,), (1389757982,), (1389757996,), (1389757999,), (1389758001,), (1389758004,), (1389758015,), (1389758017,), (1389758020,), (1389758023,), (1389758026,), (1389758033,), (1389758036,), (1389758040,), (1389758052,), (1389758055,), (1389758068,), (1389758070,), (1389758073,), (1389758076,), (1389758079,), (1389758082,), (1389758092,), (1389758094,), (1389758098,), (1389758101,), (1389758103,), (1389758117,), (1389758426,), (1389758428,), (1389758432,), (1389758444,), (1389758447,), (1389758450,), (1389758454,), (1389758458,), (1389758461,), (1389758467,), (1389758470,), (1389758473,), (1389758476,), (1389758479,), (1389758492,), (1389758494,), (1389758495,), (1389758498,), (1389758511,), (1389758513,), (1389758515,), (1389758531,), (1389758546,), (1389758547,), (1389758550,), (1389758554,), (1389758557,), (1389758560,), (1389758567,), (1389758569,), (1389758571,), (1389758588,), (1389758590,), (1389758593,), (1389758596,), (1389758598,), (1389758600,), (1389758610,), (1389758612,), (1389758614,), (1389758618,), (1389758630,), (1389758632,), (1389758635,), (1389758638,), (1389758641,), (1389758644,), (1389758648,), (1389758655,), (1389758658,), (1389758660,), (1389758663,), (1389758666,), (1389758672,), (1389758676,), (1389758679,), (1389758683,), (1389758685,), (1389758696,), (1389758700,), (1389758705,), (1389758709,), (1389758713,), (1389758718,), (1389758719,), (1389758722,), (1389758736,), (1389758726,), (1389758729,), (1389758733,), (1389758735,), (1389758748,), (1389758750,), (1389758753,), (1389758756,), (1389758759,), (1389758767,), (1389758770,), (1389758773,), (1389758777,), (1389758789,), (1389758792,), (1389758796,), (1389758799,), (1389758801,), (1389758803,), (1389758809,), (1389758812,), (1389758815,), (1389758818,), (1389758820,), (1389758829,), (1389758831,), (1389758834,), (1389758846,), (1389758849,), (1389758854,), (1389758859,), (1389758863,), (1389758869,), (1389758872,), (1389758876,), (1389758880,), (1389758883,), (1389758886,), (1389758892,), (1389758895,), (1389758897,), (1389758909,), (1389758911,), (1389758915,), (1389758918,), (1389758922,), (1389758925,), (1389758932,), (1389758936,), (1389758941,), (1389758946,), (1389758950,), (1389758951,), (1389758960,), (1389758963,), (1389758967,), (1389758970,), (1389758982,), (1389758984,), (1389758986,), (1389758989,), (1389758991,), (1389758993,), (1389759002,), (1389759006,), (1389759009,), (1389759011,), (1389759024,), (1389759027,), (1389759030,), (1389759033,), (1389759035,), (1389759038,), (1389759060,), (1389759377,), (1389759379,), (1389759395,), (1389759396,), (1389759397,), (1389759399,), (1389759402,), (1389759415,), (1389759431,), (1389759449,), (1389759452,), (1389759456,), (1389759459,), (1389759470,), (1389759472,), (1389759475,), (1389759478,), (1389759482,), (1389759490,), (1389759493,), (1389759497,), (1389759502,), (1389759512,), (1389759515,), (1389759520,), (1389759525,), (1389759535,), (1389759538,), (1389759541,), (1389759555,), (1389759558,), (1389759562,), (1389759564,), (1389759579,), (1389759583,), (1389759588,), (1389759591,), (1389759593,), (1389759604,), (1389759607,), (1389759610,), (1389759614,), (1389759618,), (1389759620,), (1389759628,), (1389759630,), (1389759631,), (1389759632,), (1389759633,), (1389759649,), (1389759663,), (1389759665,), (1389759668,), (1389759701,), (1389774925,), (1389774929,), (1389774933,), (1389775241,), (1389775243,), (1389775293,), (1389775310,), (1389775319,), (1389775322,), (1389775327,), (1389775329,), (1389775344,), (1389775348,), (1389775351,), (1389775366,), (1389775369,), (1389775373,), (1389775376,), (1389775377,), (1389776029,), (1389776032,), (1389776275,), (1389776287,), (1389776383,), (1389776384,), (1389776387,), (1389776390,), (1389776394,), (1389776405,), (1389776432,), (1389776435,), (1389776437,), (1389776440,), (1389776442,), (1389777271,), (1389777273,), (1389777276,), (1389777280,), (1389777309,), (1389777312,), (1389777314,), (1389777317,), (1389777319,), (1389777322,), (1389777852,), (1389777858,), (1389777874,), (1389778754,), (1389778803,), (1389778807,), (1389778810,), (1389778812,), (1389778815,), (1389778839,), (1389778842,), (1389778851,), (1389778858,), (1389778861,), (1389778863,), (1389778871,), (1389778880,), (1389778907,), (1389778911,), (1389778920,), (1389778948,), (1389778972,), (1389779426,), (1389779719,), (1389779722,), (1389779725,), (1389779744,), (1389779752,), (1389779757,), (1389779761,), (1389779763,), (1389779767,), (1389779770,), (1389780053,), (1389780058,), (1389780069,), (1389780221,), (1389780222,), (1389780208,), (1389780209,), (1389780211,), (1389780212,), (1389780214,), (1389780215,), (1389780269,), (1389780270,), (1389780331,), (1389780897,), (1389781023,), (1389781031,), (1389781063,), (1389781065,), (1389781071,), (1389781086,), (1389781088,), (1389781700,), (1389781759,), (1389781762,), (1389781767,), (1389782072,), (1389782074,), (1389782094,), (1389782105,), (1389782119,), (1389782121,), (1389782182,), (1389782184,), (1389782185,), (1389782196,), (1389782200,), (1389782262,), (1389782263,), (1389782265,), (1389782266,), (1389782268,), (1389782269,), (1389782277,), (1389782278,), (1389782280,), (1389782281,), (1389782284,), (1389782285,), (1389782308,), (1389782319,), (1389782338,), (1389782352,), (1389782363,), (1389782373,), (1389782404,), (1389782412,), (1389782429,), (1389782445,), (1389782466,), (1389782472,), (1389782482,), (1389782490,), (1389782498,), (1389782505,), (1389782507,), (1389782518,), (1389782525,), (1389782529,), (1389782535,), (1389782539,), (1389782542,), (1389782548,), (1389782552,), (1389782554,), (1389782560,), (1389782566,), (1389782569,), (1389782573,), (1389782580,), (1389782593,), (1389782612,), (1389782620,), (1389782625,), (1389782639,), (1389782642,), (1389782663,), (1389782665,), (1389782672,), (1389782691,), (1389782697,), (1389782711,), (1389782719,), (1389782730,), (1389782737,), (1389782748,), (1389782764,), (1389782822,), (1389782843,), (1389782742,), (1389782762,), (1389782782,), (1389782790,), (1389782800,), (1389782817,), (1389782844,), (1389782862,), (1389782864,), (1389782886,), (1389782887,), (1389782904,), (1389782905,), (1389782906,), (1389782907,), (1389782924,), (1389782929,), (1389782930,), (1389782944,), (1389782948,), (1389782955,), (1389782960,), (1389782971,), (1389782972,), (1389782979,), (1389782984,), (1389782989,), (1389782995,), (1389782999,), (1389783001,), (1389783010,), (1389783015,), (1389783018,), (1389783019,), (1389783034,), (1389783041,), (1389783051,), (1389783055,), (1389783063,), (1389783076,), (1389783085,), (1389783093,), (1389783094,), (1389783104,), (1389783112,), (1389783113,), (1389783128,), (1389783129,), (1389783142,), (1389783152,), (1389783153,), (1389783165,), (1389783177,), (1389783184,), (1389783193,), (1389783197,), (1389783209,), (1389783215,), (1389783232,), (1389783238,), (1389783255,), (1389783260,), (1389783266,), (1389783280,), (1389783288,), (1389783304,), (1389783316,), (1389783324,), (1389783325,), (1389783346,), (1389783349,), (1389783374,), (1389783375,), (1389783399,), (1389783421,), (1389783431,), (1389783447,), (1389783460,), (1389783484,), (1389783517,), (1389783549,), (1389783583,), (1389783585,), (1389783621,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'17102025': {'nb_upload': 11, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27872616]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1389776418] map_info['map_portfolio_photo'] : {27872616: [1389776418, 1389768774, 1389768715, 1389768674, 1389768634, 1389768574, 1389768521, 1389768463, 1389768413, 1389768344, 1389768268]} final : True mtd_id 4302 list_pids : [1389776418] Looping around the photos to save general results len do output : 1 /27872616Didn'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, '3952765') ('4302', '27872616', '1389776418', None, None, None, None, None, '3952765') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '27872616', 'None', None, None, None, None, '3952765'), ('4302', '27872616', '1389776418', None, None, None, None, None, '3952765')] time used for this insertion : 5.695301055908203 save_final save missing photos in datou_result : time spend for datou_step_exec : 129.2529640197754 time spend to save output : 5.695479869842529 total time spend for step 5 : 134.94844388961792 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 (3952765) 2.12user 1.89system 3:02.39elapsed 2%CPU (0avgtext+0avgdata 158460maxresident)k 552inputs+1760outputs (14major+62051minor)pagefaults 0swaps